[arch-commits] Commit in python-subunit/repos/community-staging-any (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 15:19:41 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:19:40
Author: felixonmars
Revision: 751093
archrelease: copy trunk to community-staging-any
Added:
python-subunit/repos/community-staging-any/PKGBUILD
(from rev 751091, python-subunit/trunk/PKGBUILD)
Deleted:
python-subunit/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-11 15:19:37 UTC (rev 751092)
+++ PKGBUILD 2020-11-11 15:19:40 UTC (rev 751093)
@@ -1,33 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-subunit
-pkgver=1.4.0
-pkgrel=2
-pkgdesc="Python implementation of subunit test streaming protocol"
-arch=('any')
-license=('Apache')
-url="https://launchpad.net/subunit"
-depends=('python-extras' 'python-testtools')
-makedepends=('python-setuptools')
-checkdepends=('python-fixtures' 'python-hypothesis' 'python-testscenarios')
-source=("https://pypi.io/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz")
-sha512sums=('7f8ebf1cfdd7ff22bfd68367cb90dd75e7f3b5f7da71830b304225905e1799ad1ec8f0d41f5f98895c831dc10fe77229137a472b8e8e57ea84c05c66694a5b5b')
-
-prepare() {
- sed -i 's|import unittest2 as unittest|import unittest|' python-subunit-$pkgver/python/subunit/tests/test_test_protocol.py
-}
-
-build() {
- cd python-subunit-$pkgver
- python setup.py build
-}
-
-check() {
- cd python-subunit-$pkgver
- PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m testtools.run subunit.test_suite || :
-}
-
-package() {
- cd python-subunit-$pkgver
- python setup.py install --root="${pkgdir}" --optimize=1
-}
Copied: python-subunit/repos/community-staging-any/PKGBUILD (from rev 751091, python-subunit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:19:40 UTC (rev 751093)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-subunit
+pkgver=1.4.0
+pkgrel=3
+pkgdesc="Python implementation of subunit test streaming protocol"
+arch=('any')
+license=('Apache')
+url="https://launchpad.net/subunit"
+depends=('python-extras' 'python-testtools')
+makedepends=('python-setuptools')
+checkdepends=('python-fixtures' 'python-hypothesis' 'python-testscenarios')
+source=("https://pypi.io/packages/source/p/python-subunit/python-subunit-$pkgver.tar.gz")
+sha512sums=('7f8ebf1cfdd7ff22bfd68367cb90dd75e7f3b5f7da71830b304225905e1799ad1ec8f0d41f5f98895c831dc10fe77229137a472b8e8e57ea84c05c66694a5b5b')
+
+prepare() {
+ sed -i 's|import unittest2 as unittest|import unittest|' python-subunit-$pkgver/python/subunit/tests/test_test_protocol.py
+}
+
+build() {
+ cd python-subunit-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-subunit-$pkgver
+ PYTHONPATH="$PWD/build/lib:$PYTHONPATH" python -m testtools.run subunit.test_suite || :
+}
+
+package() {
+ cd python-subunit-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list