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

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 14 14:48:33 UTC 2022


    Date: Monday, February 14, 2022 @ 14:48:32
  Author: felixonmars
Revision: 1133156

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   73 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 35 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-14 14:48:24 UTC (rev 1133155)
+++ PKGBUILD	2022-02-14 14:48:32 UTC (rev 1133156)
@@ -1,38 +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>
-
-pkgname=python-pbr
-pkgver=5.8.0
-pkgrel=2
-pkgdesc="Python Build Reasonableness"
-arch=('any')
-url='https://pypi.python.org/pypi/pbr'
-license=('Apache')
-depends=('python-setuptools')
-checkdepends=('python-stestr' 'python-testscenarios' 'python-testresources' 'python-testrepository'
-              'python-mock' 'python-virtualenv' 'python-wheel' 'python-sphinx' 'git')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
-sha512sums=('221ec7eca278d3f6694958f966c0819a97143fe87b95fd786607eb3b8cf825ce82df70a74808b9a5904827b7008ce094b52cf579641cc347cdb193881a07de45')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  sed -i 's/virtualenv.create_environment(path, clear=True)/virtualenv.cli_run([path, "--clear"])/' pbr-$pkgver/pbr/tests/test_packaging.py
-}
-
-build() {
-  cd "$srcdir"/pbr-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd pbr-$pkgver
-  stestr run
-}
-
-package() {
-  cd pbr-$pkgver
-  python setup.py install -O1 --root="$pkgdir"
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pbr/repos/community-any/PKGBUILD (from rev 1133155, python-pbr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-14 14:48:32 UTC (rev 1133156)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+
+pkgname=python-pbr
+pkgver=5.8.1
+pkgrel=1
+pkgdesc="Python Build Reasonableness"
+arch=('any')
+url='https://pypi.python.org/pypi/pbr'
+license=('Apache')
+depends=('python-setuptools')
+checkdepends=('python-stestr' 'python-testscenarios' 'python-testresources' 'python-testrepository'
+              'python-mock' 'python-virtualenv' 'python-wheel' 'python-sphinx' 'git')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack-dev/pbr/archive/$pkgver.tar.gz")
+sha512sums=('a2cd53ec9c1d3c529a651c762e71645097a616f83f1299b5509e41c57ceb42cd96537e92fbd12bd825c3cfac7e6995ecc1ff9938f7760d48e2488fe8b63e28e5')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd "$srcdir"/pbr-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd pbr-$pkgver
+  # TODO: find out this failure
+  stestr run --exclude-regex "pbr.tests.test_packaging.TestPackagingWheels.test_metadata_directory_has_pbr_json"
+}
+
+package() {
+  cd pbr-$pkgver
+  python setup.py install -O1 --root="$pkgdir"
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list