diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-07-06 10:03:39 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-07-06 18:37:10 +0200 |
commit | 45dddefb084f4803cfea061d512fb6013ddf56b6 (patch) | |
tree | 2f1dab9cb09a8bdb03395461fcc2eabe891c2799 /testing/py-sqlparse/APKBUILD | |
parent | aa5f5cd879af6d1f8e5d0233c655244a87a6fd6f (diff) | |
download | aports-45dddefb084f4803cfea061d512fb6013ddf56b6.tar.bz2 aports-45dddefb084f4803cfea061d512fb6013ddf56b6.tar.xz |
testing/py-sqlparse: new aport
https://pypi.python.org/pypi/sqlparse
A non-validating SQL parser module for Python
Diffstat (limited to 'testing/py-sqlparse/APKBUILD')
-rw-r--r-- | testing/py-sqlparse/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-sqlparse/APKBUILD b/testing/py-sqlparse/APKBUILD new file mode 100644 index 0000000000..3fcffd189e --- /dev/null +++ b/testing/py-sqlparse/APKBUILD @@ -0,0 +1,28 @@ +# 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" |