[arch-commits] Commit in python-openstacksdk/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Apr 15 20:06:02 UTC 2020
Date: Wednesday, April 15, 2020 @ 20:06:02
Author: felixonmars
Revision: 614996
archrelease: copy trunk to community-any
Added:
python-openstacksdk/repos/community-any/PKGBUILD
(from rev 614994, python-openstacksdk/trunk/PKGBUILD)
Deleted:
python-openstacksdk/repos/community-any/PKGBUILD
----------+
PKGBUILD | 94 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 47 insertions(+), 47 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-15 20:05:59 UTC (rev 614995)
+++ PKGBUILD 2020-04-15 20:06:02 UTC (rev 614996)
@@ -1,47 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgname=python-openstacksdk
-pkgver=0.45.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=('9b4e2e12913f271103fcb454fb1484bfb20b4673d40c5e9c932e262b54ce559d37bef7271e59d9e2ffa6c44f79e38f207aa791e2007907d39d70225677e089f8')
-
-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 614994, python-openstacksdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-15 20:06:02 UTC (rev 614996)
@@ -0,0 +1,47 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-openstacksdk
+pkgver=0.46.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' 'python-hacking')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/openstacksdk/archive/$pkgver.tar.gz")
+sha512sums=('2951e13a51177151c45ca660d8ae4bb8f8db5006b1a7c2024c06e0089477eccf8cada829ec90db9b7a40cb263a8d0cde5264f6feec0c712e5ac0e39ed1eb6ede')
+
+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