[arch-commits] Commit in python-sqlalchemy-migrate/repos/community-any (2 files)
Date: Thursday, February 13, 2020 @ 15:54:39 Author: felixonmars Revision: 570563 archrelease: copy trunk to community-any Added: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 570562, python-sqlalchemy-migrate/trunk/PKGBUILD) Deleted: python-sqlalchemy-migrate/repos/community-any/PKGBUILD --+ PKGBUILD | 99 + 1 file changed, 41 insertions(+), 58 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2020-02-13 15:54:25 UTC (rev 570562) +++ PKGBUILD2020-02-13 15:54:39 UTC (rev 570563) @@ -1,58 +0,0 @@ -# Maintainer: Felix Yan - -pkgbase=python-sqlalchemy-migrate -pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) -pkgver=0.13.0 -pkgrel=3 -pkgdesc="Database schema migration for SQLAlchemy" -arch=('any') -url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' - 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' - 'python2-sqlparse' 'python-tempita' 'python2-tempita') -checkdepends=('python-mock' 'python-testrepository' 'python-scripttest' 'python-ibm-db-sa') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://opendev.org/x/sqlalchemy-migrate/archive/$pkgver.tar.gz";) -sha512sums=('3ae1140cb17ea24db7423a8cb62d667620333c8ed559f6bfd6eecfb35f829c9f9c4918f41f8f723d89bcb3c51d6b803e5cbdc30cb485c8cdfc140caaf1d981f0') - -prepare() { - cp -a sqlalchemy-migrate{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/sqlalchemy-migrate - python setup.py build - - cd "$srcdir"/sqlalchemy-migrate-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sqlalchemy-migrate - python setup.py install --root="$PWD/tmp_install" --optimize=1 - PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr || warning "Tests failed" -} - -package_python-sqlalchemy-migrate() { - depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' - 'python-tempita') - - cd "$srcdir"/sqlalchemy-migrate - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-sqlalchemy-migrate() { - depends=('python2-six' 'python2-pbr' 'python2-sqlalchemy' 'python2-decorator' 'python2-sqlparse' - 'python2-tempita') - - cd "$srcdir"/sqlalchemy-migrate-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/migrate{,2} - mv "$pkgdir"/usr/bin/migrate-repository{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 570562, python-sqlalchemy-migrate/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2020-02-13 15:54:39 UTC (rev 570563) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan + +pkgname=python-sqlalchemy-migrate +pkgver=0.13.0 +pkgrel=4 +pkgdesc="Database schema migration for SQLAlchemy" +arch=('any') +url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; +license=('Apache') +depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' + 'python-tempita') +checkdepends=('python-mock' 'python-testrepository' 'python-scripttest' 'python-ibm-db-sa') +options=('!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://opendev.org/x/sqlalchemy-migrate/archive/$pkgver.tar.gz";) +sha512sums=('3ae1140cb17ea24db7423a8cb62d667620333c8ed559f6bfd6eecfb35f829c9f9c4918f41f8f723d89bcb3c51d6b803e5cbdc30cb485c8cdfc140caaf1d981f0') + +export PBR_VERSION=$pkgver + +prepare() { + cd sqlalchemy-migrate + # Perhaps related to new testtools + sed -i -e '/self.setUp/d' -e '/self.tearDown/d' migrate/tests/versioning/test_schema.py +} + +build() { + cd sqlalchemy-migrate + python setup.py build +} + +check() { + cd sqlalchemy-migrate + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr +} + +package() { + cd sqlalchemy-migrate + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et:
[arch-commits] Commit in python-sqlalchemy-migrate/repos/community-any (2 files)
Date: Wednesday, October 23, 2019 @ 13:01:03 Author: felixonmars Revision: 518719 archrelease: copy trunk to community-any Added: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 518718, python-sqlalchemy-migrate/trunk/PKGBUILD) Deleted: python-sqlalchemy-migrate/repos/community-any/PKGBUILD --+ PKGBUILD | 120 + 1 file changed, 58 insertions(+), 62 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-10-23 13:00:31 UTC (rev 518718) +++ PKGBUILD2019-10-23 13:01:03 UTC (rev 518719) @@ -1,62 +0,0 @@ -# Maintainer: Felix Yan - -pkgbase=python-sqlalchemy-migrate -pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) -pkgver=0.12.0 -pkgrel=1 -pkgdesc="Database schema migration for SQLAlchemy" -arch=('any') -url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' - 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' - 'python2-sqlparse' 'python-tempita' 'python2-tempita') -checkdepends=('python-mock' 'python2-mock' 'python-testrepository' 'python2-testrepository' - 'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa' - 'mysql-python' 'python2-psycopg2') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz";) -sha512sums=('95f3a705bd119ea27b17607c2adfd5f88b979640fe5ed1b309d3aea369b63feb205491e3a8a749a48d62c1b5430aa91658b82faf35f26bd8d95b6c15b2a69fde') - -prepare() { - cp -a sqlalchemy-migrate-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py build - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py testr || warning "Tests failed" - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - PYTHON=python2 python2 setup.py testr || warning "Tests failed" -} - -package_python-sqlalchemy-migrate() { - depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' - 'python-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-sqlalchemy-migrate() { - depends=('python2-six' 'python2-pbr' 'python2-sqlalchemy' 'python2-decorator' 'python2-sqlparse' - 'python2-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/migrate{,2} - mv "$pkgdir"/usr/bin/migrate-repository{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 518718, python-sqlalchemy-migrate/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-10-23 13:01:03 UTC (rev 518719) @@ -0,0 +1,58 @@ +# Maintainer: Felix Yan + +pkgbase=python-sqlalchemy-migrate +pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) +pkgver=0.13.0 +pkgrel=1 +pkgdesc="Database schema migration for SQLAlchemy" +arch=('any') +url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' + 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' + 'python2-sqlparse' 'python-tempita' 'python2-tempita') +checkdepends=('python-mock' 'python-testrepository' 'python-scripttest' 'python-ibm-db-sa') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://opendev.org/x/sqlalchemy-migrate/archive/$pkgver.tar.gz";) +sha512sums=('3ae1140cb17ea24db7423a8cb62d667620333c8ed559f6bfd6eecfb35f829c9f9c4918f41f8f723d89bcb3c51d6b803e5cbdc30cb485c8cdfc140caaf1d981f0') + +prepare() { + cp -a sqlalchemy-migrate{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/sqlalchemy-migrate + python setup.py build + + cd "$srcdir"/sqlalchemy-migrate-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/sqlalchemy-migrate + python setup.py install --root="$PWD/tmp_install" --optimize=1 + PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr || warning "Tests failed" +} + +package_python-sqlalchemy-migrate() { + depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' + 'python-tempita') + + cd "$srcdir"/sqlalchemy-migrate + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-sqlalchemy-migrate() { + depends=('python2-six' 'python2-pbr' 'py
[arch-commits] Commit in python-sqlalchemy-migrate/repos/community-any (2 files)
Date: Thursday, November 30, 2017 @ 08:47:40 Author: felixonmars Revision: 270800 archrelease: copy trunk to community-any Added: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 270799, python-sqlalchemy-migrate/trunk/PKGBUILD) Deleted: python-sqlalchemy-migrate/repos/community-any/PKGBUILD --+ PKGBUILD | 123 +++-- 1 file changed, 63 insertions(+), 60 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2017-11-30 08:47:22 UTC (rev 270799) +++ PKGBUILD2017-11-30 08:47:40 UTC (rev 270800) @@ -1,60 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan - -pkgbase=python-sqlalchemy-migrate -pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) -pkgver=0.11.0 -pkgrel=1 -pkgdesc="Database schema migration for SQLAlchemy" -arch=('any') -url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' - 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' - 'python2-sqlparse' 'python-tempita' 'python2-tempita') -checkdepends=('python-mock' 'python2-mock' 'python-testrepository' 'python2-testrepository' - 'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa' - 'mysql-python' 'python2-psycopg2') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz";) -sha512sums=('07c18d2f197f2bda2caa41672f7e3e278397f3b30d3cf3297200df89a051e9e46147dc1c95e20398ed575e7f3c1dd4c56f9e525ab47a960344f51d276e70639f') - -prepare() { - cp -a sqlalchemy-migrate-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py build - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py testr || warning "Tests failed" - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - PYTHON=python2 python2 setup.py testr || warning "Tests failed" -} - -package_python-sqlalchemy-migrate() { - depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' - 'python-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-sqlalchemy-migrate() { - depends=('python2-six' 'python2-pbr' 'python2-sqlalchemy' 'python2-decorator' 'python2-sqlparse' - 'python2-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 270799, python-sqlalchemy-migrate/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2017-11-30 08:47:40 UTC (rev 270800) @@ -0,0 +1,63 @@ +# $Id$ +# Maintainer: Felix Yan + +pkgbase=python-sqlalchemy-migrate +pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) +pkgver=0.11.0 +pkgrel=2 +pkgdesc="Database schema migration for SQLAlchemy" +arch=('any') +url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' + 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' + 'python2-sqlparse' 'python-tempita' 'python2-tempita') +checkdepends=('python-mock' 'python2-mock' 'python-testrepository' 'python2-testrepository' + 'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa' + 'mysql-python' 'python2-psycopg2') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz";) +sha512sums=('07c18d2f197f2bda2caa41672f7e3e278397f3b30d3cf3297200df89a051e9e46147dc1c95e20398ed575e7f3c1dd4c56f9e525ab47a960344f51d276e70639f') + +prepare() { + cp -a sqlalchemy-migrate-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/sqlalchemy-migrate-$pkgver + python setup.py build + + cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/sqlalchemy-migrate-$pkgver + python setup.py testr || warning "Tests failed" + + cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 + PYTHON=python2 python2 setup.py testr || warning "Tests failed" +} + +package_python-sqlalchemy-migrate() { + depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' + 'python-tempita') + + cd "$srcdir"/sqlalchemy-migrate-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_py
[arch-commits] Commit in python-sqlalchemy-migrate/repos/community-any (2 files)
Date: Thursday, January 24, 2019 @ 11:13:33 Author: felixonmars Revision: 427509 archrelease: copy trunk to community-any Added: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 427508, python-sqlalchemy-migrate/trunk/PKGBUILD) Deleted: python-sqlalchemy-migrate/repos/community-any/PKGBUILD --+ PKGBUILD | 130 + 1 file changed, 62 insertions(+), 68 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2019-01-24 11:13:14 UTC (rev 427508) +++ PKGBUILD2019-01-24 11:13:33 UTC (rev 427509) @@ -1,68 +0,0 @@ -# Maintainer: Felix Yan - -pkgbase=python-sqlalchemy-migrate -pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) -pkgver=0.11.0 -pkgrel=4 -pkgdesc="Database schema migration for SQLAlchemy" -arch=('any') -url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' - 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' - 'python2-sqlparse' 'python-tempita' 'python2-tempita') -checkdepends=('python-mock' 'python2-mock' 'python-testrepository' 'python2-testrepository' - 'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa' - 'mysql-python' 'python2-psycopg2') -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz"; - fix-compatibility-with-sqlite-3.26.patch::https://git.openstack.org/cgit/openstack/sqlalchemy-migrate/patch/?id=4a7f9c46cb2b4d500713e099b73b5fe4137158b2) -sha512sums=('07c18d2f197f2bda2caa41672f7e3e278397f3b30d3cf3297200df89a051e9e46147dc1c95e20398ed575e7f3c1dd4c56f9e525ab47a960344f51d276e70639f' - 'd4c2b58de39166706edbf6b1e5dceea8518b5b582f76733e5e3058e3e21390ac19e4e9edebc3fb655ee6ca5c26c38982efd4c3d5f20813468761e55ea6d0fa85') - -prepare() { - pushd sqlalchemy-migrate-$pkgver - patch -Np1 -i ../fix-compatibility-with-sqlite-3.26.patch - popd - - cp -a sqlalchemy-migrate-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py build - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py testr || warning "Tests failed" - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - PYTHON=python2 python2 setup.py testr || warning "Tests failed" -} - -package_python-sqlalchemy-migrate() { - depends=('python-six' 'python-pbr' 'python-sqlalchemy' 'python-decorator' 'python-sqlparse' - 'python-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-sqlalchemy-migrate() { - depends=('python2-six' 'python2-pbr' 'python2-sqlalchemy' 'python2-decorator' 'python2-sqlparse' - 'python2-tempita') - - cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/migrate{,2} - mv "$pkgdir"/usr/bin/migrate-repository{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-sqlalchemy-migrate/repos/community-any/PKGBUILD (from rev 427508, python-sqlalchemy-migrate/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2019-01-24 11:13:33 UTC (rev 427509) @@ -0,0 +1,62 @@ +# Maintainer: Felix Yan + +pkgbase=python-sqlalchemy-migrate +pkgname=(python-sqlalchemy-migrate python2-sqlalchemy-migrate) +pkgver=0.12.0 +pkgrel=1 +pkgdesc="Database schema migration for SQLAlchemy" +arch=('any') +url="https://pypi.python.org/pypi/sqlalchemy-migrate/$pkgver"; +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-sqlalchemy' + 'python2-sqlalchemy' 'python-decorator' 'python2-decorator' 'python-sqlparse' + 'python2-sqlparse' 'python-tempita' 'python2-tempita') +checkdepends=('python-mock' 'python2-mock' 'python-testrepository' 'python2-testrepository' + 'python-scripttest' 'python2-scripttest' 'python-ibm-db-sa' 'python2-ibm-db-sa' + 'mysql-python' 'python2-psycopg2') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/sqlalchemy-migrate/archive/$pkgver.tar.gz";) +sha512sums=('95f3a705bd119ea27b17607c2adfd5f88b979640fe5ed1b309d3aea369b63feb205491e3a8a749a48d62c1b5430aa91658b82faf35f26bd8d95b6c15b2a69fde') + +prepare() { + cp -a sqlalchemy-migrate-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/sqlalchemy-migrate-$pkgver + python setup.py build + + cd "$srcdir"/sqlalchemy-migrate-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"