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

Evangelos Foutras foutrelis at archlinux.org
Sat Jun 30 18:44:26 UTC 2018


    Date: Saturday, June 30, 2018 @ 18:44:25
  Author: foutrelis
Revision: 349090

archrelease: copy trunk to community-staging-any

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

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

Copied: python-nose-exclude/repos/community-staging-any/PKGBUILD (from rev 349089, python-nose-exclude/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-06-30 18:44:25 UTC (rev 349090)
@@ -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.5.0
+pkgrel=3
+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
+}



More information about the arch-commits mailing list