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

2020-11-09 Thread Felix Yan via arch-commits
Date: Monday, November 9, 2020 @ 18:30:21
  Author: felixonmars
Revision: 748025

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   34 ++
 1 file changed, 34 insertions(+)

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from 
rev 748024, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2020-11-09 18:30:21 UTC (rev 748025)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan 
+
+pkgname=python-oslo-serialization
+pkgver=4.0.1
+pkgrel=2
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="https://docs.openstack.org/developer/oslo.serialization;
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-babel' 'python-msgpack' 
'python-oslo-utils'
+ 'python-pytz')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.serialization/archive/$pkgver.tar.gz;)
+sha512sums=('cae1b6341499d58fbdbae7a5120b49382a6c9230eeacfc6b408d78e5f72f1ff6983d16eea2c390a1af397fc8319c2f17be8f35306aa298d021f169fb751688cb')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd oslo.serialization-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd oslo.serialization-$pkgver
+  stestr run
+}
+
+package() {
+  cd oslo.serialization-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


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

2019-10-26 Thread Evangelos Foutras via arch-commits
Date: Saturday, October 26, 2019 @ 06:19:03
  Author: foutrelis
Revision: 520261

archrelease: copy trunk to community-staging-any

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

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

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from 
rev 520260, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2019-10-26 06:19:03 UTC (rev 520261)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan 
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.29.2
+pkgrel=2
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="https://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=('62d18c582406d5e0d4c8927d0a598f819744d3ebf11065aa88689d963c7fc3ba0234897b61d714646ca908e181b5005f97acf098407aa021ea757ebb3e070082')
+
+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:


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

2018-07-18 Thread Felix Yan via arch-commits
Date: Thursday, July 19, 2018 @ 03:49:22
  Author: felixonmars
Revision: 362338

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   58 ++
 1 file changed, 58 insertions(+)

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from 
rev 362337, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-07-19 03:49:22 UTC (rev 362338)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.27.0
+pkgrel=2
+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'
+  'python-testrepository' 'python2-testrepository')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.serialization/archive/$pkgver.tar.gz;)
+sha512sums=('46cec3ad6b2bf256484539d38cb38dc71c234e8101be08416ea8c6253f388014904faf81254d768fc27f6611bf0e9e03f580c0c7dc9187a2db3debf9075ecee1')
+
+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
+  python setup.py testr || warning "Tests failed"
+
+  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:


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

2018-01-28 Thread Eli Schwartz via arch-commits
Date: Sunday, January 28, 2018 @ 08:51:22
  Author: eschwartz
Revision: 287609

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   61 +
 1 file changed, 61 insertions(+)

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from 
rev 287608, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2018-01-28 08:51:22 UTC (rev 287609)
@@ -0,0 +1,61 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.23.0
+pkgrel=2
+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;
+
"https://github.com/openstack/oslo.serialization/commit/277730036f1d7b2edd3fe3adc626e1bf97d494cc.patch;)
+sha512sums=('3bff8da9a8c8c1e468f745d8937683d2f80bc18492b3f9492d9dfd1a2a543d890a33d0c3277e6b049fef3bd461f3b3b010550854f83acca433aedc47cd2ab355'
+
'a24bb03b61d7eb1d7657e99f93c08482caf6104dc551cef87b9c00d8a9dbbc38d28370e42a338d282b0b6b289ed224aab21a43e068dc3d5883a2c84849586ccd')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  # https://bugs.launchpad.net/oslo.serialization/+bug/1743445
+  patch -d oslo.serialization-$pkgver -p1 < 
277730036f1d7b2edd3fe3adc626e1bf97d494cc.patch
+  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
+  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:


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

2016-12-24 Thread Felix Yan
Date: Saturday, December 24, 2016 @ 17:47:14
  Author: felixonmars
Revision: 201676

archrelease: copy trunk to community-staging-any

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from 
rev 201675, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-staging-any/PKGBUILD  (rev 0)
+++ community-staging-any/PKGBUILD  2016-12-24 17:47:14 UTC (rev 201676)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.15.0
+pkgrel=2
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="http://docs.openstack.org/developer/oslo.serialization;
+license=('Apache')
+makedepends=('git' '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=("git+https://git.openstack.org/openstack/oslo.serialization#tag=$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a oslo.serialization{,-py2}
+}
+
+build() {
+  cd "$srcdir"/oslo.serialization
+  python setup.py build
+
+  cd "$srcdir"/oslo.serialization-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.serialization
+  python setup.py testr
+
+  cd "$srcdir"/oslo.serialization-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
+  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-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


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

2016-02-26 Thread Felix Yan
Date: Friday, February 26, 2016 @ 10:44:07
  Author: fyan
Revision: 163491

archrelease: copy trunk to community-any

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

--+
 PKGBUILD |   55 +++
 1 file changed, 55 insertions(+)

Copied: python-oslo-serialization/repos/community-any/PKGBUILD (from rev 
163490, python-oslo-serialization/trunk/PKGBUILD)
===
--- community-any/PKGBUILD  (rev 0)
+++ community-any/PKGBUILD  2016-02-26 09:44:07 UTC (rev 163491)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Felix Yan 
+
+pkgbase=python-oslo-serialization
+pkgname=(python-oslo-serialization python2-oslo-serialization)
+pkgver=2.4.0
+pkgrel=1
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="http://docs.openstack.org/developer/oslo.serialization;
+license=('Apache')
+makedepends=('git' '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')
+source=("git+https://git.openstack.org/openstack/oslo.serialization#tag=$pkgver;)
+md5sums=('SKIP')
+
+prepare() {
+  cp -a oslo.serialization{,-py2}
+}
+
+build() {
+  cd "$srcdir"/oslo.serialization
+  python setup.py build
+
+  cd "$srcdir"/oslo.serialization-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.serialization
+  python setup.py testr
+
+  cd "$srcdir"/oslo.serialization-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+package_python-oslo-serialization() {
+  depends=('python-six' 'python-pbr' 'python-babel' 'python-msgpack' 
'python-oslo-utils'
+   'python-pyta')
+
+  cd "$srcdir"/oslo.serialization
+  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-pyta')
+
+  cd "$srcdir"/oslo.serialization-py2
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: