[arch-commits] Commit in python-alembic/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Sun May 9 09:58:29 UTC 2021


    Date: Sunday, May 9, 2021 @ 09:58:28
  Author: anthraxx
Revision: 929011

upgpkg: python-alembic 1.6.2-1

Modified:
  python-alembic/trunk/PKGBUILD

----------+
 PKGBUILD |   35 ++++++++++++++---------------------
 1 file changed, 14 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-09 09:52:14 UTC (rev 929010)
+++ PKGBUILD	2021-05-09 09:58:28 UTC (rev 929011)
@@ -3,43 +3,36 @@
 # Contributor: Oliver Mangold <o.mangold at gmail dot com>
 
 pkgname=python-alembic
-pkgver=1.4.3
-pkgrel=3
+pkgver=1.6.2
+pkgrel=1
 pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
-url='https://bitbucket.org/zzzeek/alembic'
+url='https://github.com/sqlalchemy/alembic'
 arch=('any')
 license=('MIT')
 depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
 makedepends=('python-setuptools' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
 checkdepends=('python-pytest' 'python-mock')
-source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc}
-        $pkgname-pytest6.patch::https://github.com/sqlalchemy/alembic/commit/869094097654.patch)
-sha512sums=('925d8957fd9008d041737a9e79ec8d7a4c5deba1976e980362d355a75348c1638d783d9d48234a5bc3b2dc3f2f09dcb281d0c80ae0f0c5bc32e176c3dfa05463'
-            'SKIP'
-            '9ca880e30f837821c7b237bd9e7db16606817d039434358e8648507ecd94b8431e5e229dc2b208803fae9c4f6b56307a0e69b5ded827658aeb6a1e49d62144cf')
-b2sums=('d9c8b6d6aebce7a45194dd6c654f4a2627714a5c1f7cb7a1cf80ed8c3fe861e3bb7857811128787ddd6c093b4370784b40cddb385cfbd30f6134d537fe949d2d'
-        'SKIP'
-        '6a7a579307a951492191f880419d3e3a7e15bbc1e0c419898aae8ce3e2c342552aa1d82509c48db295c0ddd891b51c34156f030e7a8986c3eebff56647989840')
+source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc})
+sha512sums=('d5b23812d3e65e9642f39e2596ab86773476a77959938f518438d7659c2da5436432fdc020a5fbda33fe866a047d9558f7a4c5eabe032a6d3f2e6d04ff7928e7'
+            'SKIP')
+b2sums=('0b61282987e974e81b1007d4a66620b1ac2393b175f91011d0d6c450af1038a9ea553f4a7c1906b2e463f7b95617a00629f337547788821b250373f0de18d0b7'
+        'SKIP')
 validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
 
 prepare() {
   cd alembic-${pkgver}
-  sed -n '/diff --git a\/alembic\/testing/,/elif/p' ../$pkgname-pytest6.patch |
-    patch -Np1
+  # do not treat warnings as errors
+  sed 's|-p no:warnings||g' -i setup.cfg
 }
 
 build() {
-  echo 'Building python...'
-  (cd alembic-${pkgver}
-    python setup.py build
-  )
+  cd alembic-${pkgver}
+  python setup.py build
 }
 
 check() {
-  echo 'Checking python...'
-  (cd alembic-${pkgver}
-    py.test
-  )
+  cd alembic-${pkgver}
+  py.test
 }
 
 package() {



More information about the arch-commits mailing list