Commit 45dddefb authored by Thomas Boerger's avatar Thomas Boerger Committed by Jakub Jirutka
Browse files

testing/py-sqlparse: new aport

https://pypi.python.org/pypi/sqlparse
A non-validating SQL parser module for Python
parent aa5f5cd8
# Contributor: Thomas Boerger <thomas@webhippie.de>
# Maintainer: Thomas Boerger <thomas@webhippie.de>
pkgname=py-sqlparse
_pkgname=sqlparse
pkgver=0.1.19
pkgrel=0
pkgdesc="A non-validating SQL parser module for Python"
url="https://pypi.python.org/pypi/sqlparse"
arch="noarch"
license="BSD"
depends="python"
makedepends="python-dev py-setuptools"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python setup.py build || return 1
}
package() {
cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
md5sums="f200d8dea67b58bc15575bfa76e4e9dc py-sqlparse-0.1.19.tar.gz"
sha256sums="d896be1a1c7f24bffe08d7a64e6f0176b260e281c5f3685afe7826f8bada4ee8 py-sqlparse-0.1.19.tar.gz"
sha512sums="805e737c004eec721bc1fbdea0b89516de7172cb4431736817a2b5b44e2a1f0e5e23a09b07bcd9455679db9bf586f0baf9e3f0c50c389c4b80f116b662d407ed py-sqlparse-0.1.19.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment