[arch-commits] Commit in python-oslo-serialization/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Wed Sep 26 16:13:52 UTC 2018


    Date: Wednesday, September 26, 2018 @ 16:13:51
  Author: felixonmars
Revision: 385443

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  112 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 56 insertions(+), 56 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-26 16:13:50 UTC (rev 385442)
+++ PKGBUILD	2018-09-26 16:13:51 UTC (rev 385443)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslo-serialization
-pkgname=(python-oslo-serialization python2-oslo-serialization)
-pkgver=2.28.0
-pkgrel=1
-pkgdesc="Oslo Serialization library"
-arch=('any')
-url="http://docs.openstack.org/developer/oslo.serialization"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
-             'python2-babel' 'python-msgpack' 'python2-msgpack' 'python-oslo-utils'
-             'python2-oslo-utils' 'python-pytz' 'python2-pytz')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python2-ipaddress')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.serialization/archive/$pkgver.tar.gz")
-sha512sums=('ee2f93fbfc5a5925fc6d7dbb5d622304e30e14d44e36372e5f90ce3daddb7aa7fea831b23548917ac983ebbe95b11e8435dc275d73e518b3c441a924bb4b1fc1')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  cp -a oslo.serialization-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/oslo.serialization-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.serialization-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/oslo.serialization-$pkgver
-  stestr run || warning "Tests failed"
-
-  cd "$srcdir"/oslo.serialization-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-package_python-oslo-serialization() {
-  depends=('python-six' 'python-pbr' 'python-babel' 'python-msgpack' 'python-oslo-utils'
-           'python-pytz')
-
-  cd "$srcdir"/oslo.serialization-$pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-oslo-serialization() {
-  depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-msgpack' 'python2-oslo-utils'
-           'python2-pytz')
-
-  cd "$srcdir"/oslo.serialization-$pkgver-py2
-  python2 setup.py install --root="$pkgdir/" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-oslo-serialization/repos/community-any/PKGBUILD (from rev 385441, python-oslo-serialization/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-26 16:13:51 UTC (rev 385443)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.28.1
+pkgrel=1
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="http://docs.openstack.org/developer/oslo.serialization"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-babel'
+             'python2-babel' 'python-msgpack' 'python2-msgpack' 'python-oslo-utils'
+             'python2-oslo-utils' 'python-pytz' 'python2-pytz')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python2-ipaddress')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.serialization/archive/$pkgver.tar.gz")
+sha512sums=('fc140db1fe3ae76ae9b6ccfb3ea186f86d6fae090776c20c3f1753c6b13753361b68f35cb881c529e454ec149bf4fedb00261a08ae4092dd0fb92089cc551b1c')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  cp -a oslo.serialization-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/oslo.serialization-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/oslo.serialization-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.serialization-$pkgver
+  stestr run
+
+  cd "$srcdir"/oslo.serialization-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-oslo-serialization() {
+  depends=('python-six' 'python-pbr' 'python-babel' 'python-msgpack' 'python-oslo-utils'
+           'python-pytz')
+
+  cd "$srcdir"/oslo.serialization-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-oslo-serialization() {
+  depends=('python2-six' 'python2-pbr' 'python2-babel' 'python2-msgpack' 'python2-oslo-utils'
+           'python2-pytz')
+
+  cd "$srcdir"/oslo.serialization-$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