[arch-commits] Commit in python-debtcollector/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 11 05:12:53 UTC 2017
Date: Tuesday, July 11, 2017 @ 05:12:52
Author: felixonmars
Revision: 243867
archrelease: copy trunk to community-any
Added:
python-debtcollector/repos/community-any/PKGBUILD
(from rev 243866, python-debtcollector/trunk/PKGBUILD)
Deleted:
python-debtcollector/repos/community-any/PKGBUILD
----------+
PKGBUILD | 102 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 52 insertions(+), 50 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-11 05:12:34 UTC (rev 243866)
+++ PKGBUILD 2017-07-11 05:12:52 UTC (rev 243867)
@@ -1,50 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-debtcollector
-pkgname=('python-debtcollector' 'python2-debtcollector')
-pkgver=1.15.0
-pkgrel=1
-arch=('any')
-pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
-url='http://docs.openstack.org/developer/debtcollector'
-license=('Apache')
-makedepends=('git' 'python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr'
- 'python-babel' 'python2-babel' 'python-wrapt' 'python2-wrapt' 'python2-funcsigs')
-checkdepends=('python-oslotest' 'python2-oslotest')
-source=("git+https://git.openstack.org/openstack/debtcollector#tag=$pkgver")
-sha512sums=('SKIP')
-
-prepare() {
- cp -a debtcollector{,-py2}
-}
-
-build() {
- cd "$srcdir"/debtcollector
- python setup.py build
-
- cd "$srcdir"/debtcollector-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/debtcollector
- python setup.py testr
-
- cd "$srcdir"/debtcollector-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-package_python-debtcollector() {
- depends=('python-six' 'python-pbr' 'python-babel' 'python-wrapt')
-
- cd debtcollector
- python setup.py install --root "$pkgdir" --optimize=1
-}
-
-package_python2-debtcollector() {
- depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-wrapt' 'python2-funcsigs')
-
- cd debtcollector-py2
- python2 setup.py install --root "$pkgdir" --optimize=1
-}
Copied: python-debtcollector/repos/community-any/PKGBUILD (from rev 243866, python-debtcollector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-11 05:12:52 UTC (rev 243867)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-debtcollector
+pkgname=('python-debtcollector' 'python2-debtcollector')
+pkgver=1.16.0
+pkgrel=1
+arch=('any')
+pkgdesc='A collection of Python deprecation patterns and strategies that help you collect your technical debt in a non-destructive manner.'
+url='http://docs.openstack.org/developer/debtcollector'
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
+ 'python2-babel' 'python-wrapt' 'python2-wrapt' 'python2-funcsigs')
+checkdepends=('python-oslotest' 'python2-oslotest')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/debtcollector/archive/$pkgver.tar.gz")
+sha512sums=('b95162194d6c692e25f8ae7b1b6102460c522de1055c9f81530cce8e72674ddaf113eb5b0e8e2899eafa9e417e19b67f5fa28f814e52652a9c6e3c183fc0a1a8')
+
+prepare() {
+ cp -a debtcollector-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/debtcollector-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/debtcollector-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/debtcollector-$pkgver
+ python setup.py testr
+
+ cd "$srcdir"/debtcollector-$pkgver-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+package_python-debtcollector() {
+ depends=('python-six' 'python-pbr' 'python-babel' 'python-wrapt')
+
+ cd debtcollector-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-debtcollector() {
+ depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-wrapt' 'python2-funcsigs')
+
+ cd debtcollector-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list