[arch-commits] Commit in python-oslotest/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Oct 20 07:43:15 UTC 2016
Date: Thursday, October 20, 2016 @ 07:43:14
Author: felixonmars
Revision: 192680
archrelease: copy trunk to community-any
Added:
python-oslotest/repos/community-any/PKGBUILD
(from rev 192679, python-oslotest/trunk/PKGBUILD)
Deleted:
python-oslotest/repos/community-any/PKGBUILD
----------+
PKGBUILD | 128 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 64 insertions(+), 64 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-10-20 07:42:55 UTC (rev 192679)
+++ PKGBUILD 2016-10-20 07:43:14 UTC (rev 192680)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=2.10.0
-pkgrel=1
-pkgdesc="Oslo test framework"
-arch=('any')
-url="https://github.com/openstack/oslotest"
-license=('Apache')
-makedepends=('git' '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=("git+https://github.com/openstack/oslotest.git#tag=$pkgver")
-md5sums=('SKIP')
-
-prepare() {
- cp -a oslotest{,-py2}
-}
-
-build() {
- cd "$srcdir"/oslotest
- python setup.py build
-
- cd "$srcdir"/oslotest-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/oslotest
- python setup.py testr
-
- cd "$srcdir"/oslotest-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
- 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-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 192679, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-10-20 07:43:14 UTC (rev 192680)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslotest
+pkgname=(python-oslotest python2-oslotest)
+pkgver=2.11.0
+pkgrel=1
+pkgdesc="Oslo test framework"
+arch=('any')
+url="https://github.com/openstack/oslotest"
+license=('Apache')
+makedepends=('git' '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=("git+https://github.com/openstack/oslotest.git#tag=$pkgver")
+md5sums=('SKIP')
+
+prepare() {
+ cp -a oslotest{,-py2}
+}
+
+build() {
+ cd "$srcdir"/oslotest
+ python setup.py build
+
+ cd "$srcdir"/oslotest-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/oslotest
+ python setup.py testr
+
+ cd "$srcdir"/oslotest-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
+ 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-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