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

Felix Yan felixonmars at archlinux.org
Wed Jul 19 18:58:19 UTC 2017


    Date: Wednesday, July 19, 2017 @ 18:58:18
  Author: felixonmars
Revision: 245730

archrelease: copy trunk to community-any

Added:
  python-oslo-config/repos/community-any/PKGBUILD
    (from rev 245729, python-oslo-config/trunk/PKGBUILD)
Deleted:
  python-oslo-config/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-19 18:57:55 UTC (rev 245729)
+++ PKGBUILD	2017-07-19 18:58:18 UTC (rev 245730)
@@ -1,63 +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=4.9.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')
-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=('66ddd2b8a98276e0b22ab150430cd6fbe79368e1c0dc60b5a363b4f5669f546e8bec0443c2f6fb808465ce5c6fab283aa395928053a598d8fa2ca9849bab40d5')
-
-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')
-
-  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')
-
-  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 245729, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-19 18:58:18 UTC (rev 245730)
@@ -0,0 +1,63 @@
+# $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=4.10.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')
+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=('6ae573aff3e8eb2e1dbe5429a4d826f36879e81efff9081f54757d49b0a95cc2ffae70d01d9ac3c77f2d0defa6bc228bd29a67327e1c5348c6998d093a162b20')
+
+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')
+
+  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')
+
+  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