[arch-commits] Commit in python-alembic/repos/community-staging-any (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Nov 2 21:45:35 UTC 2019
Date: Saturday, November 2, 2019 @ 21:45:34
Author: foutrelis
Revision: 522235
archrelease: copy trunk to community-staging-any
Added:
python-alembic/repos/community-staging-any/PKGBUILD
(from rev 522234, python-alembic/trunk/PKGBUILD)
Deleted:
python-alembic/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-02 21:45:30 UTC (rev 522234)
+++ PKGBUILD 2019-11-02 21:45:34 UTC (rev 522235)
@@ -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.1.0
-pkgrel=2
-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=('9ddd5b64048aba67c03effa8839eec2ba486295f86223f281c345ef95077c3dc205773a2a4367c5204ca7789e3f05235de9ed6bc0d200f51515bf3ce5ed8e447'
- '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-staging-any/PKGBUILD (from rev 522234, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-11-02 21:45:34 UTC (rev 522235)
@@ -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.1.0
+pkgrel=3
+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=('9ddd5b64048aba67c03effa8839eec2ba486295f86223f281c345ef95077c3dc205773a2a4367c5204ca7789e3f05235de9ed6bc0d200f51515bf3ce5ed8e447'
+ '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