[arch-commits] Commit in python-nosexcover/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Wed May 13 19:55:10 UTC 2020


    Date: Wednesday, May 13, 2020 @ 19:55:09
  Author: jelle
Revision: 627772

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 19:55:01 UTC (rev 627771)
+++ PKGBUILD	2020-05-13 19:55:09 UTC (rev 627772)
@@ -1,52 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
-# Contributor: Kyle Keen <keenerd at gmail.com>
-
-pkgbase=python-nosexcover
-pkgname=(python-nosexcover python2-nosexcover)
-pkgver=1.0.11
-pkgrel=4
-pkgdesc="Extends nose.plugins.cover to add Cobertura-style XML reports"
-url="https://pypi.python.org/pypi/nosexcover"
-license=('BSD')
-arch=('any')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose' 'python-coverage'
-             'python2-coverage')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/cmheisel/nose-xcover/archive/v$pkgver.tar.gz")
-sha512sums=('e606e89b75d51c728d1487200f4a38afe1af93defabe6bd847b80d597374e7bb10abc2e5c8e6778bbd4f17ba8b8d7a601864a8277cd14437ee94a9e04996cf22')
-
-prepare() {
-  cp -a nose-xcover-$pkgver{,-py2}
-}
-
-build() {
-  cd "$srcdir"/nose-xcover-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/nose-xcover-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/nose-xcover-$pkgver
-  nosetests3 -v nosexcover/tests.py
-
-  cd "$srcdir"/nose-xcover-$pkgver-py2
-  nosetests2 -v nosexcover/tests.py
-}
-
-package_python-nosexcover() {
-  depends=('python-nose' 'python-coverage')
-
-  cd nose-xcover-$pkgver
-  python3 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
-
-package_python2-nosexcover() {
-  depends=('python2-nose' 'python2-coverage')
-
-  cd nose-xcover-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-  install -D -m644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-nosexcover/repos/community-any/PKGBUILD (from rev 627771, python-nosexcover/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 19:55:09 UTC (rev 627772)
@@ -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=5
+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