[arch-commits] Commit in python-oslo-utils/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Mon Dec 4 16:50:24 UTC 2017
Date: Monday, December 4, 2017 @ 16:50:20
Author: felixonmars
Revision: 272145
archrelease: copy trunk to community-any
Added:
python-oslo-utils/repos/community-any/PKGBUILD
(from rev 272142, 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 2017-12-04 16:50:17 UTC (rev 272144)
+++ PKGBUILD 2017-12-04 16:50:20 UTC (rev 272145)
@@ -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.31.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')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
-sha512sums=('69cb885f42fd9e7fbee46966060cbe41ee3a69cf5a2fae70e5d2c3496aef7f0abdfcfa46eae6fa16c7f3add6227f1297c2cf7d09553095b6e6e6fd306f00c818')
-
-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 272142, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-04 16:50:20 UTC (rev 272145)
@@ -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.32.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')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
+sha512sums=('8e55b96eadb0e509b5cb8e07d9993a8339e3c04212e9e35a2fb7cd7cdf6c6407779182c2c98b516ed0b0f9a17faa6be92ae711b7555d157e8b105d03ad4365d5')
+
+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