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

Felix Yan felixonmars at archlinux.org
Thu May 9 14:56:37 UTC 2019


    Date: Thursday, May 9, 2019 @ 14:56:36
  Author: felixonmars
Revision: 464603

archrelease: copy trunk to community-any

Added:
  python-unittest-xml-reporting/repos/community-any/PKGBUILD
    (from rev 464601, 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-05-09 14:56:33 UTC (rev 464602)
+++ PKGBUILD	2019-05-09 14:56:36 UTC (rev 464603)
@@ -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.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
-}

Copied: python-unittest-xml-reporting/repos/community-any/PKGBUILD (from rev 464601, python-unittest-xml-reporting/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-09 14:56:36 UTC (rev 464603)
@@ -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.5.1
+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=('86e3c78d0f5f41c05214e080bf31d47bf0c33d4d6b8ad8a6d9b5286086cab4d7b6e7bea27cda94e9184afc5830709d1ae6bc72355f4a9306d842d8abc01df7ca')
+
+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