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

Felix Yan felixonmars at archlinux.org
Thu Aug 16 16:57:39 UTC 2018


    Date: Thursday, August 16, 2018 @ 16:57:38
  Author: felixonmars
Revision: 371998

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  150 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 75 insertions(+), 75 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-16 16:57:13 UTC (rev 371997)
+++ PKGBUILD	2018-08-16 16:57:38 UTC (rev 371998)
@@ -1,75 +0,0 @@
-# $Id$
-# 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.14.0
-pkgrel=2
-pkgdesc="An SDK for building applications to work with OpenStack"
-arch=('any')
-url="http://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=('8cec630406da820b4cd02bffe526807acbe645ed6cf58bbd35b9b352d4aeba78401e753814b12ca8ef1d40b34ff6140a31500934721d204062f6d649bd52cb88')
-
-prepare() {
-  echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
-
-  cp -a openstacksdk-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/openstacksdk-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/openstacksdk-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/openstacksdk-$pkgver
-  stestr run || warning "Tests failed"
-
-  cd "$srcdir"/openstacksdk-$pkgver-py2
-  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 371997, python-openstacksdk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-16 16:57:38 UTC (rev 371998)
@@ -0,0 +1,75 @@
+# $Id$
+# 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.17.2
+pkgrel=1
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="http://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=('b829e94d2368fae9b64ccd0e7bdc8eecf730342ee298e05bf695236695d47ba0ea3b646306397e09b8a9caca9eafb986d16fab5e59aea6b7d2f346b11a9551d0')
+
+prepare() {
+  echo -e "\nglobal-include *.json" >> openstacksdk-$pkgver/MANIFEST.in
+
+  cp -a openstacksdk-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/openstacksdk-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/openstacksdk-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  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