[arch-commits] Commit in python-oslo-serialization/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Dec 4 16:45:15 UTC 2017
Date: Monday, December 4, 2017 @ 16:45:14
Author: felixonmars
Revision: 272133
archrelease: copy trunk to community-any
Added:
python-oslo-serialization/repos/community-any/PKGBUILD
(from rev 272132, python-oslo-serialization/trunk/PKGBUILD)
Deleted:
python-oslo-serialization/repos/community-any/PKGBUILD
----------+
PKGBUILD | 114 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 57 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-04 16:44:50 UTC (rev 272132)
+++ PKGBUILD 2017-12-04 16:45:14 UTC (rev 272133)
@@ -1,57 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslo-serialization
-pkgname=(python-oslo-serialization python2-oslo-serialization)
-pkgver=2.21.2
-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=('3af71f428c5cdb0a8492e7f8a873aba9f75d693148b46c3b8e5510ad00c6c3d2ca856568fb878ffcbc6f356cffad24db3826af1dfd8df3c6b919d3c8b259b35f')
-
-prepare() {
- cp -a oslo.serialization-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-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
- python setup.py testr
-
- cd "$srcdir"/oslo.serialization-$pkgver-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-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 272132, python-oslo-serialization/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-04 16:45:14 UTC (rev 272133)
@@ -0,0 +1,57 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.22.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=('a504fd25b7861b92385eeec469b54adc404f846d3f45f794803402e746cb0bd54c98caf03c72fb564bb9311b03d96c37c618e0b27c44b1a966fbb7a48b5d5c48')
+
+prepare() {
+ cp -a oslo.serialization-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+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
+ python setup.py testr
+
+ cd "$srcdir"/oslo.serialization-$pkgver-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+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