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

Felix Yan felixonmars at archlinux.org
Tue Apr 24 16:59:58 UTC 2018


    Date: Tuesday, April 24, 2018 @ 16:59:58
  Author: felixonmars
Revision: 317580

archrelease: copy trunk to community-any

Added:
  python-oslo-config/repos/community-any/PKGBUILD
    (from rev 317579, 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-24 16:59:34 UTC (rev 317579)
+++ PKGBUILD	2018-04-24 16:59:58 UTC (rev 317580)
@@ -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.1.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')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
-sha512sums=('265255ec0e043078e1a739ba60f23dbe775d3b89c2fdcef1a9068a2857cace3e8e003cdb81448d605238b9dbddc1ec4415eb732998d1b670a94ac02a982c8c83')
-
-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 317579, python-oslo-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-24 16:59:58 UTC (rev 317580)
@@ -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.2.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')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.config/archive/$pkgver.tar.gz")
+sha512sums=('5fa9e693d4354c3657ae2f2419596a9cb0e7ccc246a24fe281eb08506641042d2dcee8885a34da0f9f32d2643a07890c8bd73b8b28b95b69f4c31d09b8baf745')
+
+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