Date: Tuesday, August 31, 2021 @ 20:24:25 Author: jelle Revision: 1010223
archrelease: copy trunk to community-staging-x86_64 Added: python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD (from rev 1010222, python-sqlalchemy/trunk/PKGBUILD) Deleted: python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-31 20:24:17 UTC (rev 1010222) +++ PKGBUILD 2021-08-31 20:24:25 UTC (rev 1010223) @@ -1,43 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Angel Velasquez <an...@archlinux.org> -# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> - -pkgname=python-sqlalchemy -pkgver=1.4.15 -pkgrel=2 -arch=('x86_64') -url="https://www.sqlalchemy.org/" -license=('MIT') -pkgdesc='Python SQL toolkit and Object Relational Mapper' -depends=('python' 'python-greenlet') -optdepends=('python-psycopg2: connect to PostgreSQL database') -makedepends=('python-setuptools') -checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-mock') -source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc}) -validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') -sha512sums=('b9a640ccfb7caabb88c4891748699442073db2bea6d1e5a33eb508863616c94ddbf162b3ecd5e502daf20d798d20b8ef5b4b29ed679af9161e117a23862327c2' - 'SKIP') - -prepare() { - sed -i '/warnings.filterwarnings("error", category=DeprecationWarning)/a \ warnings.filterwarnings("ignore", category=DeprecationWarning, message="Creating a LegacyVersion has been deprecated and will be removed in the next major release")' \ - SQLAlchemy-$pkgver/lib/sqlalchemy/testing/warnings.py -} - -build() { - cd "$srcdir"/SQLAlchemy-$pkgver - python setup.py build -} - -check() { - cd "$srcdir"/SQLAlchemy-$pkgver - python setup.py pytest -} - -package() { - cd SQLAlchemy-$pkgver - python setup.py install --root="${pkgdir}" - install -D -m644 LICENSE \ - "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 ft=sh et: Copied: python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD (from rev 1010222, python-sqlalchemy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-31 20:24:25 UTC (rev 1010223) @@ -0,0 +1,43 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Angel Velasquez <an...@archlinux.org> +# Contributor: Sébastien Luttringer <se...@aur.archlinux.org> + +pkgname=python-sqlalchemy +pkgver=1.4.23 +pkgrel=1 +arch=('x86_64') +url="https://www.sqlalchemy.org/" +license=('MIT') +pkgdesc='Python SQL toolkit and Object Relational Mapper' +depends=('python' 'python-greenlet') +optdepends=('python-psycopg2: connect to PostgreSQL database') +makedepends=('python-setuptools') +checkdepends=('python-pytest-runner' 'python-pytest-xdist' 'python-mock') +source=("https://pypi.io/packages/source/S/SQLAlchemy/SQLAlchemy-$pkgver.tar.gz"{,.asc}) +validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') +sha512sums=('9e668b63487d0b9f9321a73bbf652aa82f31a90222429c4ba2f866edb0a313d8d10989febd456c87bdcde63ab595810232257fb011dce007538651426c1df0d1' + 'SKIP') + +prepare() { + sed -i '/warnings.filterwarnings("error", category=DeprecationWarning)/a \ warnings.filterwarnings("ignore", category=DeprecationWarning, message="Creating a LegacyVersion has been deprecated and will be removed in the next major release")' \ + SQLAlchemy-$pkgver/lib/sqlalchemy/testing/warnings.py +} + +build() { + cd "$srcdir"/SQLAlchemy-$pkgver + python setup.py build +} + +check() { + cd "$srcdir"/SQLAlchemy-$pkgver + python setup.py pytest +} + +package() { + cd SQLAlchemy-$pkgver + python setup.py install --root="${pkgdir}" + install -D -m644 LICENSE \ + "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 ft=sh et: