[arch-commits] Commit in python-os-service-types/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Sun May 12 14:59:19 UTC 2019
Date: Sunday, May 12, 2019 @ 14:59:18
Author: felixonmars
Revision: 466583
archrelease: copy trunk to community-any
Added:
python-os-service-types/repos/community-any/PKGBUILD
(from rev 466582, python-os-service-types/trunk/PKGBUILD)
Deleted:
python-os-service-types/repos/community-any/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-05-12 14:59:07 UTC (rev 466582)
+++ PKGBUILD 2019-05-12 14:59:18 UTC (rev 466583)
@@ -1,56 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-os-service-types
-pkgname=(python-os-service-types python2-os-service-types)
-pkgver=1.6.0
-pkgrel=1
-pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
-arch=('any')
-url="https://pypi.python.org/pypi/os-service-types/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
-checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
-sha512sums=('f8779b61258377d7f963f67c4a5d3c09076f1fd73e8ae373c0413c2c2e8e16f3ec110d780bf415109cf14c6456e19f561f6731db629d03d26a1b60e5647ea57c')
-
-prepare() {
- echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
-
- cp -a os-service-types-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/os-service-types-$pkgver
- python setup.py build
-
- cd "$srcdir"/os-service-types-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/os-service-types-$pkgver
- stestr run
-
- cd "$srcdir"/os-service-types-$pkgver-py2
- PYTHON=python2 stestr2 run
-}
-
-package_python-os-service-types() {
- depends=('python-pbr')
-
- cd "$srcdir"/os-service-types-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-os-service-types() {
- depends=('python2-pbr')
-
- cd "$srcdir"/os-service-types-$pkgver-py2
- python2 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 466582, python-os-service-types/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-05-12 14:59:18 UTC (rev 466583)
@@ -0,0 +1,56 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-os-service-types
+pkgname=(python-os-service-types python2-os-service-types)
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
+arch=('any')
+url="https://pypi.python.org/pypi/os-service-types/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr')
+checkdepends=('python-oslotest' 'python2-oslotest' 'python-requests-mock' 'python2-requests-mock')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
+sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
+
+prepare() {
+ echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
+
+ cp -a os-service-types-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/os-service-types-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/os-service-types-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/os-service-types-$pkgver
+ stestr run
+
+ cd "$srcdir"/os-service-types-$pkgver-py2
+ PYTHON=python2 stestr2 run
+}
+
+package_python-os-service-types() {
+ depends=('python-pbr')
+
+ cd "$srcdir"/os-service-types-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-os-service-types() {
+ depends=('python2-pbr')
+
+ cd "$srcdir"/os-service-types-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list