Date: Sunday, April 9, 2023 @ 14:27:53
Author: felixonmars
Revision: 1443262
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 1443261, python-oslo-serialization/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-oslo-serialization/repos/community-staging-any/PKGBUILD (from
rev 1443261, python-oslo-serialization/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 14:27:53 UTC (rev 1443262)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-oslo-serialization
+pkgver=5.1.1
+_commit=b4be3a46032bd20c83847dd4ec32c49feddc5768
+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=('git' 'python-setuptools')
+checkdepends=('python-oslotest')
+source=("git+https://github.com/openstack/oslo.serialization.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd oslo.serialization
+ python setup.py build
+}
+
+check() {
+ cd oslo.serialization
+ stestr run
+}
+
+package() {
+ cd oslo.serialization
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: