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

Levente Polyak anthraxx at archlinux.org
Thu Sep 24 21:33:01 UTC 2020


    Date: Thursday, September 24, 2020 @ 21:33:01
  Author: anthraxx
Revision: 711930

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-24 21:32:57 UTC (rev 711929)
+++ PKGBUILD	2020-09-24 21:33:01 UTC (rev 711930)
@@ -1,66 +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>
-
-pkgbase=python-alembic
-pkgname=('python-alembic' 'python2-alembic')
-pkgver=1.4.2
-pkgrel=1
-pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
-url='https://bitbucket.org/zzzeek/alembic'
-arch=('any')
-license=('MIT')
-makedepends=('python-setuptools' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil'
-             'python2-setuptools' 'python2-mako' 'python2-sqlalchemy' 'python2-editor' 'python2-dateutil')
-checkdepends=('python-pytest' 'python-mock' 'python2-pytest' 'python2-mock')
-source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc})
-sha512sums=('82bdfe442c19033aa2b802ec49edd13ed265c00a2b5a048490a83ffa8e53587c56a90b64d554e746a9189923419c528482cb7a7c950c210e0de47b32fa7c270e'
-            'SKIP')
-b2sums=('5f4001a756aacbb4db509669bc0d4d7c59c38e2983c433283243efa97bf28a22e38bcfd28a4bc72573e8ab78d6590e78f4e12a5b9dd08b60cf5a84520b955056'
-        'SKIP')
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
-
-prepare() {
-  cp -a alembic-${pkgver}{,-py2}
-}
-
-build() {
-  echo 'Building python...'
-  (cd alembic-${pkgver}
-    python setup.py build
-  )
-  echo 'Building python2...'
-  (cd alembic-${pkgver}-py2
-    python2 setup.py build
-  )
-}
-
-check() {
-  echo 'Checking python...'
-  (cd alembic-${pkgver}
-    py.test
-  )
-  echo 'Checking python2...'
-  (cd alembic-${pkgver}-py2
-    py.test2
-  )
-}
-
-package_python-alembic() {
-  depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
-  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}"
-}
-
-package_python2-alembic() {
-  depends=('python2' 'python2-mako' 'python2-sqlalchemy' 'python2-editor' 'python2-dateutil')
-  cd alembic-${pkgver}-py2
-  python2 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}"
-  mv "${pkgdir}/usr/bin/alembic"{,2}
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-alembic/repos/community-any/PKGBUILD (from rev 711929, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-24 21:33:01 UTC (rev 711930)
@@ -0,0 +1,43 @@
+# 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=1
+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})
+sha512sums=('925d8957fd9008d041737a9e79ec8d7a4c5deba1976e980362d355a75348c1638d783d9d48234a5bc3b2dc3f2f09dcb281d0c80ae0f0c5bc32e176c3dfa05463'
+            'SKIP')
+b2sums=('d9c8b6d6aebce7a45194dd6c654f4a2627714a5c1f7cb7a1cf80ed8c3fe861e3bb7857811128787ddd6c093b4370784b40cddb385cfbd30f6134d537fe949d2d'
+        'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
+
+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:



More information about the arch-commits mailing list