Date: Friday, August 27, 2021 @ 18:16:15 Author: felixonmars Revision: 1007407
archrelease: copy trunk to community-any Added: python-openstacksdk/repos/community-any/PKGBUILD (from rev 1007406, python-openstacksdk/trunk/PKGBUILD) Deleted: python-openstacksdk/repos/community-any/PKGBUILD ----------+ PKGBUILD | 94 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-08-27 18:16:06 UTC (rev 1007406) +++ PKGBUILD 2021-08-27 18:16:15 UTC (rev 1007407) @@ -1,47 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-openstacksdk -pkgver=0.58.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=('20e6a8f4044b53fbe0ebce05a2a05d03d1030f1d78ca7b402bc015e8f3550923ed7b4027d0792f2c5a03eaf62dc0dbf197d2f6376e0bc666a4c252671bfb331e') - -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 1007406, python-openstacksdk/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-08-27 18:16:15 UTC (rev 1007407) @@ -0,0 +1,47 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-openstacksdk +pkgver=0.59.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=('8c72cebbe1f4986bdcfa84e9b313d4a65159df2ee319da04df954fd9b58b92cb4726665dd51f4f411ff10abf30c963346d2a4192a7d7e854d6d419f11e3bf81b') + +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: