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

Felix Yan felixonmars at archlinux.org
Fri Mar 1 20:06:12 UTC 2019


    Date: Friday, March 1, 2019 @ 20:06:11
  Author: felixonmars
Revision: 437319

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  138 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-01 20:05:55 UTC (rev 437318)
+++ PKGBUILD	2019-03-01 20:06:11 UTC (rev 437319)
@@ -1,69 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-stestr
-pkgname=(python-stestr python2-stestr)
-pkgver=2.2.0
-pkgrel=1
-pkgdesc="A test runner runner similar to testrepository"
-url="http://stestr.readthedocs.io/en/latest/"
-license=('Apache')
-arch=('any')
-makedepends=('python-future' 'python2-future' 'python-pbr' 'python2-pbr' 'python-cliff'
-             'python2-cliff' 'python-subunit' 'python2-subunit' 'python-fixtures' 'python2-fixtures'
-             'python-testtools' 'python2-testtools' 'python-yaml' 'python2-yaml' 'python-voluptuous'
-             'python2-voluptuous')
-checkdepends=('python-hacking' 'python2-hacking' 'python-sphinx' 'python2-sphinx' 'python-mock'
-              'python2-mock' 'python-subunit2sql' 'python2-subunit2sql' 'python-coverage'
-              'python2-coverage' 'python-ddt' 'python2-ddt')
-source=("https://pypi.io/packages/source/s/stestr/stestr-$pkgver.tar.gz")
-sha512sums=('5b1944057abd0f6e177e5313f07bb47357f88adee5cc26bbfbe9893e741acfe7ed9459a66b86c929cbd236845dde357af4a5cc5134c9cca516183d0128979147')
-
-prepare() {
-  cp -a stestr-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/stestr-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/stestr-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/stestr-$pkgver
-  python setup.py install --root="$PWD/tmp_install" --optimize=1
-  (
-    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages"
-    export PATH="$PWD/tmp_install/usr/bin:$PATH"
-    stestr run || warning "Tests failed"
-  )
-
-  cd "$srcdir"/stestr-$pkgver-py2
-  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
-  (
-    export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages"
-    export PATH="$PWD/tmp_install/usr/bin:$PATH"
-    stestr run || warning "Tests failed"
-  )
-}
-
-package_python-stestr() {
-  depends=('python-future' 'python-cliff' 'python-pbr' 'python-subunit' 'python-fixtures'
-           'python-testtools' 'python-yaml' 'python-voluptuous')
-
-  cd stestr-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-stestr() {
-  depends=('python2-future' 'python2-cliff' 'python2-pbr' 'python2-subunit' 'python2-fixtures'
-           'python2-testtools' 'python2-yaml' 'python2-voluptuous')
-
-  cd stestr-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/stestr{,2}
-}

Copied: python-stestr/repos/community-any/PKGBUILD (from rev 437318, python-stestr/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-01 20:06:11 UTC (rev 437319)
@@ -0,0 +1,69 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgbase=python-stestr
+pkgname=(python-stestr python2-stestr)
+pkgver=2.3.0
+pkgrel=1
+pkgdesc="A test runner runner similar to testrepository"
+url="http://stestr.readthedocs.io/en/latest/"
+license=('Apache')
+arch=('any')
+makedepends=('python-future' 'python2-future' 'python-pbr' 'python2-pbr' 'python-cliff'
+             'python2-cliff' 'python-subunit' 'python2-subunit' 'python-fixtures' 'python2-fixtures'
+             'python-testtools' 'python2-testtools' 'python-yaml' 'python2-yaml' 'python-voluptuous'
+             'python2-voluptuous')
+checkdepends=('python-hacking' 'python2-hacking' 'python-sphinx' 'python2-sphinx' 'python-mock'
+              'python2-mock' 'python-subunit2sql' 'python2-subunit2sql' 'python-coverage'
+              'python2-coverage' 'python-ddt' 'python2-ddt')
+source=("https://pypi.io/packages/source/s/stestr/stestr-$pkgver.tar.gz")
+sha512sums=('ae23183becf7f65769617cc86e25cd23a2b3b74fe057af407bbbf8fa00cc7fe1df066f040037e8f33bc34377dbd44a5587bca8bea860316e99ecca21776050e7')
+
+prepare() {
+  cp -a stestr-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/stestr-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/stestr-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/stestr-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  (
+    export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.7/site-packages"
+    export PATH="$PWD/tmp_install/usr/bin:$PATH"
+    stestr run || warning "Tests failed"
+  )
+
+  cd "$srcdir"/stestr-$pkgver-py2
+  python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+  (
+    export PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages"
+    export PATH="$PWD/tmp_install/usr/bin:$PATH"
+    stestr run || warning "Tests failed"
+  )
+}
+
+package_python-stestr() {
+  depends=('python-future' 'python-cliff' 'python-pbr' 'python-subunit' 'python-fixtures'
+           'python-testtools' 'python-yaml' 'python-voluptuous')
+
+  cd stestr-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-stestr() {
+  depends=('python2-future' 'python2-cliff' 'python2-pbr' 'python2-subunit' 'python2-fixtures'
+           'python2-testtools' 'python2-yaml' 'python2-voluptuous')
+
+  cd stestr-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/stestr{,2}
+}


More information about the arch-commits mailing list