[arch-commits] Commit in python-oslotest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Jul 11 05:04:10 UTC 2017
Date: Tuesday, July 11, 2017 @ 05:04:09
Author: felixonmars
Revision: 243853
archrelease: copy trunk to community-any
Added:
python-oslotest/repos/community-any/PKGBUILD
(from rev 243852, python-oslotest/trunk/PKGBUILD)
Deleted:
python-oslotest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 130 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-11 05:03:52 UTC (rev 243852)
+++ PKGBUILD 2017-07-11 05:04:09 UTC (rev 243853)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=2.16.0
-pkgrel=1
-pkgdesc="Oslo test framework"
-arch=('any')
-url="https://github.com/openstack/oslotest"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-fixtures'
- 'python2-fixtures' 'python-subunit' 'python2-subunit' 'python-testrepository'
- 'python2-testrepository' 'python-testscenarios' 'python2-testscenarios'
- 'python-testtools' 'python2-testtools' 'python-mock' 'python2-mock' 'python-mox3'
- 'python2-mox3' 'python-os-client-config' 'python2-os-client-config'
- 'python-debtcollector' 'python2-debtcollector')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslotest/archive/$pkgver.tar.gz")
-sha512sums=('5306e3ed0ffc996f99868219a44505b928b58d7c4de2af9fd74435cf81b39e782f0eb2da5e6c34b4d51c45bbf492d8b63448564333bc2079b92f13c3f9474880')
-
-prepare() {
- cp -a oslotest-$pkgver{,-py2}
-
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/oslotest-$pkgver
- python setup.py build
-
- cd "$srcdir"/oslotest-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/oslotest-$pkgver
- python setup.py testr
-
- cd "$srcdir"/oslotest-$pkgver-py2
- PYTHON=python2 python2 setup.py testr
-}
-
-package_python-oslotest() {
- depends=('python-fixtures' 'python-subunit' 'python-testrepository' 'python-testscenarios'
- 'python-testtools' 'python-mock' 'python-mox3' 'python-os-client-config'
- 'python-debtcollector')
-
- cd "$srcdir"/oslotest-$pkgver
- python setup.py install --root="$pkgdir/" --optimize=1
-}
-
-package_python2-oslotest() {
- depends=('python2-fixtures' 'python2-subunit' 'python2-testrepository' 'python2-testscenarios'
- 'python2-testtools' 'python2-mock' 'python2-mox3' 'python2-os-client-config'
- 'python2-debtcollector')
-
- cd "$srcdir"/oslotest-$pkgver-py2
- python2 setup.py install --root="$pkgdir/" --optimize=1
-
- for _exe in "$pkgdir"/usr/bin/*; do
- mv "$_exe"{,2}
- done
-}
-
-# vim:set ts=2 sw=2 et:
Copied: python-oslotest/repos/community-any/PKGBUILD (from rev 243852, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-07-11 05:04:09 UTC (rev 243853)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslotest
+pkgname=(python-oslotest python2-oslotest)
+pkgver=2.16.1
+pkgrel=1
+pkgdesc="Oslo test framework"
+arch=('any')
+url="https://github.com/openstack/oslotest"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-fixtures'
+ 'python2-fixtures' 'python-subunit' 'python2-subunit' 'python-testrepository'
+ 'python2-testrepository' 'python-testscenarios' 'python2-testscenarios'
+ 'python-testtools' 'python2-testtools' 'python-mock' 'python2-mock' 'python-mox3'
+ 'python2-mox3' 'python-os-client-config' 'python2-os-client-config'
+ 'python-debtcollector' 'python2-debtcollector')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslotest/archive/$pkgver.tar.gz")
+sha512sums=('9e44dd57def6769ab162e2f144985490a2cbba2e533a3cb389ab582a757fad56078c5c94971feffe3cf30dc560123b8348a2010391d8e31a079739e9b1739ff3')
+
+prepare() {
+ cp -a oslotest-$pkgver{,-py2}
+
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/oslotest-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/oslotest-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/oslotest-$pkgver
+ python setup.py testr
+
+ cd "$srcdir"/oslotest-$pkgver-py2
+ PYTHON=python2 python2 setup.py testr
+}
+
+package_python-oslotest() {
+ depends=('python-fixtures' 'python-subunit' 'python-testrepository' 'python-testscenarios'
+ 'python-testtools' 'python-mock' 'python-mox3' 'python-os-client-config'
+ 'python-debtcollector')
+
+ cd "$srcdir"/oslotest-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-oslotest() {
+ depends=('python2-fixtures' 'python2-subunit' 'python2-testrepository' 'python2-testscenarios'
+ 'python2-testtools' 'python2-mock' 'python2-mox3' 'python2-os-client-config'
+ 'python2-debtcollector')
+
+ cd "$srcdir"/oslotest-$pkgver-py2
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+
+ for _exe in "$pkgdir"/usr/bin/*; do
+ mv "$_exe"{,2}
+ done
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list