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

Felix Yan felixonmars at archlinux.org
Mon Nov 9 18:30:21 UTC 2020


    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 <felixonmars at archlinux.org>
+
+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:



More information about the arch-commits mailing list