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

Felix Yan felixonmars at archlinux.org
Sat Jun 22 06:25:10 UTC 2019


    Date: Saturday, June 22, 2019 @ 06:25:09
  Author: felixonmars
Revision: 482650

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  124 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 62 insertions(+), 62 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-22 06:24:42 UTC (rev 482649)
+++ PKGBUILD	2019-06-22 06:25:09 UTC (rev 482650)
@@ -1,62 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Limao Luo <luolimao+AUR at gmail.com>
-
-pkgbase=python-pbr
-pkgname=(python-pbr python2-pbr)
-pkgver=5.3.0
-pkgrel=1
-pkgdesc="Python Build Reasonableness"
-arch=('any')
-url='https://pypi.python.org/pypi/pbr'
-license=('Apache')
-makedepends=('python2-setuptools' 'python-setuptools' 'git')
-checkdepends=('python-stestr' 'python2-stestr' 'python-testscenarios' 'python2-testscenarios'
-              'python-testresources' 'python2-testresources' 'python-testrepository'
-              'python2-testrepository' 'python-mock' 'python2-mock'
-              'python-virtualenv' 'python2-virtualenv' 'python-wheel' 'python2-wheel'
-              'python-sphinx' 'python2-sphinx')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
-sha512sums=('211dc9dc75a4afe1c88fb98f0c101beb0dbf748996dd1ad76e7859b374c169bc0c5931873222e6ef187c6a11e6cedf96e3dbce1f4e24c14babe9f215995a8dc1')
-
-prepare() {
-  cp -a pbr-$pkgver{,-py2}
-
-  find pbr-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/pbr-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/pbr-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/pbr-$pkgver
-  stestr run
-
-  cd "$srcdir"/pbr-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-package_python-pbr() {
-  depends=('python-setuptools')
-
-  cd pbr-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-pbr() {
-  depends=('python2-setuptools')
-
-  cd pbr-$pkgver-py2
-  python2 setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-  
-  mv "$pkgdir"/usr/bin/pbr{,2}
-}

Copied: python-pbr/repos/community-any/PKGBUILD (from rev 482649, python-pbr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-22 06:25:09 UTC (rev 482650)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgbase=python-pbr
+pkgname=(python-pbr python2-pbr)
+pkgver=5.3.1
+pkgrel=1
+pkgdesc="Python Build Reasonableness"
+arch=('any')
+url='https://pypi.python.org/pypi/pbr'
+license=('Apache')
+makedepends=('python2-setuptools' 'python-setuptools' 'git')
+checkdepends=('python-stestr' 'python2-stestr' 'python-testscenarios' 'python2-testscenarios'
+              'python-testresources' 'python2-testresources' 'python-testrepository'
+              'python2-testrepository' 'python-mock' 'python2-mock'
+              'python-virtualenv' 'python2-virtualenv' 'python-wheel' 'python2-wheel'
+              'python-sphinx' 'python2-sphinx')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
+sha512sums=('7702b54e190de0bb98fa5f3921f4fa56c1764ab0dfc8f3f2b53e977f54fabea2a8629823cff36ec0dac2509ddf246ebc92e0131a28612db142c8cb5ed4e21896')
+
+prepare() {
+  cp -a pbr-$pkgver{,-py2}
+
+  find pbr-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/pbr-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/pbr-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/pbr-$pkgver
+  stestr run
+
+  cd "$srcdir"/pbr-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-pbr() {
+  depends=('python-setuptools')
+
+  cd pbr-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-pbr() {
+  depends=('python2-setuptools')
+
+  cd pbr-$pkgver-py2
+  python2 setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  
+  mv "$pkgdir"/usr/bin/pbr{,2}
+}



More information about the arch-commits mailing list