Date: Thursday, February 13, 2020 @ 17:37:05 Author: jelle Revision: 570667
archrelease: copy trunk to community-any Added: python-sqlparse/repos/community-any/PKGBUILD (from rev 570666, python-sqlparse/trunk/PKGBUILD) Deleted: python-sqlparse/repos/community-any/PKGBUILD ----------+ PKGBUILD | 55 ++++++++++++++++++++----------------------------------- 1 file changed, 20 insertions(+), 35 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-13 17:36:56 UTC (rev 570666) +++ PKGBUILD 2020-02-13 17:37:05 UTC (rev 570667) @@ -1,35 +0,0 @@ -# Maintainer: -# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com> - -pkgname=('python-sqlparse' 'python2-sqlparse') -pkgver=0.3.0 -pkgrel=3 -pkgdesc='Non-validating SQL parser for Python' -arch=('any') -url=https://github.com/andialbrecht/sqlparse -license=('BSD') -makedepends=('python-setuptools' 'python2-setuptools') -source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz") -sha256sums=('a75fddae009fba1d66786203c9dd3a842aa4415475c466d15484139117108474') - -prepare() { - cp -a sqlparse-$pkgver sqlparse2-$pkgver -} - -package_python-sqlparse() { - depends=('python') - - cd sqlparse-$pkgver/ - python setup.py install --prefix=/usr --root="$pkgdir" - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -package_python2-sqlparse() { - depends=('python2') - - cd sqlparse2-$pkgver/ - python2 setup.py install --prefix=/usr --root="$pkgdir" --optimize=1 - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - - mv "$pkgdir"/usr/bin/sqlformat{,2} -} Copied: python-sqlparse/repos/community-any/PKGBUILD (from rev 570666, python-sqlparse/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-13 17:37:05 UTC (rev 570667) @@ -0,0 +1,20 @@ +# Maintainer: +# Contributor: Jonathan Kotta <jpkotta AT gmail DOT com> + +pkgname=python-sqlparse +pkgver=0.3.0 +pkgrel=4 +pkgdesc='Non-validating SQL parser for Python' +arch=('any') +url=https://github.com/andialbrecht/sqlparse +license=('BSD') +depends=('python') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/andialbrecht/sqlparse/archive/$pkgver.tar.gz") +sha256sums=('a75fddae009fba1d66786203c9dd3a842aa4415475c466d15484139117108474') + +package() { + cd sqlparse-$pkgver/ + python setup.py install --prefix=/usr --root="$pkgdir" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}