Date: Wednesday, March 23, 2022 @ 08:19:25 Author: jelle Revision: 1171247
archrelease: copy trunk to community-x86_64 Added: python-sqlalchemy/repos/community-x86_64/PKGBUILD (from rev 1171246, python-sqlalchemy/trunk/PKGBUILD) Deleted: python-sqlalchemy/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-23 08:19:14 UTC (rev 1171246) +++ PKGBUILD 2022-03-23 08:19:25 UTC (rev 1171247) @@ -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.30 -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=('13b80779b30a10af7f173ad162d54d38d807e7372d381f7b96adf2f728ccf20bb6a86d8f8b06ec828e71d0b4aa22d022686d290ea6b03629564f0fb2a80eca80' - '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-x86_64/PKGBUILD (from rev 1171246, python-sqlalchemy/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-23 08:19:25 UTC (rev 1171247) @@ -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.32 +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=('e9bc125cb531182c97c9588bc7b87028ec334efe63d81d0bee0e7f74b0ce88ac183236298a05cdac42f3a0241b543528bf6f225d199e4bf6d8199caca63581bd' + '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: