Skip to content

[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.

0 points2 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 100% up
Kind
Text
ID
7k28vm

Author

61
posts
765
comments
21
media
View profile
No comments archived yet. Reddit counts 2.

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.