[PKGBUILD] 'Missing dependencies' even though they're installed
I am trying to write a PKGBUILD for gvcci. Here it is:
pkgname=gvcci-git
pkgver=0.0.1.r0.g6d59e8d
pkgrel=1
pkgdesc="color extraction to turn images into 16 color palettes "
arch=("any")
url="https://github.com/FabriceCastel/gvcci"
license=('MIT')
depends=('python', 'python-setuptools', 'python-numpy', 'python-scikit-learn', 'python-scikit-image', 'python-hasel', 'python-pystache')
makedepends=('git')
source=('lead-git::git+https://github.com/mlde/lead.git')
md5sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/${pkgname}"
make
}
package() {
cd "$srcdir/${pkgname}"
cp -r data/* "$pkgdir"
}
When I makepkg, I get:
==> Making package: gvcci-git 0.0.1.r0.g6d59e8d-1 (Fri Dec 15 16:00:13 AST 2017)
==> Checking runtime dependencies...
==> Missing dependencies:
-> python,
-> python-setuptools,
-> python-numpy,
-> python-scikit-learn,
-> python-scikit-image,
-> python-hasel,
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
==> ERROR: An unknown error has occurred. Exiting...
I can verify that these are all installed with pacaur -Q | grep python-.
uname -a:
Linux Zeus 4.14.5-1-ARCH #1 SMP PREEMPT Sun Dec 10 14:50:30 UTC 2017 x86_64 GNU/Linux
I have reproduced this on my laptop as well as on my desktop. Any idea what might cause this? Thanks.
Edit: Solution
I am dumb. Bash arrays do not have commas. Thanks /u/K900_!!
Edited 15 Dec 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 7k28vm