summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rwxr-xr-xPKGBUILD8
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 43812cb02b6..7aa5f432a0f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -7,18 +7,14 @@ pkgbase = python-coord-git
arch = x86_64
license = BSD
checkdepends = python-nose
+ checkdepends = python-cffi
+ checkdepends = python2-cffi
checkdepends = python2-nose
checkdepends = python-astropy
checkdepends = python2-astropy
makedepends = git
makedepends = python
- makedepends = python-cffi
- makedepends = python-numpy
- makedepends = python-future
makedepends = python2
- makedepends = python2-cffi
- makedepends = python2-numpy
- makedepends = python2-future
makedepends = python-setuptools
makedepends = python2-setuptools
source = python-coord-git::git+https://github.com/LSSTDESC/Coord.git
@@ -27,8 +23,12 @@ pkgbase = python-coord-git
pkgname = python-coord-git
depends = glibc
depends = python-cffi
+ depends = python-numpy
+ depends = python-future
pkgname = python2-coord-git
depends = glibc
depends = python2-cffi
+ depends = python2-numpy
+ depends = python2-future
diff --git a/PKGBUILD b/PKGBUILD
index 1507f79814a..ae7d31cdf06 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,8 +13,8 @@ pkgdesc=" Coord is a Python module that provides basic functionality related to
arch=('i686' 'x86_64')
url="https://github.com/LSSTDESC/Coord.git"
license=('BSD')
-makedepends=('git' 'python' 'python-cffi' 'python-numpy' 'python-future' 'python2' 'python2-cffi' 'python2-numpy' 'python2-future' 'python-setuptools' 'python2-setuptools')
-checkdepends=('python-nose' 'python2-nose' 'python-astropy' 'python2-astropy')
+makedepends=('git' 'python' 'python2' 'python-setuptools' 'python2-setuptools')
+checkdepends=('python-nose' 'python-cffi' 'python2-cffi' 'python2-nose' 'python-astropy' 'python2-astropy')
source=("${pkgbase}::git+${url}")
md5sums=('SKIP')
@@ -44,14 +44,14 @@ check() {
}
package_python-coord-git() {
- depends=('glibc' 'python-cffi')
+ depends=('glibc' 'python-cffi' 'python-numpy' 'python-future')
cd $pkgbase
python setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE
}
package_python2-coord-git() {
- depends=('glibc' 'python2-cffi')
+ depends=('glibc' 'python2-cffi' 'python2-numpy' 'python2-future')
cd $pkgbase-py2
python2 setup.py install --root=${pkgdir} --prefix=/usr --optimize=1
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/$pkgname/LICENSE