[arch-commits] Commit in python-debtcollector/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 6 04:55:28 UTC 2019


    Date: Friday, September 6, 2019 @ 04:55:28
  Author: felixonmars
Revision: 508235

archrelease: copy trunk to community-any

Added:
  python-debtcollector/repos/community-any/PKGBUILD
    (from rev 508234, python-debtcollector/trunk/PKGBUILD)
Deleted:
  python-debtcollector/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  102 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 51 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-06 04:55:10 UTC (rev 508234)
+++ PKGBUILD	2019-09-06 04:55:28 UTC (rev 508235)
@@ -1,51 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-debtcollector
-pkgname=('python-debtcollector' 'python2-debtcollector')
-pkgver=1.21.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=('ff0288fcb9010d29a75c7a008d6d28fc19088d7a5934eef8b0d262609a1eee385394e4763dcefae1a4d2e30977fa6122a62cde5ecd618ee12ad4b8e68a98f16e')
-
-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
-  stestr run
-
-  cd "$srcdir"/debtcollector-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-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 508234, python-debtcollector/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-09-06 04:55:28 UTC (rev 508235)
@@ -0,0 +1,51 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-debtcollector
+pkgname=('python-debtcollector' 'python2-debtcollector')
+pkgver=1.22.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='https://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=('bbf6a6cfbf7bfac4e08181e5fd9d661f3c51d9a414ded9f6446c39589103bcddb212b1778bf2fd9bf47123df2481b4c59ef1318f106ca6a77a8c749d4f7d9169')
+
+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
+  stestr run
+
+  cd "$srcdir"/debtcollector-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+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