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

Felix Yan felixonmars at archlinux.org
Wed Sep 5 18:19:51 UTC 2018


    Date: Wednesday, September 5, 2018 @ 18:19:50
  Author: felixonmars
Revision: 376988

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-05 18:19:34 UTC (rev 376987)
+++ PKGBUILD	2018-09-05 18:19:50 UTC (rev 376988)
@@ -1,65 +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.4
-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'
-              'python-testrepository' 'python2-testrepository')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
-sha512sums=('750e90af12e79c51f2f6f86d830659ad4a63b7b9862467b48d6d3d633aaa4da0c167a8e624a2a4f62298a821dbd853d1bd4b709eeb9a9cd78b613a7eeb5c55cd')
-
-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 376987, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-05 18:19:50 UTC (rev 376988)
@@ -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.37.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=('2749f6d25b368cecd8d1ce8890cb4365b8555d04ed5cba98d9aaa38796624be23e78ca12f970fee3cc606b4612b98580847f1d1d778161b37a3ecd502add5618')
+
+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
+  stestr run
+
+  cd "$srcdir"/oslo.utils-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+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