[arch-commits] Commit in python-openstacksdk/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Mar 10 11:45:50 UTC 2020
Date: Tuesday, March 10, 2020 @ 11:45:49
Author: felixonmars
Revision: 593523
archrelease: copy trunk to community-any
Added:
python-openstacksdk/repos/community-any/PKGBUILD
(from rev 593522, python-openstacksdk/trunk/PKGBUILD)
Deleted:
python-openstacksdk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-10 11:45:34 UTC (rev 593522)
+++ PKGBUILD 2020-03-10 11:45:49 UTC (rev 593523)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-openstacksdk
-pkgver=0.41.0
-pkgrel=1
-pkgdesc="An SDK for building applications to work with OpenStack"
-arch=('any')
-url="https://developer.openstack.org/sdks/python/openstacksdk"
-license=('Apache')
-depends=('python-six' 'python-pbr' 'python-yaml' 'python-jsonpatch' 'python-appdirs'
- 'python-keystoneauth1' 'python-os-service-types' 'python-deprecation'
- 'python-requestsexceptions' 'python-decorator' 'python-jmespath' 'python-iso8601'
- 'python-netifaces' 'python-dogpile.cache' 'python-munch' 'python-cryptography')
-makedepends=('python-setuptools')
-checkdepends=('python-stestr' 'python-ddt' 'python-mock' 'python-requests-mock' 'python-oslotest'
- 'python-jsonschema' 'python-oslo-config' 'python-prometheus_client')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/openstacksdk/archive/$pkgver.tar.gz")
-sha512sums=('df2804aa321eb2a88975e7e7c411f9de936e171d511a76c72e296579dff2e9f7dcc38feb4560a0f870786e682add6dfe041eed90296e57efc68e5b0b2f731428')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
- echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
- sed -i 's/assertItemsEqual/assertCountEqual/' openstacksdk-$pkgver/openstack/tests/unit/*.py openstacksdk-$pkgver/openstack/tests/unit/*/*.py
-}
-
-build() {
- cd openstacksdk-$pkgver
- python setup.py build
-}
-
-check() {
- # From https://github.com/openstack/openstacksdk/blob/master/tox.ini
- export OS_LOG_CAPTURE=true OS_STDOUT_CAPTURE=true OS_STDERR_CAPTURE=true
-
- cd openstacksdk-$pkgver
- # TODO
- stestr run || :
-}
-
-package() {
- cd openstacksdk-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-openstacksdk/repos/community-any/PKGBUILD (from rev 593522, python-openstacksdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-10 11:45:49 UTC (rev 593523)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-openstacksdk
+pkgver=0.42.0
+pkgrel=1
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="https://developer.openstack.org/sdks/python/openstacksdk"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-yaml' 'python-jsonpatch' 'python-appdirs'
+ 'python-keystoneauth1' 'python-os-service-types' 'python-deprecation'
+ 'python-requestsexceptions' 'python-decorator' 'python-jmespath' 'python-iso8601'
+ 'python-netifaces' 'python-dogpile.cache' 'python-munch' 'python-cryptography')
+makedepends=('python-setuptools')
+checkdepends=('python-stestr' 'python-ddt' 'python-mock' 'python-requests-mock' 'python-oslotest'
+ 'python-jsonschema' 'python-oslo-config' 'python-prometheus_client')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/openstacksdk/archive/$pkgver.tar.gz")
+sha512sums=('8c679c50e3d6294b1d7b19bf0e2587f369b0ec9f0259f53cf42111f7222072d38a9bab5652ea86d7a27a94fbbd557e76d34aec2a12ea7e235a92f53ca8f018d2')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
+ sed -i 's/assertItemsEqual/assertCountEqual/' openstacksdk-$pkgver/openstack/tests/unit/*.py openstacksdk-$pkgver/openstack/tests/unit/*/*.py
+}
+
+build() {
+ cd openstacksdk-$pkgver
+ python setup.py build
+}
+
+check() {
+ # From https://github.com/openstack/openstacksdk/blob/master/tox.ini
+ export OS_LOG_CAPTURE=true OS_STDOUT_CAPTURE=true OS_STDERR_CAPTURE=true
+
+ cd openstacksdk-$pkgver
+ # TODO
+ stestr run || :
+}
+
+package() {
+ cd openstacksdk-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list