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

Felix Yan felixonmars at archlinux.org
Tue Jan 22 10:25:24 UTC 2019


    Date: Tuesday, January 22, 2019 @ 10:25:22
  Author: felixonmars
Revision: 426911

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-22 10:25:03 UTC (rev 426910)
+++ PKGBUILD	2019-01-22 10:25:22 UTC (rev 426911)
@@ -1,66 +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.7.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-testrepository' 'python2-testrepository' '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=('0599d690ebee2d22f1ecde89b8df839ffb75df3a5b2450b0d3c7d57b282735ca1280aabfc87b515a77f4b25a245ffb3fb46fda63e8fd0d1bf65acdecd2667c89')
-
-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}
-  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 426910, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-22 10:25:22 UTC (rev 426911)
@@ -0,0 +1,66 @@
+# 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.8.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-testrepository' 'python2-testrepository' '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=('e4422a27c8141b937da19982d6dad48d14ea83f72686722d6905e71c77efcd9f89baaed729ba5230060bd34d514ebdea87264e748611a46af80c1e8529a3f0e8')
+
+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}
+  mv "$pkgdir"/usr/bin/oslo-config-validator{,2}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list