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

Felix Yan felixonmars at archlinux.org
Thu Jan 19 07:21:02 UTC 2017


    Date: Thursday, January 19, 2017 @ 07:21:01
  Author: felixonmars
Revision: 207981

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  128 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-01-19 07:07:40 UTC (rev 207980)
+++ PKGBUILD	2017-01-19 07:21:01 UTC (rev 207981)
@@ -1,64 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=2.13.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 207980, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-01-19 07:21:01 UTC (rev 207981)
@@ -0,0 +1,64 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslotest
+pkgname=(python-oslotest python2-oslotest)
+pkgver=2.13.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