[arch-commits] Commit in python-sqlalchemy/repos/community-x86_64 (4 files)

Levente Polyak anthraxx at gemini.archlinux.org
Mon Aug 29 21:45:22 UTC 2022


    Date: Monday, August 29, 2022 @ 21:45:22
  Author: anthraxx
Revision: 1286327

archrelease: copy trunk to community-x86_64

Added:
  python-sqlalchemy/repos/community-x86_64/PKGBUILD
    (from rev 1286326, python-sqlalchemy/trunk/PKGBUILD)
  python-sqlalchemy/repos/community-x86_64/keys/
Deleted:
  python-sqlalchemy/repos/community-x86_64/PKGBUILD
  python-sqlalchemy/repos/community-x86_64/keys/

----------+
 PKGBUILD |   86 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-29 21:45:17 UTC (rev 1286326)
+++ PKGBUILD	2022-08-29 21:45:22 UTC (rev 1286327)
@@ -1,43 +0,0 @@
-# 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.39
-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=('a7c6b73250044289add492b2d7df9010f3b9a3a5126c8b3448d7339cf743c4be3f1c08d238107bb12c579b2bbd7d20e216e331d3ee10dcf79c0f23ca44d496af'
-            '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 1286326, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-29 21:45:22 UTC (rev 1286327)
@@ -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.40
+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' 'python-build' 'python-installer' 'python-wheel')
+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=('49b8ad8becd6fb2c43615890ef05554ce151f44cda20971a585ff5b325a6a91bb356a3c4320f4b1ac877a9eccdca9bec65cc9942bc5948d4143495b5c884f458'
+            '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 -m build --wheel --no-isolation
+}
+
+check() {
+  cd "$srcdir"/SQLAlchemy-$pkgver
+  PYTHONPATH=build/lib pytest
+}
+
+package() {
+  cd SQLAlchemy-$pkgver
+  python -m installer --destdir="$pkgdir" dist/*.whl
+  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