Date: Friday, November 8, 2019 @ 19:15:57 Author: arojas Revision: 524651
archrelease: copy trunk to community-staging-any Added: python-ibm-db-sa/repos/community-staging-any/PKGBUILD (from rev 524650, python-ibm-db-sa/trunk/PKGBUILD) Deleted: python-ibm-db-sa/repos/community-staging-any/PKGBUILD ----------+ PKGBUILD | 81 +++++++++++++++++++++++-------------------------------------- 1 file changed, 31 insertions(+), 50 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-11-08 19:15:43 UTC (rev 524650) +++ PKGBUILD 2019-11-08 19:15:57 UTC (rev 524651) @@ -1,50 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Simon Sapin <simon dot sapin at exyr dot org> -# Contributor: Kyle Keen <keen...@gmail.com> - -pkgbase=python-ibm-db-sa -pkgname=(python-ibm-db-sa python2-ibm-db-sa) -pkgver=0.3.3 -pkgrel=4 -pkgdesc="SQLAlchemy support for IBM Data Servers" -url="https://pypi.python.org/pypi/ibm_db_sa" -license=('Apache') -arch=('any') -makedepends=('python-setuptools' 'python2-setuptools' 'python-sqlalchemy' 'python2-sqlalchemy') -checkdepends=('python-nose' 'python2-nose') -source=("https://pypi.io/packages/source/i/ibm_db_sa/ibm_db_sa-$pkgver.tar.gz") -sha512sums=('4b446235c4e43f9322efc4673af53aa70bc3177e72b401a26aaebd12f71db8c188bcbca6eac69c0bf1523cc0805210393ead89990d537d478a679f33d24e7587') - -prepare() { - cp -a ibm_db_sa{,-py2} -} - -build() { - cd "$srcdir"/ibm_db_sa - python setup.py build - - cd "$srcdir"/ibm_db_sa-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/ibm_db_sa - nosetests3 || warning "Tests failed" - - cd "$srcdir"/ibm_db_sa-py2 - nosetests2 || warning "Tests failed" -} - -package_python-ibm-db-sa() { - depends=('python-sqlalchemy') - - cd ibm_db_sa - python3 setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-ibm-db-sa() { - depends=('python2-sqlalchemy') - - cd ibm_db_sa-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} Copied: python-ibm-db-sa/repos/community-staging-any/PKGBUILD (from rev 524650, python-ibm-db-sa/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-11-08 19:15:57 UTC (rev 524651) @@ -0,0 +1,31 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Simon Sapin <simon dot sapin at exyr dot org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgname=python-ibm-db-sa +pkgver=0.3.5 +pkgrel=2 +pkgdesc="SQLAlchemy support for IBM Data Servers" +url="https://pypi.python.org/pypi/ibm_db_sa" +license=('Apache') +arch=('any') +depends=('python-sqlalchemy') +makedepends=('python-setuptools' 'python-sqlalchemy') +checkdepends=('python-nose' 'python-coverage') +source=("https://pypi.io/packages/source/i/ibm_db_sa/ibm_db_sa-$pkgver.tar.gz") +sha512sums=('de98ed3111f507a965aae562caec67620a4b5d19f18609274e6e5fc788ad14472deacd55e6ea5f4704c8a907ca2899eeda32c4b4d3c8e2b5083f74cfb53f5fa3') + +build() { + cd ibm_db_sa-$pkgver + python setup.py build +} + +check() { + cd ibm_db_sa-$pkgver + nosetests3 || warning "Tests failed" +} + +package() { + cd ibm_db_sa-$pkgver + python3 setup.py install --root="$pkgdir" --optimize=1 +}