[arch-commits] Commit in python-debtcollector/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Dec 4 16:43:41 UTC 2017
Date: Monday, December 4, 2017 @ 16:43:40
Author: felixonmars
Revision: 272131
archrelease: copy trunk to community-any
Added:
python-debtcollector/repos/community-any/PKGBUILD
(from rev 272130, python-debtcollector/trunk/PKGBUILD)
Deleted:
python-debtcollector/repos/community-any/PKGBUILD
----------+
PKGBUILD | 104 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 52 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-04 16:43:13 UTC (rev 272130)
+++ PKGBUILD 2017-12-04 16:43:40 UTC (rev 272131)
@@ -1,52 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-debtcollector
-pkgname=('python-debtcollector' 'python2-debtcollector')
-pkgver=1.18.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=('eba67c5f687af09d7652237095b7029b637ad72a6ae717a651800eec7483a25a866c84e855d3f5427542b11f2a0e06a685e535ff9fec73c25dfe94a3f9d37684')
-
-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
-}
Copied: python-debtcollector/repos/community-any/PKGBUILD (from rev 272130, python-debtcollector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-04 16:43:40 UTC (rev 272131)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-debtcollector
+pkgname=('python-debtcollector' 'python2-debtcollector')
+pkgver=1.19.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=('90e11584c22bc0947599fc5b7ecd44eae9cb82f6a26b32aa6a56a1698dde47ad1a00fe90d10dc46ddb816c19445a4563c22d2360ae1688c76ffb5695f6048b59')
+
+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