summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuan Guo2015-09-28 18:57:18 +0200
committerQuan Guo2015-09-28 18:57:18 +0200
commita3c7f6059e1999d0f22a9d14da919d1cd26d7b28 (patch)
tree28b59a6d8684cc2f1572d023de673ae63c4c6790
parenta2fa4c51a88be26ece836447ec0fdccb04e1cb74 (diff)
downloadaur-a3c7f6059e1999d0f22a9d14da919d1cd26d7b28.tar.gz
Fixed the PKGBUILD about depends
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD5
2 files changed, 10 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3de6e94f539..51473700134 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,26 +5,26 @@ pkgbase = python2-astroml-git
url = http://www.astroml.org/
arch = any
license = BSD-3-Clause
- depends = python-numpy
- depends = python2-numpy
- depends = python-scipy
- depends = python2-scipy
- depends = python-scikit-learn
- depends = python2-scikit-learn
- depends = python-matplotlib
- depends = python2-matplotlib
optdepends = astroml-examples-git
conflicts = python2-astroml
source = git+https://github.com/astroML/astroML.git
md5sums = SKIP
pkgname = python2-astroml-git
+ depends = python2-numpy
+ depends = python2-scipy
+ depends = python2-scikit-learn
+ depends = python2-matplotlib
optdepends = astroml-examples-git
optdepends = python2-addons-git
provides = python2-astroml
conflicts = python2-astroml
pkgname = python-astroml-git
+ depends = python-numpy
+ depends = python-scipy
+ depends = python-scikit-learn
+ depends = python-matplotlib
optdepends = astroml-examples-git
optdepends = python-addons-git
provides = python-astroml
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