[arch-commits] Commit in python-unittest-xml-reporting/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Sat Mar 16 08:33:33 UTC 2019


    Date: Saturday, March 16, 2019 @ 08:33:32
  Author: felixonmars
Revision: 442125

archrelease: copy trunk to community-any

Added:
  python-unittest-xml-reporting/repos/community-any/PKGBUILD
    (from rev 442124, python-unittest-xml-reporting/trunk/PKGBUILD)
Deleted:
  python-unittest-xml-reporting/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-16 08:33:17 UTC (rev 442124)
+++ PKGBUILD	2019-03-16 08:33:32 UTC (rev 442125)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-# Contributor: Thomas S Hatch <thatch45 at gmail.com>
-
-pkgbase=python-unittest-xml-reporting
-pkgname=('python-unittest-xml-reporting' 'python2-unittest-xml-reporting')
-pkgver=2.3.2
-pkgrel=1
-pkgdesc='unittest-based test runner with Ant/JUnit like XML reporting.'
-arch=('any')
-url='https://github.com/xmlrunner/unittest-xml-reporting'
-license=('BSD')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-lxml' 'python2-lxml' 'python-mock' 'python2-mock')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/xmlrunner/unittest-xml-reporting/archive/$pkgver.tar.gz")
-sha512sums=('a6605253095432583c3645b826044e81fa71178071880a968d3daca733f874d768f284e29068f3e1feb1c395c288e9a6be242dcd506f73571d1444555b471cc9')
-
-prepare() {
-  cp -a unittest-xml-reporting-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/unittest-xml-reporting-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/unittest-xml-reporting-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/unittest-xml-reporting-$pkgver
-  # https://github.com/xmlrunner/unittest-xml-reporting/issues/160
-  python setup.py test || warning "Tests failed"
-
-  cd "$srcdir"/unittest-xml-reporting-$pkgver-py2
-  python2 setup.py test
-}
-
-package_python-unittest-xml-reporting() {
-  depends=('python-six')
-
-  cd unittest-xml-reporting-$pkgver
-  python setup.py install --root="$pkgdir" -O1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-unittest-xml-reporting() {
-  depends=('python2-six')
-
-  cd unittest-xml-reporting-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" -O1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-unittest-xml-reporting/repos/community-any/PKGBUILD (from rev 442124, python-unittest-xml-reporting/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-16 08:33:32 UTC (rev 442125)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgbase=python-unittest-xml-reporting
+pkgname=('python-unittest-xml-reporting' 'python2-unittest-xml-reporting')
+pkgver=2.4.0
+pkgrel=1
+pkgdesc='unittest-based test runner with Ant/JUnit like XML reporting.'
+arch=('any')
+url='https://github.com/xmlrunner/unittest-xml-reporting'
+license=('BSD')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-lxml' 'python2-lxml' 'python-mock' 'python2-mock')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/xmlrunner/unittest-xml-reporting/archive/$pkgver.tar.gz")
+sha512sums=('80eca4eb940187366084d90ed7866c6e5666e19c24a12daa9799509fc49ca58a73b62fab9cc79428961ff83b96f531c761ef4ae808af6ad8a4bec3f9ef6ad976')
+
+prepare() {
+  cp -a unittest-xml-reporting-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/unittest-xml-reporting-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/unittest-xml-reporting-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/unittest-xml-reporting-$pkgver
+  # https://github.com/xmlrunner/unittest-xml-reporting/issues/160
+  python setup.py test || warning "Tests failed"
+
+  cd "$srcdir"/unittest-xml-reporting-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-unittest-xml-reporting() {
+  depends=('python-six')
+
+  cd unittest-xml-reporting-$pkgver
+  python setup.py install --root="$pkgdir" -O1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-unittest-xml-reporting() {
+  depends=('python2-six')
+
+  cd unittest-xml-reporting-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" -O1
+
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}


More information about the arch-commits mailing list