[arch-commits] Commit in python-oslo-serialization/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu May 16 18:35:48 UTC 2019
Date: Thursday, May 16, 2019 @ 18:35:47
Author: felixonmars
Revision: 467536
archrelease: copy trunk to community-any
Added:
python-oslo-serialization/repos/community-any/PKGBUILD
(from rev 467535, 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 2019-05-16 18:35:35 UTC (rev 467535)
+++ PKGBUILD 2019-05-16 18:35:47 UTC (rev 467536)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslo-serialization
-pkgname=(python-oslo-serialization python2-oslo-serialization)
-pkgver=2.29.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=('79c457606aba61bebbba531a8a647a70689a5cdc0dce9327aa6f7db917889006c64bdda859266a6c1a2a5d8f632cd92f775288fdf2e8e3755d4c215ab53d94ae')
-
-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:
Copied: python-oslo-serialization/repos/community-any/PKGBUILD (from rev 467535, python-oslo-serialization/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-16 18:35:47 UTC (rev 467536)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.29.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=('6ae30dbd7f6b3e9f9ffd7524eeb8aae42d37c0a0493730a7bc2f47e9f94e486a8bb74779c921ca1c1ca668c133026c9503ade1913c1084266cba6e11e8e5f72e')
+
+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