[arch-commits] Commit in python-oslo-config/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Apr 12 04:42:01 UTC 2018
Date: Thursday, April 12, 2018 @ 04:42:00
Author: felixonmars
Revision: 315846
archrelease: copy trunk to community-any
Added:
python-oslo-config/repos/community-any/PKGBUILD
(from rev 315845, python-oslo-config/trunk/PKGBUILD)
Deleted:
python-oslo-config/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-04-12 04:41:32 UTC (rev 315845)
+++ PKGBUILD 2018-04-12 04:42:00 UTC (rev 315846)
@@ -1,64 +0,0 @@
-# $Id$
-# 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.0.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')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
-sha512sums=('251ffa8e818ca854a2813c255e163386a66938c8f8701d5b51c6b1d337e49e0ae2ad4959f703a1a2fa3354312b71abf20428405742d6a59fedf3d7de3d93c123')
-
-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
- python setup.py testr
-
- cd "$srcdir"/oslo.config-$pkgver-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-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}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslo-config/repos/community-any/PKGBUILD (from rev 315845, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-04-12 04:42:00 UTC (rev 315846)
@@ -0,0 +1,64 @@
+# $Id$
+# 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.0.2
+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')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
+sha512sums=('fc64be9c6da5b5c706305883a6c8c7efa79b7ffec9436ad2711a06605496d7acfec13bab7d417aad64b27409cb18c93b88bee15a7f98bcef76a51d17ca569680')
+
+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
+ python setup.py testr
+
+ cd "$srcdir"/oslo.config-$pkgver-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+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}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list