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

Levente Polyak anthraxx at archlinux.org
Sat May 15 22:31:24 UTC 2021


    Date: Saturday, May 15, 2021 @ 22:31:24
  Author: anthraxx
Revision: 934835

archrelease: copy trunk to community-staging-x86_64

Added:
  python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD
    (from rev 934834, python-sqlalchemy/trunk/PKGBUILD)
Deleted:
  python-sqlalchemy/repos/community-staging-x86_64/PKGBUILD
  python-sqlalchemy/repos/community-staging-x86_64/sqlite-3.30.patch

-------------------+
 PKGBUILD          |   86 ++++++++++++++++++++++++++--------------------------
 sqlite-3.30.patch |   50 ------------------------------
 2 files changed, 43 insertions(+), 93 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-15 22:31:20 UTC (rev 934834)
+++ PKGBUILD	2021-05-15 22:31:24 UTC (rev 934835)
@@ -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.11
-pkgrel=1
-arch=('x86_64')
-url="https://www.sqlalchemy.org/"
-license=('MIT')
-pkgdesc='Python SQL toolkit and Object Relational Mapper'
-depends=('python')
-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=('28d5da109d754183e7f1887c652c47cd7162afec285a44ed6bc51566dc40d43cdb8cd1794f93f31b2e085488025f04243613d500936c220aaab3aedb75fb6dcd'
-            '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 934834, python-sqlalchemy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-15 22:31:24 UTC (rev 934835)
@@ -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.15
+pkgrel=1
+arch=('x86_64')
+url="https://www.sqlalchemy.org/"
+license=('MIT')
+pkgdesc='Python SQL toolkit and Object Relational Mapper'
+depends=('python')
+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:

Deleted: sqlite-3.30.patch
===================================================================
--- sqlite-3.30.patch	2021-05-15 22:31:20 UTC (rev 934834)
+++ sqlite-3.30.patch	2021-05-15 22:31:24 UTC (rev 934835)
@@ -1,50 +0,0 @@
-From 8b35ba54ab31aab13a34c360a31d014da1f5c809 Mon Sep 17 00:00:00 2001
-From: Nils Philippsen <nils at tiptoe.de>
-Date: Thu, 17 Oct 2019 18:22:09 +0200
-Subject: [PATCH 1/2] Expect ordering NULLs to work on sqlite >= 3.30.
-
-Signed-off-by: Nils Philippsen <nils at tiptoe.de>
----
- test/requirements.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/test/requirements.py b/test/requirements.py
-index a0d984ef4..7dde12f56 100644
---- a/test/requirements.py
-+++ b/test/requirements.py
-@@ -772,7 +772,8 @@ def dbapi_lastrowid(self):
-     @property
-     def nullsordering(self):
-         """Target backends that support nulls ordering."""
--        return fails_on_everything_except("postgresql", "oracle", "firebird")
-+        return fails_on_everything_except("postgresql", "oracle", "firebird",
-+                                          "sqlite >= 3.30.0")
- 
-     @property
-     def reflects_pk_names(self):
-
-From e18534a9045786efdaf4963515222838c62e0300 Mon Sep 17 00:00:00 2001
-From: Nils Philippsen <nils at tiptoe.de>
-Date: Fri, 18 Oct 2019 10:09:16 +0200
-Subject: [PATCH 2/2] Skip nested aggregate tests on sqlite.
-
-This seems to have stopped working with SQLite 3.30.
-
-Signed-off-by: Nils Philippsen <nils at tiptoe.de>
----
- test/requirements.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/test/requirements.py b/test/requirements.py
-index 7dde12f56..388131cc9 100644
---- a/test/requirements.py
-+++ b/test/requirements.py
-@@ -788,7 +788,7 @@ def nested_aggregates(self):
-         """target database can select an aggregate from a subquery that's
-         also using an aggregate"""
- 
--        return skip_if(["mssql"])
-+        return skip_if(["mssql", "sqlite"])
- 
-     @property
-     def array_type(self):



More information about the arch-commits mailing list