[arch-commits] Commit in python-alembic/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Sat Mar 28 16:34:57 UTC 2020
Date: Saturday, March 28, 2020 @ 16:34:57
Author: anthraxx
Revision: 605307
archrelease: copy trunk to community-any
Added:
python-alembic/repos/community-any/PKGBUILD
(from rev 605306, python-alembic/trunk/PKGBUILD)
Deleted:
python-alembic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 132 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 66 insertions(+), 66 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-28 16:34:51 UTC (rev 605306)
+++ PKGBUILD 2020-03-28 16:34:57 UTC (rev 605307)
@@ -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.1
-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=('a3333c83533e8bba5fb41a1bf438806728db9597071da2afa8e8e4f246d7d5b13d081d1df7d4e8cd17a67ba2a62900808c324e2f27de7d556f9afebea5cb6ecb'
- 'SKIP')
-b2sums=('d7f42452b9fbb1fb7bcf63805db16988ea83bfdb33133f2d8f01d40b926c0176ed96625643d75421e38d1af72600f77824a4fa9d503e8a4108998b60913be0d9'
- '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 605306, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-28 16:34:57 UTC (rev 605307)
@@ -0,0 +1,66 @@
+# 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:
More information about the arch-commits
mailing list