From 45dddefb084f4803cfea061d512fb6013ddf56b6 Mon Sep 17 00:00:00 2001 From: Thomas Boerger Date: Wed, 6 Jul 2016 10:03:39 +0000 Subject: testing/py-sqlparse: new aport https://pypi.python.org/pypi/sqlparse A non-validating SQL parser module for Python --- testing/py-sqlparse/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 testing/py-sqlparse/APKBUILD (limited to 'testing') 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 +# Maintainer: Thomas Boerger +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" -- cgit v1.2.3