Date: Thursday, February 16, 2023 @ 21:26:41
Author: felixonmars
Revision: 1400896
archrelease: copy trunk to community-any
Added:
python-osc-lib/repos/community-any/PKGBUILD
(from rev 1400895, python-osc-lib/trunk/PKGBUILD)
Deleted:
python-osc-lib/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 +++++++++++++++++++++++++++++--------------------------------
1 file changed, 32 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-16 21:26:30 UTC (rev 1400895)
+++ PKGBUILD 2023-02-16 21:26:41 UTC (rev 1400896)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-osc-lib
-pkgver=2.6.2
-pkgrel=1
-pkgdesc="OpenStackClient Library"
-arch=('any')
-url="https://docs.openstack.org/osc-lib/latest/"
-license=('Apache')
-depends=('python-pbr' 'python-cliff' 'python-keystoneauth1'
'python-openstacksdk' 'python-oslo-i18n'
- 'python-oslo-utils' 'python-simplejson' 'python-stevedore')
-makedepends=('python-setuptools')
-checkdepends=('python-oslotest' 'python-requests-mock')
-source=("https://github.com/openstack/osc-lib/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('f09b435759e22d1e9833d118f6b4d450da30abf2937bfe91de563ab0d754018733307568f28c461b3920624605fdb8e8283cc81651efc16d18f5e6645747118c')
-
-export PBR_VERSION=$pkgver
-
-build() {
- cd osc-lib-$pkgver
- python setup.py build
-}
-
-check() {
- cd osc-lib-$pkgver
- # https://storyboard.openstack.org/#!/story/2008461
- stestr run || echo "Tests failed"
-}
-
-package() {
- cd osc-lib-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-osc-lib/repos/community-any/PKGBUILD (from rev 1400895,
python-osc-lib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-02-16 21:26:41 UTC (rev 1400896)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-osc-lib
+pkgver=2.7.0
+_commit=58ff270a9c54c591e743092f0002997ba5b62b79
+pkgrel=1
+pkgdesc="OpenStackClient Library"
+arch=('any')
+url="https://docs.openstack.org/osc-lib/latest/"
+license=('Apache')
+depends=('python-pbr' 'python-cliff' 'python-keystoneauth1'
'python-openstacksdk' 'python-oslo-i18n'
+ 'python-oslo-utils' 'python-simplejson' 'python-stevedore')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-oslotest' 'python-requests-mock')
+source=("git+https://github.com/openstack/osc-lib.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd osc-lib
+ python setup.py build
+}
+
+check() {
+ cd osc-lib
+ stestr run
+}
+
+package() {
+ cd osc-lib
+ python setup.py install --root="$pkgdir" --optimize=1
+}