[arch-commits] Commit in python-sqlalchemy/repos (3 files)
Jelle van der Waa
jelle at gemini.archlinux.org
Fri Oct 15 09:21:27 UTC 2021
Date: Friday, October 15, 2021 @ 09:21:27
Author: jelle
Revision: 1030253
db-move: moved python-sqlalchemy from [community-staging] to [community-testing] (x86_64)
Added:
python-sqlalchemy/repos/community-testing-x86_64/
python-sqlalchemy/repos/community-testing-x86_64/PKGBUILD
(from rev 1030252, python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD)
Deleted:
python-sqlalchemy/repos/community-staging-x86_64/
----------+
PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
Copied: python-sqlalchemy/repos/community-testing-x86_64/PKGBUILD (from rev 1030252, python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2021-10-15 09:21:27 UTC (rev 1030253)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Sébastien Luttringer <seblu at aur.archlinux.org>
+
+pkgname=python-sqlalchemy
+pkgver=1.4.25
+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=('254d02f36df655638b204bbc8dbe6d32ce66e9f4a072cdb78dc7433b4d91b9cc88a3ec7a279ff2c818e0b794cc69debcb38310fa4734d9c295d067ed3dc33c22'
+ '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:
More information about the arch-commits
mailing list