[arch-commits] Commit in python-os-client-config/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Apr 27 01:24:33 UTC 2020
Date: Monday, April 27, 2020 @ 01:24:32
Author: felixonmars
Revision: 621746
archrelease: copy trunk to community-any
Added:
python-os-client-config/repos/community-any/PKGBUILD
(from rev 621745, python-os-client-config/trunk/PKGBUILD)
Deleted:
python-os-client-config/repos/community-any/PKGBUILD
----------+
PKGBUILD | 80 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 40 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-27 01:24:22 UTC (rev 621745)
+++ PKGBUILD 2020-04-27 01:24:32 UTC (rev 621746)
@@ -1,40 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-os-client-config
-pkgver=2.1.0
-pkgrel=1
-arch=('any')
-pkgdesc='OpenStack Client Configuation Library'
-url='https://github.com/openstack/os-client-config'
-license=('Apache')
-depends=('python-openstacksdk')
-makedepends=('python-setuptools')
-checkdepends=('python-stestr' 'python-oslotest' 'python-jsonschema' 'python-mock'
- 'python-glanceclient')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/os-client-config/archive/$pkgver.tar.gz")
-sha512sums=('f019b5fa44a587bf853a931c9ee86a7e83c5f0d0319f2d5f75cfd34ce947f9961a7905e80df0c06f8234c9e36dc13bfcf039264243b57dd76874bfb3fd55d7bd')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
- # FS#54781
- # https://bugs.launchpad.net/os-client-config/+bug/1707019
- # sed -i "/^packages =/i package_data = os_client_config = *.json */*.json" os-client-config-$pkgver/setup.cfg
-
- sed -i 's/assertItemsEqual/assertCountEqual/' os-client-config-$pkgver/os_client_config/tests/test_config.py
-}
-
-build() {
- cd os-client-config-$pkgver
- python setup.py build
-}
-
-check() {
- cd os-client-config-$pkgver
- stestr run
-}
-
-package() {
- cd os-client-config-$pkgver
- python setup.py install --root "$pkgdir" --optimize=1
-}
Copied: python-os-client-config/repos/community-any/PKGBUILD (from rev 621745, python-os-client-config/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-27 01:24:32 UTC (rev 621746)
@@ -0,0 +1,40 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-os-client-config
+pkgver=2.1.0
+pkgrel=2
+arch=('any')
+pkgdesc='OpenStack Client Configuation Library'
+url='https://github.com/openstack/os-client-config'
+license=('Apache')
+depends=('python-openstacksdk')
+makedepends=('python-setuptools')
+checkdepends=('python-stestr' 'python-oslotest' 'python-jsonschema' 'python-mock'
+ 'python-glanceclient')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/os-client-config/archive/$pkgver.tar.gz")
+sha512sums=('f019b5fa44a587bf853a931c9ee86a7e83c5f0d0319f2d5f75cfd34ce947f9961a7905e80df0c06f8234c9e36dc13bfcf039264243b57dd76874bfb3fd55d7bd')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ # FS#54781
+ # https://bugs.launchpad.net/os-client-config/+bug/1707019
+ sed -i "/^packages =/i package_data = os_client_config = *.json */*.json" os-client-config-$pkgver/setup.cfg
+
+ sed -i 's/assertItemsEqual/assertCountEqual/' os-client-config-$pkgver/os_client_config/tests/test_config.py
+}
+
+build() {
+ cd os-client-config-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd os-client-config-$pkgver
+ stestr run
+}
+
+package() {
+ cd os-client-config-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list