[arch-commits] Commit in python-alembic/repos/community-any (PKGBUILD PKGBUILD)

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


    Date: Sunday, May 9, 2021 @ 09:58:36
  Author: anthraxx
Revision: 929012

archrelease: copy trunk to community-any

Added:
  python-alembic/repos/community-any/PKGBUILD
    (from rev 929011, python-alembic/trunk/PKGBUILD)
Deleted:
  python-alembic/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++---------------------------------
 1 file changed, 45 insertions(+), 52 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-09 09:58:28 UTC (rev 929011)
+++ PKGBUILD	2021-05-09 09:58:36 UTC (rev 929012)
@@ -1,52 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: googol <googol at posteo.de>
-# Contributor: Oliver Mangold <o.mangold at gmail dot com>
-
-pkgname=python-alembic
-pkgver=1.4.3
-pkgrel=3
-pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
-url='https://bitbucket.org/zzzeek/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')
-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
-}
-
-build() {
-  echo 'Building python...'
-  (cd alembic-${pkgver}
-    python setup.py build
-  )
-}
-
-check() {
-  echo 'Checking python...'
-  (cd alembic-${pkgver}
-    py.test
-  )
-}
-
-package() {
-  cd alembic-${pkgver}
-  python setup.py install --root="${pkgdir}" --prefix=/usr -O1 --skip-build
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-alembic/repos/community-any/PKGBUILD (from rev 929011, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-09 09:58:36 UTC (rev 929012)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: googol <googol at posteo.de>
+# Contributor: Oliver Mangold <o.mangold at gmail dot com>
+
+pkgname=python-alembic
+pkgver=1.6.2
+pkgrel=1
+pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
+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})
+sha512sums=('d5b23812d3e65e9642f39e2596ab86773476a77959938f518438d7659c2da5436432fdc020a5fbda33fe866a047d9558f7a4c5eabe032a6d3f2e6d04ff7928e7'
+            'SKIP')
+b2sums=('0b61282987e974e81b1007d4a66620b1ac2393b175f91011d0d6c450af1038a9ea553f4a7c1906b2e463f7b95617a00629f337547788821b250373f0de18d0b7'
+        'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
+
+prepare() {
+  cd alembic-${pkgver}
+  # do not treat warnings as errors
+  sed 's|-p no:warnings||g' -i setup.cfg
+}
+
+build() {
+  cd alembic-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd alembic-${pkgver}
+  py.test
+}
+
+package() {
+  cd alembic-${pkgver}
+  python setup.py install --root="${pkgdir}" --prefix=/usr -O1 --skip-build
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list