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

Felix Yan felixonmars at archlinux.org
Tue Apr 24 17:12:30 UTC 2018


    Date: Tuesday, April 24, 2018 @ 17:12:30
  Author: felixonmars
Revision: 317596

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-24 17:12:05 UTC (rev 317595)
+++ PKGBUILD	2018-04-24 17:12:30 UTC (rev 317596)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-utils
-pkgname=(python-oslo-utils python2-oslo-utils)
-pkgver=3.36.0
-pkgrel=1
-pkgdesc="Oslo Utility library"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.utils/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-funcsigs'
-             'python-iso8601' 'python2-iso8601' 'python-oslo-i18n' 'python2-oslo-i18n'
-             'python2-monotonic' 'python-pytz' 'python2-pytz' 'python-netaddr' 'python2-netaddr'
-             'python-netifaces' 'python2-netifaces' 'python-debtcollector' 'python2-debtcollector')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-ddt' 'python2-ddt')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
-sha512sums=('e5ee7951e6fc4456f29bc2fbb83fef7337e4efb32213eccf9d1d4b40ffaa06564046142220d1fd6321163eac6d1e30455290644b2d62f2f9b5d4e55b92942050')
-
-prepare() {
-  cp -a oslo.utils-$pkgver{,-py2}
-
-  # Use python 3's standard monotonic function
-  sed -i '/monotonic/d' oslo.utils-$pkgver/requirements.txt
-  sed -i 's/from monotonic import monotonic/from time import monotonic/' oslo.utils-$pkgver/oslo_utils/timeutils.py
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/oslo.utils-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.utils-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/oslo.utils-$pkgver
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/oslo.utils-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-package_python-oslo-utils() {
-  depends=('python-six' 'python-pbr' 'python-iso8601' 'python-oslo-i18n' 'python-pytz'
-           'python-netaddr' 'python-netifaces' 'python-debtcollector')
-
-  cd "$srcdir"/oslo.utils-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-oslo-utils() {
-  depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-oslo-i18n' 'python2-monotonic'
-           'python2-pytz' 'python2-netaddr' 'python2-netifaces' 'python2-debtcollector'
-           'python2-funcsigs')
-
-  cd "$srcdir"/oslo.utils-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-oslo-utils/repos/community-any/PKGBUILD (from rev 317595, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-24 17:12:30 UTC (rev 317596)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-utils
+pkgname=(python-oslo-utils python2-oslo-utils)
+pkgver=3.36.1
+pkgrel=1
+pkgdesc="Oslo Utility library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.utils/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-funcsigs'
+             'python-iso8601' 'python2-iso8601' 'python-oslo-i18n' 'python2-oslo-i18n'
+             'python2-monotonic' 'python-pytz' 'python2-pytz' 'python-netaddr' 'python2-netaddr'
+             'python-netifaces' 'python2-netifaces' 'python-debtcollector' 'python2-debtcollector')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-ddt' 'python2-ddt')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
+sha512sums=('886d3b910641495e380cf2240998cc342c58632a7d21495a050b4408266eaa2e59fcd22d0b07aa3c551bb3e87f4e051d18aaad6ea3c71b1b52cc8e178988aed3')
+
+prepare() {
+  cp -a oslo.utils-$pkgver{,-py2}
+
+  # Use python 3's standard monotonic function
+  sed -i '/monotonic/d' oslo.utils-$pkgver/requirements.txt
+  sed -i 's/from monotonic import monotonic/from time import monotonic/' oslo.utils-$pkgver/oslo_utils/timeutils.py
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/oslo.utils-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/oslo.utils-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.utils-$pkgver
+  python setup.py testr || warning "Tests failed"
+
+  cd "$srcdir"/oslo.utils-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
+}
+
+package_python-oslo-utils() {
+  depends=('python-six' 'python-pbr' 'python-iso8601' 'python-oslo-i18n' 'python-pytz'
+           'python-netaddr' 'python-netifaces' 'python-debtcollector')
+
+  cd "$srcdir"/oslo.utils-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-oslo-utils() {
+  depends=('python2-six' 'python2-pbr' 'python2-iso8601' 'python2-oslo-i18n' 'python2-monotonic'
+           'python2-pytz' 'python2-netaddr' 'python2-netifaces' 'python2-debtcollector'
+           'python2-funcsigs')
+
+  cd "$srcdir"/oslo.utils-$pkgver-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list