Date: Tuesday, January 31, 2023 @ 20:32:51
Author: felixonmars
Revision: 1391557
archrelease: copy trunk to community-any
Added:
python-os-service-types/repos/community-any/PKGBUILD
(from rev 1391556, python-os-service-types/trunk/PKGBUILD)
Deleted:
python-os-service-types/repos/community-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 34 insertions(+), 38 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-31 20:32:39 UTC (rev 1391556)
+++ PKGBUILD 2023-01-31 20:32:51 UTC (rev 1391557)
@@ -1,38 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-os-service-types
-pkgver=1.7.0
-pkgrel=9
-pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
-arch=('any')
-url="https://pypi.python.org/pypi/os-service-types/$pkgver"
-license=('Apache')
-depends=('python-pbr')
-checkdepends=('python-oslotest' 'python-requests-mock')
-options=('!emptydirs')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
-sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
- echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
-}
-
-build() {
- cd os-service-types-$pkgver
- python setup.py build
-}
-
-check() {
- cd os-service-types-$pkgver
- stestr run
-}
-
-package() {
- cd os-service-types-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-os-service-types/repos/community-any/PKGBUILD (from rev 1391556,
python-os-service-types/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-31 20:32:51 UTC (rev 1391557)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-os-service-types
+pkgver=1.7.0
+_commit=0b2f4733eb1bbbd8880e7fa15a769a9bbf7338b4
+pkgrel=10
+pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
+arch=('any')
+url="https://pypi.python.org/pypi/os-service-types/$pkgver"
+license=('Apache')
+depends=('python-pbr')
+makedepends=('git')
+checkdepends=('python-oslotest' 'python-requests-mock')
+options=('!emptydirs')
+source=("git+https://github.com/openstack/os-service-types.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd os-service-types
+ python setup.py build
+}
+
+check() {
+ cd os-service-types
+ stestr run
+}
+
+package() {
+ cd os-service-types
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: