summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorS├ębastien Leduc2015-09-06 21:50:44 +0200
committerS├ębastien Leduc2015-09-06 21:50:44 +0200
commit1819f848419c117386a1b3e9f695826cd7d27b41 (patch)
tree8e2f7833be212d47d333d2fca27013f7b8827c10 /PKGBUILD
parent10bb49186e901d59cb3f4b12d6b59da4f88699f9 (diff)
downloadaur-python-cov-core.tar.gz
makedepends can not be overriden in package sub-function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 38b54eaacfe..e22b56ec0c7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,11 +4,12 @@
pkgname=('python-cov-core' 'python2-cov-core')
_distname=cov-core
pkgver=1.15.0
-pkgrel=1
+pkgrel=2
pkgdesc='plugin core for use by pytest-cov, nose-cov and nose2-cov'
arch=('any')
license=('MIT')
url='https://github.com/schlamar/cov-core'
+makedepends=("python-setuptools" "python2-setuptools" "python" "python2")
source=("http://pypi.python.org/packages/source/c/$_distname/$_distname-$pkgver.tar.gz")
md5sums=('f519d4cb4c4e52856afb14af52919fe6')
@@ -19,7 +20,6 @@ prepare() {
package_python-cov-core() {
depends=('python' 'python-coverage')
- makedepends=("python-setuptools")
cd "$srcdir/$_distname-$pkgver"
python setup.py install --root="$pkgdir"/ --optimize=1
@@ -27,7 +27,6 @@ package_python-cov-core() {
package_python2-cov-core() {
depends=('python2' 'python2-coverage')
- makedepends=("python2-setuptools")
cd "$srcdir/$_distname-$pkgver-python2"
python2 setup.py install --root="$pkgdir"/ --optimize=1