summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorQuan Guo2015-09-28 18:57:18 +0200
committerQuan Guo2015-09-28 18:57:18 +0200
commita3c7f6059e1999d0f22a9d14da919d1cd26d7b28 (patch)
tree28b59a6d8684cc2f1572d023de673ae63c4c6790 /PKGBUILD
parenta2fa4c51a88be26ece836447ec0fdccb04e1cb74 (diff)
downloadaur-a3c7f6059e1999d0f22a9d14da919d1cd26d7b28.tar.gz
Fixed the PKGBUILD about depends
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 2 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4b73832e7d9..a49580a874b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,9 +11,6 @@ url='http://www.astroml.org/'
arch=('any')
license=('BSD-3-Clause')
-depends=('python-numpy' 'python2-numpy' 'python-scipy' 'python2-scipy'
- 'python-scikit-learn' 'python2-scikit-learn' 'python-matplotlib'
- 'python2-matplotlib')
optdepends=('astroml-examples-git')
@@ -39,6 +36,7 @@ package_python-astroml-git() {
conflicts=('python-astroml' )
optdepends=('astroml-examples-git' 'python-addons-git')
provides=('python-astroml')
+ depends=('python-numpy' 'python-scipy' 'python-scikit-learn' 'python-matplotlib')
cd "${srcdir}/${_pkgname}"
python ./setup.py install --root="${pkgdir}" --prefix=/usr
@@ -58,6 +56,7 @@ package_python2-astroml-git() {
conflicts=('python2-astroml' )
optdepends=('astroml-examples-git' 'python2-addons-git')
provides=('python2-astroml')
+ depends=('python2-numpy' 'python2-scipy' 'python2-scikit-learn' 'python2-matplotlib')
cd "${srcdir}/${_pkgname}-py2"
python2 ./setup.py install --root="${pkgdir}" --prefix=/usr