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

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sun Dec 25 18:25:18 UTC 2016


    Date: Sunday, December 25, 2016 @ 18:25:17
  Author: bpiotrowski
Revision: 202246

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 202245, python-nose-cover3/trunk/PKGBUILD)

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

Copied: python-nose-cover3/repos/community-staging-any/PKGBUILD (from rev 202245, python-nose-cover3/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2016-12-25 18:25:17 UTC (rev 202246)
@@ -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=3
+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