[arch-commits] Commit in python-alembic/repos/community-any (PKGBUILD PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Mon Jan 14 23:47:58 UTC 2019
Date: Monday, January 14, 2019 @ 23:47:58
Author: anthraxx
Revision: 423101
archrelease: copy trunk to community-any
Added:
python-alembic/repos/community-any/PKGBUILD
(from rev 423100, python-alembic/trunk/PKGBUILD)
Deleted:
python-alembic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-01-14 23:47:51 UTC (rev 423100)
+++ PKGBUILD 2019-01-14 23:47:58 UTC (rev 423101)
@@ -1,64 +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.0.5
-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=('cfede823394d17aba94276ad5e759b35ff9e56ee908fce8fef54442c3fad871d0fa0e3f3f0121db98820ee085cf08e86d893e24b92086de894acc46f09450961'
- 'SKIP')
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
-
-prepare() {
- cp -a alembic-${pkgver}{,-py2}
-}
-
-build() {
- msg2 'Building python...'
- (cd alembic-${pkgver}
- python setup.py build
- )
- msg2 'Building python2...'
- (cd alembic-${pkgver}-py2
- python2 setup.py build
- )
-}
-
-check() {
- msg2 'Checking python...'
- (cd alembic-${pkgver}
- py.test
- )
- msg2 '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 423100, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-01-14 23:47:58 UTC (rev 423101)
@@ -0,0 +1,64 @@
+# 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.0.6
+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=('d7cd36c7d7a17b512e9d1faf03e54814c3a074298229e36d8f0849b9dff8ec33a01afd5164462bf8786036bfdd63c6b8932f95c3ffdfd62a3cc52e8d5438b80d'
+ 'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
+
+prepare() {
+ cp -a alembic-${pkgver}{,-py2}
+}
+
+build() {
+ msg2 'Building python...'
+ (cd alembic-${pkgver}
+ python setup.py build
+ )
+ msg2 'Building python2...'
+ (cd alembic-${pkgver}-py2
+ python2 setup.py build
+ )
+}
+
+check() {
+ msg2 'Checking python...'
+ (cd alembic-${pkgver}
+ py.test
+ )
+ msg2 '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