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

Felix Yan felixonmars at archlinux.org
Thu May 31 15:52:51 UTC 2018


    Date: Thursday, May 31, 2018 @ 15:52:50
  Author: felixonmars
Revision: 334878

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  130 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 65 insertions(+), 65 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-31 15:52:34 UTC (rev 334877)
+++ PKGBUILD	2018-05-31 15:52:50 UTC (rev 334878)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=3.4.2
-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=('5738b7017ddd4684c9a44bf38012571fed5f04a14ec7dc3c5b3cc318b087e24b71d54fb5ffa5d5e299c890b6f358a7c5743e5a94a90a176b1befc7f0984d086b')
-
-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 334877, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-31 15:52:50 UTC (rev 334878)
@@ -0,0 +1,65 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslotest
+pkgname=(python-oslotest python2-oslotest)
+pkgver=3.5.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=('7e6abec2154af980a80964c155e8b738476c68d8ddff6681c8271764d72ee9fb951e2bed3f5504f3bc28656be98dd73cec4b9dca8376f78a9366c459bd65eeff')
+
+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