[arch-commits] Commit in python-unittest-xml-reporting/trunk (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Nov 15 05:51:25 UTC 2019
Date: Friday, November 15, 2019 @ 05:51:25
Author: felixonmars
Revision: 528816
upgpkg: python-unittest-xml-reporting 2.5.2-1
Modified:
python-unittest-xml-reporting/trunk/PKGBUILD
Deleted:
python-unittest-xml-reporting/trunk/unittest-xml-reporting-python-3.8.patch
-----------------------------------------+
PKGBUILD | 15 ++++-----------
unittest-xml-reporting-python-3.8.patch | 14 --------------
2 files changed, 4 insertions(+), 25 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-11-15 05:51:20 UTC (rev 528815)
+++ PKGBUILD 2019-11-15 05:51:25 UTC (rev 528816)
@@ -3,8 +3,8 @@
# Contributor: Thomas S Hatch <thatch45 at gmail.com>
pkgname=python-unittest-xml-reporting
-pkgver=2.5.1
-pkgrel=4
+pkgver=2.5.2
+pkgrel=1
pkgdesc='unittest-based test runner with Ant/JUnit like XML reporting.'
arch=('any')
url='https://github.com/xmlrunner/unittest-xml-reporting'
@@ -12,16 +12,9 @@
depends=('python-six')
makedepends=('python-setuptools')
checkdepends=('python-lxml' 'python-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/xmlrunner/unittest-xml-reporting/archive/$pkgver.tar.gz"
- unittest-xml-reporting-python-3.8.patch)
-sha512sums=('86e3c78d0f5f41c05214e080bf31d47bf0c33d4d6b8ad8a6d9b5286086cab4d7b6e7bea27cda94e9184afc5830709d1ae6bc72355f4a9306d842d8abc01df7ca'
- 'c75efff884d8587dc34455e32f92f104827d7d9f21fc1e221e95d77911abbda41f09c9ef0247501ba4f3034ea650c236ddcae03956bd07b02711f0436b0499f7')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/xmlrunner/unittest-xml-reporting/archive/$pkgver.tar.gz")
+sha512sums=('0a1deb50b038a35aaee5b2df5d76ae496562057c33c871f6529539f9b88d54cdb24fdc807a5fd4fcbd00987a7a8008fd249ff8d82a3b06a945b66c0a6a251d11')
-prepare() {
- cd unittest-xml-reporting-$pkgver
- patch -p1 -i ../unittest-xml-reporting-python-3.8.patch # Update test for python 3.8
-}
-
build() {
cd unittest-xml-reporting-$pkgver
python setup.py build
Deleted: unittest-xml-reporting-python-3.8.patch
===================================================================
--- unittest-xml-reporting-python-3.8.patch 2019-11-15 05:51:20 UTC (rev 528815)
+++ unittest-xml-reporting-python-3.8.patch 2019-11-15 05:51:25 UTC (rev 528816)
@@ -1,14 +0,0 @@
-diff --git a/tests/testsuite.py b/tests/testsuite.py
-index 0b0cb7a..5de5814 100755
---- a/tests/testsuite.py
-+++ b/tests/testsuite.py
-@@ -306,8 +306,7 @@ class XMLTestRunnerTestCase(unittest.TestCase):
- outdir.seek(0)
- output = outdir.read()
- self.assertIn(
-- u'<skipped message="demonstrating non-ascii skipping: éçà" '
-- u'type="skip"/>'.encode('utf8'),
-+ u'<skipped type="skip" message="demonstrating non-ascii skipping: éçà"/>'.encode('utf8'),
- output)
-
- def test_xmlrunner_safe_xml_encoding_name(self):
More information about the arch-commits
mailing list