[arch-commits] Commit in python-nosexcover/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 23:44:30 UTC 2021


    Date: Thursday, December 2, 2021 @ 23:44:29
  Author: foutrelis
Revision: 1063297

archrelease: copy trunk to community-staging-any

Added:
  python-nosexcover/repos/community-staging-any/
  python-nosexcover/repos/community-staging-any/PKGBUILD
    (from rev 1063296, python-nosexcover/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: python-nosexcover/repos/community-staging-any/PKGBUILD (from rev 1063296, python-nosexcover/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-02 23:44:29 UTC (rev 1063297)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-nosexcover
+pkgver=1.0.11
+pkgrel=7
+pkgdesc="Extends nose.plugins.cover to add Cobertura-style XML reports"
+url="https://pypi.python.org/pypi/nosexcover"
+license=('BSD')
+arch=('any')
+depends=('python-nose' 'python-coverage')
+makedepends=('python-setuptools' 'python-nose' 'python-coverage')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/cmheisel/nose-xcover/archive/v$pkgver.tar.gz")
+sha512sums=('e606e89b75d51c728d1487200f4a38afe1af93defabe6bd847b80d597374e7bb10abc2e5c8e6778bbd4f17ba8b8d7a601864a8277cd14437ee94a9e04996cf22')
+
+build() {
+  cd "$srcdir"/nose-xcover-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd "$srcdir"/nose-xcover-$pkgver
+  nosetests3 -v nosexcover/tests.py
+}
+
+package() {
+  cd nose-xcover-$pkgver
+  python3 setup.py install --root="$pkgdir" --optimize=1
+  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}



More information about the arch-commits mailing list