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

Felix Yan felixonmars at archlinux.org
Wed Apr 4 13:58:26 UTC 2018


    Date: Wednesday, April 4, 2018 @ 13:58:25
  Author: felixonmars
Revision: 314113

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-04 13:57:59 UTC (rev 314112)
+++ PKGBUILD	2018-04-04 13:58:25 UTC (rev 314113)
@@ -1,65 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=3.4.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=('f5a313385b6b5ff0126910547dcc45017071895854c50012ac2404ca12153e00897e61d134018bd22441a6efbbefc14fa87a1e34d010dfe83643a173575c3b7c')
-
-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 314112, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-04-04 13:58:25 UTC (rev 314113)
@@ -0,0 +1,65 @@
+# $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:



More information about the arch-commits mailing list