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

Felix Yan felixonmars at archlinux.org
Tue Feb 19 20:36:50 UTC 2019


    Date: Tuesday, February 19, 2019 @ 20:36:47
  Author: felixonmars
Revision: 434633

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-19 20:36:29 UTC (rev 434632)
+++ PKGBUILD	2019-02-19 20:36:47 UTC (rev 434633)
@@ -1,48 +0,0 @@
-# $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
-}

Copied: python-nose-exclude/repos/community-any/PKGBUILD (from rev 434632, python-nose-exclude/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-02-19 20:36:47 UTC (rev 434633)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-nose-exclude
+pkgver=0.5.0
+pkgrel=4
+pkgdesc="Exclude specific directories from nosetests runs"
+arch=('any')
+url="https://github.com/kgrandis/nose-exclude"
+license=('LGPL')
+depends=('python-nose')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kgrandis/nose-exclude/archive/$pkgver.tar.gz")
+sha512sums=('0d8a21687831c825524c0cbb2da5b2195482558e2d2b0088944ccdf2d74787353f350ebbece8c4ce80f576426767ecb670afccbaf9f850e8476e1d2260bcc381')
+
+build() {
+  cd nose-exclude-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd nose-exclude-$pkgver
+  python setup.py test
+}
+
+package() {
+  cd nose-exclude-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list