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

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:32:57 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:32:56
  Author: foutrelis
Revision: 1063118

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 1063117, 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 1063117, python-unittest-xml-reporting/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:32:56 UTC (rev 1063118)
@@ -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=3.0.4
+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=('ef147e73f9c2311a919593775a359b2f168cc5647ecdd322afcd7849f1a17750909b82cf6e1b5c0fda0e0b3ec2970aeb4077d6006e060cadc4f8c0e22a06ba50')
+
+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