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

Felix Yan felixonmars at archlinux.org
Thu May 3 01:52:48 UTC 2018


    Date: Thursday, May 3, 2018 @ 01:52:47
  Author: felixonmars
Revision: 318762

archrelease: copy trunk to community-any

Added:
  python-oslotest/repos/community-any/PKGBUILD
    (from rev 318761, 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-03 01:52:22 UTC (rev 318761)
+++ PKGBUILD	2018-05-03 01:52:47 UTC (rev 318762)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=3.4.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=('e7a10345760efd5c670176a1fa94dce67ced1679f3383099c1b5efcca0a99f66530750a6cb12e7348035a4856f95ca0dae8f6a5f3890337a97f33e0e700723ca')
-
-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 318761, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-03 01:52:47 UTC (rev 318762)
@@ -0,0 +1,65 @@
+# $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:



More information about the arch-commits mailing list