[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Fri Nov 6 16:13:52 UTC 2015


    Date: Friday, November 6, 2015 @ 17:13:52
  Author: fyan
Revision: 146306

addpkg: python-nose-exclude 0.4.1-1

Added:
  python-nose-exclude/
  python-nose-exclude/repos/
  python-nose-exclude/trunk/
  python-nose-exclude/trunk/PKGBUILD

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

Added: python-nose-exclude/trunk/PKGBUILD
===================================================================
--- python-nose-exclude/trunk/PKGBUILD	                        (rev 0)
+++ python-nose-exclude/trunk/PKGBUILD	2015-11-06 16:13:52 UTC (rev 146306)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-nose-exclude
+pkgname=("python-nose-exclude" "python2-nose-exclude")
+pkgver=0.4.1
+pkgrel=1
+pkgdesc="Exclude specific directories from nosetests runs"
+arch=('any')
+url="https://github.com/kgrandis/nose-exclude"
+license=('LGPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-nose' 'python2-nose' 'git')
+source=("git+https://github.com/kgrandis/nose-exclude.git#tag=$pkgver")
+sha512sums=('SKIP')
+
+prepare() {
+  cp -a "nose-exclude"{,-py2}
+}
+
+build() {
+  cd "$srcdir/nose-exclude"
+  python setup.py build
+
+  cd "$srcdir/nose-exclude-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir/nose-exclude"
+  python setup.py test
+
+  cd "$srcdir/nose-exclude-py2"
+  python2 setup.py test
+}
+
+package_python-nose-exclude() {
+  depends=('python-nose')
+
+  cd nose-exclude
+  python setup.py install --root="${pkgdir}" --optimize=1
+}
+
+package_python2-nose-exclude() {
+  depends=('python2-nose')
+
+  cd nose-exclude-py2
+  python2 setup.py install --root="${pkgdir}" --optimize=1
+}


Property changes on: python-nose-exclude/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list