[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Aug 30 16:56:34 UTC 2022
Date: Tuesday, August 30, 2022 @ 16:56:34
Author: felixonmars
Revision: 1288762
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 1288761, python-oslo-config/trunk/PKGBUILD)
Deleted:
python-oslo-config/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 43 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-30 16:56:21 UTC (rev 1288761)
+++ PKGBUILD 2022-08-30 16:56:34 UTC (rev 1288762)
@@ -1,37 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-oslo-config
-pkgver=9.0.0
-pkgrel=1
-pkgdesc="parsing command line arguments and .ini style configuration files"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.config/$pkgver"
-license=('Apache')
-depends=('python-six' 'python-netaddr' 'python-stevedore' 'python-debtcollector'
- 'python-oslo-i18n' 'python-rfc3986' 'python-yaml')
-makedepends=('python-setuptools')
-checkdepends=('python-oslotest' 'python-sphinx' 'python-requests-mock' 'python-oslo-log')
-options=('!emptydirs')
-source=("https://github.com/openstack/oslo.config/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('f8de473d4693d18c145f360f59eeded2d4ad8e0d2fb6de9b6f394f87ced5673c2eaab501c674c5b6469dc5477250cb3877227ac987e33ab44acaa9fc4ade8421')
-
-export PBR_VERSION=$pkgver
-
-build() {
- cd oslo.config-$pkgver
- python setup.py build
-}
-
-check() {
- cd oslo.config-$pkgver
- # https://bugs.launchpad.net/oslo.config/+bug/1908934
- stestr run || echo "Tests failed"
-}
-
-package() {
- cd oslo.config-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslo-config/repos/community-any/PKGBUILD (from rev 1288761, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-30 16:56:34 UTC (rev 1288762)
@@ -0,0 +1,43 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-config
+pkgver=9.0.0
+pkgrel=2
+pkgdesc="parsing command line arguments and .ini style configuration files"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.config/$pkgver"
+license=('Apache')
+depends=('python-six' 'python-netaddr' 'python-stevedore' 'python-debtcollector'
+ 'python-oslo-i18n' 'python-rfc3986' 'python-yaml')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest' 'python-sphinx' 'python-requests-mock' 'python-oslo-log')
+options=('!emptydirs')
+source=("https://github.com/openstack/oslo.config/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ $pkgname-cliff-3.4.patch::https://opendev.org/openstack/oslo.config/commit/78098e6b18026ff9ef03a948b57348f02d42e13b.patch)
+sha512sums=('f8de473d4693d18c145f360f59eeded2d4ad8e0d2fb6de9b6f394f87ced5673c2eaab501c674c5b6469dc5477250cb3877227ac987e33ab44acaa9fc4ade8421'
+ '34d302cad1a6818773ee5093a20e41c18bfaac88a21d9b916f56f60eac566c9d3e9b18cc434920af079a0e7501e2ca51f7c56427e2eff2f90de911019639cd23')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ cd oslo.config-$pkgver
+ patch -p1 -i ..//$pkgname-cliff-3.4.patch
+}
+
+build() {
+ cd oslo.config-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd oslo.config-$pkgver
+ stestr run
+}
+
+package() {
+ cd oslo.config-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list