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

Felix Yan felixonmars at gemini.archlinux.org
Tue Nov 30 21:42:50 UTC 2021


    Date: Tuesday, November 30, 2021 @ 21:42:49
  Author: felixonmars
Revision: 1058959

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 1058954, python-oslo-serialization/trunk/PKGBUILD)

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

Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from rev 1058954, python-oslo-serialization/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 21:42:49 UTC (rev 1058959)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-oslo-serialization
+pkgver=4.2.0
+pkgrel=2
+pkgdesc="Oslo Serialization library"
+arch=('any')
+url="https://docs.openstack.org/developer/oslo.serialization"
+license=('Apache')
+depends=('python-pbr' 'python-msgpack' 'python-oslo-utils' 'python-pytz')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest')
+source=("https://github.com/openstack/oslo.serialization/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('9f0961fbc85d54a889075f4e2e1dd1df343e4a0a2e661ee98c3f9ab6e29a23a7c98199e429ae4d7e88b84d0601cfcec89ab4a8aa2d28a26959974c372a9c0185')
+
+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