[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Aug 30 03:59:08 UTC 2019
Date: Friday, August 30, 2019 @ 03:59:07
Author: felixonmars
Revision: 505131
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 505130, python-oslo-config/trunk/PKGBUILD)
Deleted:
python-oslo-config/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-30 03:58:56 UTC (rev 505130)
+++ PKGBUILD 2019-08-30 03:59:07 UTC (rev 505131)
@@ -1,65 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-config
-pkgname=(python-oslo-config python2-oslo-config)
-pkgver=6.11.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')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-netaddr' 'python2-netaddr'
- 'python-stevedore' 'python2-stevedore' 'python-debtcollector' 'python2-debtcollector'
- 'python-oslo-i18n' 'python2-oslo-i18n' 'python-rfc3986' 'python2-rfc3986'
- 'python-yaml' 'python2-yaml' 'python2-enum34')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-sphinx' 'python2-sphinx'
- 'python-requests-mock' 'python2-requests-mock' 'python-oslo-log' 'python2-oslo-log')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
-sha512sums=('04bdbdfaffc2250548eed3c0881b2bb0b8730861e95d8f95101d300485e6e993cfade4009179d6793dcadebc4e66056c111bd071dfade060c7ccc63f6ac20aec')
-
-prepare() {
- sed -i '/argparse/d' oslo.config-$pkgver/requirements.txt
-
- cp -a oslo.config-$pkgver{,-py2}
- find oslo.config-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/oslo.config-$pkgver
- python setup.py build
-
- cd "$srcdir"/oslo.config-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/oslo.config-$pkgver
- stestr run
-
- cd "$srcdir"/oslo.config-$pkgver-py2
- PYTHON=python2 stestr2 run
-}
-
-package_python-oslo-config() {
- depends=('python-six' 'python-netaddr' 'python-stevedore' 'python-debtcollector'
- 'python-oslo-i18n' 'python-rfc3986' 'python-yaml')
-
- cd "$srcdir"/oslo.config-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-oslo-config() {
- depends=('python2-six' 'python2-netaddr' 'python2-stevedore' 'python2-debtcollector'
- 'python2-oslo-i18n' 'python2-rfc3986' 'python2-yaml' 'python2-enum34')
-
- cd "$srcdir"/oslo.config-$pkgver-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
- mv "$pkgdir"/usr/bin/oslo-config-generator{,2}
- mv "$pkgdir"/usr/bin/oslo-config-validator{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslo-config/repos/community-any/PKGBUILD (from rev 505130, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-08-30 03:59:07 UTC (rev 505131)
@@ -0,0 +1,65 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-config
+pkgname=(python-oslo-config python2-oslo-config)
+pkgver=6.11.1
+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')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-netaddr' 'python2-netaddr'
+ 'python-stevedore' 'python2-stevedore' 'python-debtcollector' 'python2-debtcollector'
+ 'python-oslo-i18n' 'python2-oslo-i18n' 'python-rfc3986' 'python2-rfc3986'
+ 'python-yaml' 'python2-yaml' 'python2-enum34')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-sphinx' 'python2-sphinx'
+ 'python-requests-mock' 'python2-requests-mock' 'python-oslo-log' 'python2-oslo-log')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
+sha512sums=('ea01bcd83900f368f7df29c841ed17bfd8baad1d011da83287111d36ca45d7e00647ecd68c40e34d61f5d0bb07eeb4313c6fcb41efae102110593f81a7ea7242')
+
+prepare() {
+ sed -i '/argparse/d' oslo.config-$pkgver/requirements.txt
+
+ cp -a oslo.config-$pkgver{,-py2}
+ find oslo.config-$pkgver-py2 -name \*.py -exec sed -i '1s/python$/&2/' {} +
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/oslo.config-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/oslo.config-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/oslo.config-$pkgver
+ stestr run
+
+ cd "$srcdir"/oslo.config-$pkgver-py2
+ PYTHON=python2 stestr2 run
+}
+
+package_python-oslo-config() {
+ depends=('python-six' 'python-netaddr' 'python-stevedore' 'python-debtcollector'
+ 'python-oslo-i18n' 'python-rfc3986' 'python-yaml')
+
+ cd "$srcdir"/oslo.config-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-oslo-config() {
+ depends=('python2-six' 'python2-netaddr' 'python2-stevedore' 'python2-debtcollector'
+ 'python2-oslo-i18n' 'python2-rfc3986' 'python2-yaml' 'python2-enum34')
+
+ cd "$srcdir"/oslo.config-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ mv "$pkgdir"/usr/bin/oslo-config-generator{,2}
+ mv "$pkgdir"/usr/bin/oslo-config-validator{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list