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

Felix Yan felixonmars at archlinux.org
Wed Jan 9 13:05:59 UTC 2019


    Date: Wednesday, January 9, 2019 @ 13:05:58
  Author: felixonmars
Revision: 421149

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  123 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 60 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-01-09 13:05:37 UTC (rev 421148)
+++ PKGBUILD	2019-01-09 13:05:58 UTC (rev 421149)
@@ -1,63 +0,0 @@
-# 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.39.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=('9b9f54f28cce0b2558e1da34ec882322a448a761633168c23b27b1780c7954f47c56aa5121d29e1b06af1d8b3edf67165dd5d625305b8c77f3d35de55105e8e7')
-
-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:

Copied: python-oslo-utils/repos/community-any/PKGBUILD (from rev 421148, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-01-09 13:05:58 UTC (rev 421149)
@@ -0,0 +1,60 @@
+# 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.39.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' 'python-eventlet'
+              'python2-eventlet')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
+sha512sums=('8b13ba4407bad642a6e7df5dd287a6c7a81017b5590c9ff67e606daf47e4091dfcfd284833a391ddfa9931b579d390d07de4b703a62e3260e64c5accdc2f264f')
+
+prepare() {
+  cp -a oslo.utils-$pkgver{,-py2}
+
+  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