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

Felix Yan felixonmars at archlinux.org
Wed Oct 25 06:52:42 UTC 2017


    Date: Wednesday, October 25, 2017 @ 06:52:41
  Author: felixonmars
Revision: 264169

archrelease: copy trunk to community-any

Added:
  python-oslo-config/repos/community-any/PKGBUILD
    (from rev 264168, 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-10-25 06:52:07 UTC (rev 264168)
+++ PKGBUILD	2017-10-25 06:52:41 UTC (rev 264169)
@@ -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.13.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')
-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=('c6f4861044d31b17b0f36623d04254a899c708bb749a1f949489f565cdb13b09e0c910025f14989a016ef8398d11f642fcbbc59073f4613db4f533128b6c0942')
-
-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 264168, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-10-25 06:52:41 UTC (rev 264169)
@@ -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.13.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')
+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=('d07abb6e9dbdd48ca4be0fe36314f0068ae5bf7d2764fe8f799abcb79e1d1916019a61efbd4b11dc5cb53dc4985b6755d5cc5e82af5c9c8f0b73ccaec4357d9a')
+
+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