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

Felix Yan felixonmars at archlinux.org
Sun Jul 7 02:02:39 UTC 2019


    Date: Sunday, July 7, 2019 @ 02:02:37
  Author: felixonmars
Revision: 487569

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-07 02:02:23 UTC (rev 487568)
+++ PKGBUILD	2019-07-07 02:02:37 UTC (rev 487569)
@@ -1,64 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-oslotest
-pkgname=(python-oslotest python2-oslotest)
-pkgver=3.7.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-stestr'
-             'python2-stestr' '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=('df06501dd69916e64330bc184d6ed18ed704088e79db23773dfe1db004a64022342fdadd2f0763efdfc5d1ffa7884e6b858e1dde2e563442af29adf5175fd6b1')
-
-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
-  stestr run
-
-  cd "$srcdir"/oslotest-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-package_python-oslotest() {
-  depends=('python-fixtures' 'python-subunit' 'python-stestr' '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-stestr' '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 487568, python-oslotest/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-07 02:02:37 UTC (rev 487569)
@@ -0,0 +1,64 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-oslotest
+pkgname=(python-oslotest python2-oslotest)
+pkgver=3.8.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-stestr'
+             'python2-stestr' '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=('48d37470cf161d6f3acce055b2fed0b385ada29ee673de97d3dba6519c6470ed4cb88f05d9d8fcd70cd1c369251f2761bc7192965bbd445a0316c943b36d3deb')
+
+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
+  stestr run
+
+  cd "$srcdir"/oslotest-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-oslotest() {
+  depends=('python-fixtures' 'python-subunit' 'python-stestr' '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-stestr' '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