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

Felix Yan fyan at archlinux.org
Sat Sep 19 12:57:39 UTC 2015


    Date: Saturday, September 19, 2015 @ 14:57:39
  Author: fyan
Revision: 140793

archrelease: copy trunk to community-staging-any

Added:
  python-nose-cover3/repos/community-staging-any/
  python-nose-cover3/repos/community-staging-any/PKGBUILD
    (from rev 140792, python-nose-cover3/trunk/PKGBUILD)

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

Copied: python-nose-cover3/repos/community-staging-any/PKGBUILD (from rev 140792, python-nose-cover3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2015-09-19 12:57:39 UTC (rev 140793)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-nose-cover3
+pkgname=("python-nose-cover3" "python2-nose-cover3")
+pkgver=0.1.0
+pkgrel=2
+pkgdesc="Coverage 3.x support for Nose"
+arch=(any)
+url="https://github.com/ask/nosecover3"
+license=('LGPL')
+options=('!emptydirs')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+source=("git+https://github.com/ask/nosecover3.git#tag=v$pkgver")
+
+prepare() {
+  cp -r "nosecover3"{,-py2}
+}
+
+package_python-nose-cover3() {
+  depends=('python-nose' 'python-coverage')
+
+  cd nosecover3
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-nose-cover3() {
+  depends=('python2-nose' 'python2-coverage')
+
+  cd nosecover3-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}
+
+sha512sums=('SKIP')



More information about the arch-commits mailing list