[arch-commits] Commit in python-swiftclient/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 14 07:19:22 UTC 2019
Date: Saturday, September 14, 2019 @ 07:19:22
Author: felixonmars
Revision: 510458
archrelease: copy trunk to community-any
Added:
python-swiftclient/repos/community-any/PKGBUILD
(from rev 510457, python-swiftclient/trunk/PKGBUILD)
Deleted:
python-swiftclient/repos/community-any/PKGBUILD
----------+
PKGBUILD | 116 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-14 07:19:18 UTC (rev 510457)
+++ PKGBUILD 2019-09-14 07:19:22 UTC (rev 510458)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-swiftclient
-pkgname=(python-swiftclient python2-swiftclient)
-pkgver=3.8.0
-pkgrel=1
-pkgdesc="An SDK for building applications to work with OpenStack"
-arch=('any')
-url="https://docs.openstack.org/python-swiftclient"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-futures'
- 'python-requests' 'python2-requests')
-checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock'
- 'python-keystoneauth1' 'python2-keystoneauth1')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
-sha512sums=('c7c71ca3536f53fd88532cf0e00045159d7ee7504c33bcf0735f38e1a2bd2c1d3508a6ba7b125c04a3d0a41a9d09825bc8597c3301c4cb65473a5a050df76e81')
-
-prepare() {
- cp -a python-swiftclient-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/python-swiftclient-$pkgver
- python setup.py build
-
- cd "$srcdir"/python-swiftclient-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/python-swiftclient-$pkgver
- stestr run
-
- cd "$srcdir"/python-swiftclient-$pkgver-py2
- PYTHON=python2 stestr2 run
-}
-
-package_python-swiftclient() {
- depends=('python-six' 'python-requests')
-
- cd "$srcdir"/python-swiftclient-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-swiftclient() {
- depends=('python2-six' 'python2-futures' 'python2-requests')
-
- cd "$srcdir"/python-swiftclient-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/swift{,2}
- mv "$pkgdir"/usr/share/man/man1/swift{,2}.1
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-swiftclient/repos/community-any/PKGBUILD (from rev 510457, python-swiftclient/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-09-14 07:19:22 UTC (rev 510458)
@@ -0,0 +1,58 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-swiftclient
+pkgname=(python-swiftclient python2-swiftclient)
+pkgver=3.8.1
+pkgrel=1
+pkgdesc="An SDK for building applications to work with OpenStack"
+arch=('any')
+url="https://docs.openstack.org/python-swiftclient"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python2-futures'
+ 'python-requests' 'python2-requests')
+checkdepends=('python-stestr' 'python2-stestr' 'python-mock' 'python2-mock'
+ 'python-keystoneauth1' 'python2-keystoneauth1')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/python-swiftclient/archive/$pkgver.tar.gz")
+sha512sums=('066e5b7bc04d19701faa06bb48b77ae0d4e1cefcb475b65a5bc85122aaff5ff4aa0a5e11bbf9fd81ffd006409792acbc804a9a659ae7e7f8a0ee15e5e52188f6')
+
+prepare() {
+ cp -a python-swiftclient-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/python-swiftclient-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/python-swiftclient-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/python-swiftclient-$pkgver
+ stestr run
+
+ cd "$srcdir"/python-swiftclient-$pkgver-py2
+ PYTHON=python2 stestr2 run
+}
+
+package_python-swiftclient() {
+ depends=('python-six' 'python-requests')
+
+ cd "$srcdir"/python-swiftclient-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-swiftclient() {
+ depends=('python2-six' 'python2-futures' 'python2-requests')
+
+ cd "$srcdir"/python-swiftclient-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/swift{,2}
+ mv "$pkgdir"/usr/share/man/man1/swift{,2}.1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list