[arch-commits] Commit in python-unittest-xml-reporting/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 15:27:59 UTC 2019
Date: Friday, October 25, 2019 @ 15:27:58
Author: felixonmars
Revision: 519045
archrelease: copy trunk to community-staging-any
Added:
python-unittest-xml-reporting/repos/community-staging-any/
python-unittest-xml-reporting/repos/community-staging-any/PKGBUILD
(from rev 519043, python-unittest-xml-reporting/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-unittest-xml-reporting/repos/community-staging-any/PKGBUILD (from rev 519043, python-unittest-xml-reporting/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 15:27:58 UTC (rev 519045)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Thomas S Hatch <thatch45 at gmail.com>
+
+pkgname=python-unittest-xml-reporting
+pkgver=2.5.1
+pkgrel=3
+pkgdesc='unittest-based test runner with Ant/JUnit like XML reporting.'
+arch=('any')
+url='https://github.com/xmlrunner/unittest-xml-reporting'
+license=('BSD')
+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")
+sha512sums=('86e3c78d0f5f41c05214e080bf31d47bf0c33d4d6b8ad8a6d9b5286086cab4d7b6e7bea27cda94e9184afc5830709d1ae6bc72355f4a9306d842d8abc01df7ca')
+
+build() {
+ cd unittest-xml-reporting-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd unittest-xml-reporting-$pkgver
+ python setup.py test
+}
+
+package() {
+ cd unittest-xml-reporting-$pkgver
+ python setup.py install --root="$pkgdir" -O1
+
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
More information about the arch-commits
mailing list