[arch-commits] Commit in python-openstacksdk/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 23 07:46:42 UTC 2019


    Date: Friday, August 23, 2019 @ 07:46:42
  Author: felixonmars
Revision: 501224

archrelease: copy trunk to community-any

Added:
  python-openstacksdk/repos/community-any/PKGBUILD
    (from rev 501223, python-openstacksdk/trunk/PKGBUILD)
Deleted:
  python-openstacksdk/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  154 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 77 insertions(+), 77 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-23 07:46:30 UTC (rev 501223)
+++ PKGBUILD	2019-08-23 07:46:42 UTC (rev 501224)
@@ -1,77 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-openstacksdk
-pkgname=(python-openstacksdk python2-openstacksdk)
-pkgver=0.31.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')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-jsonpatch'
-             'python2-jsonpatch' 'python-appdirs' 'python2-appdirs' 'python-keystoneauth1'
-             'python2-keystoneauth1' 'python-os-service-types' 'python2-os-service-types'
-             'python-deprecation' 'python2-deprecation' 'python-requestsexceptions'
-             'python2-requestsexceptions' 'python-yaml' 'python2-yaml' 'python-decorator'
-             'python2-decorator' 'python-jmespath' 'python2-jmespath' 'python2-ipaddress'
-             'python2-futures' 'python-iso8601' 'python2-iso8601' 'python-netifaces'
-             'python2-netifaces' 'python-dogpile.cache' 'python2-dogpile.cache' 'python-munch'
-             'python2-munch')
-checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' 'python-requests-mock'
-              'python2-requests-mock' 'python-oslotest' 'python2-oslotest' 'python-jsonschema'
-              'python2-jsonschema')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/openstacksdk/archive/$pkgver.tar.gz")
-sha512sums=('02496cb94910dbc5e1b79d56ebc2d763a0ef9a9566cacc724bc083d6e60f1f6989e60e7788f4046c246e7382a4e0653ce3808eef82eb65c6f95b0941170a6600')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
-  echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
-  cp -a openstacksdk-$pkgver{,-py2}
-  sed -i 's/assertItemsEqual/assertCountEqual/' openstacksdk-$pkgver/openstack/tests/unit/*.py openstacksdk-$pkgver/openstack/tests/unit/*/*.py
-}
-
-build() {
-  cd "$srcdir"/openstacksdk-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/openstacksdk-$pkgver-py2
-  python2 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 "$srcdir"/openstacksdk-$pkgver
-  stestr run || warning "Tests failed"
-
-  cd "$srcdir"/openstacksdk-$pkgver-py2
-  PYTHON=python2 stestr2 run || warning "Tests failed"
-}
-
-package_python-openstacksdk() {
-  depends=('python-six' 'python-pbr' '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')
-
-  cd "$srcdir"/openstacksdk-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-openstacksdk() {
-  depends=('python2-six' 'python2-pbr' 'python2-jsonpatch' 'python2-appdirs'
-           'python2-keystoneauth1' 'python2-os-service-types' 'python2-deprecation'
-           'python2-requestsexceptions' 'python2-decorator' 'python2-jmespath' 'python2-ipaddress'
-           'python2-futures' 'python2-iso8601' 'python2-netifaces' 'python2-dogpile.cache'
-           'python2-munch')
-
-  cd "$srcdir"/openstacksdk-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/openstack-inventory{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-openstacksdk/repos/community-any/PKGBUILD (from rev 501223, python-openstacksdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-08-23 07:46:42 UTC (rev 501224)
@@ -0,0 +1,77 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-openstacksdk
+pkgname=(python-openstacksdk python2-openstacksdk)
+pkgver=0.32.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')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-jsonpatch'
+             'python2-jsonpatch' 'python-appdirs' 'python2-appdirs' 'python-keystoneauth1'
+             'python2-keystoneauth1' 'python-os-service-types' 'python2-os-service-types'
+             'python-deprecation' 'python2-deprecation' 'python-requestsexceptions'
+             'python2-requestsexceptions' 'python-yaml' 'python2-yaml' 'python-decorator'
+             'python2-decorator' 'python-jmespath' 'python2-jmespath' 'python2-ipaddress'
+             'python2-futures' 'python-iso8601' 'python2-iso8601' 'python-netifaces'
+             'python2-netifaces' 'python-dogpile.cache' 'python2-dogpile.cache' 'python-munch'
+             'python2-munch')
+checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock' 'python-requests-mock'
+              'python2-requests-mock' 'python-oslotest' 'python2-oslotest' 'python-jsonschema'
+              'python2-jsonschema')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/openstacksdk/archive/$pkgver.tar.gz")
+sha512sums=('58b6e014f105c105f8a8dad961050e9dfc3314454d13404d84cb188bcea523cc806b163a24b3053c162e881fc4f97152711174baecd56d32a3e33a2a24f8db41')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+  echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
+  cp -a openstacksdk-$pkgver{,-py2}
+  sed -i 's/assertItemsEqual/assertCountEqual/' openstacksdk-$pkgver/openstack/tests/unit/*.py openstacksdk-$pkgver/openstack/tests/unit/*/*.py
+}
+
+build() {
+  cd "$srcdir"/openstacksdk-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/openstacksdk-$pkgver-py2
+  python2 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 "$srcdir"/openstacksdk-$pkgver
+  stestr run || warning "Tests failed"
+
+  cd "$srcdir"/openstacksdk-$pkgver-py2
+  PYTHON=python2 stestr2 run || warning "Tests failed"
+}
+
+package_python-openstacksdk() {
+  depends=('python-six' 'python-pbr' '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')
+
+  cd "$srcdir"/openstacksdk-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-openstacksdk() {
+  depends=('python2-six' 'python2-pbr' 'python2-jsonpatch' 'python2-appdirs'
+           'python2-keystoneauth1' 'python2-os-service-types' 'python2-deprecation'
+           'python2-requestsexceptions' 'python2-decorator' 'python2-jmespath' 'python2-ipaddress'
+           'python2-futures' 'python2-iso8601' 'python2-netifaces' 'python2-dogpile.cache'
+           'python2-munch')
+
+  cd "$srcdir"/openstacksdk-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/openstack-inventory{,2}
+}
+
+# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list