Package Details: when-changed-git 0.r62.7a2df66-1

Git Clone URL: https://aur.archlinux.org/when-changed-git.git (read-only)
Package Base: when-changed-git
Description: Execute a command when a file is changed.
Upstream URL: https://github.com/joh/when-changed
Licenses: BSD
Conflicts: when-changed
Provides: when-changed
Submitter: rhssk
Maintainer: rhssk
Last Packager: rhssk
Votes: 3
Popularity: 0.173385
First Submitted: 2016-12-21 13:50
Last Updated: 2017-04-11 21:36

Latest Comments

rhssk commented on 2017-04-12 07:40

@cjlarose

No problem.
Just tested it. python-setuptools is still needed after the installation or else when-changed complains about "No module named 'pkg_resources'" (which is provided by setuptools).

cjlarose commented on 2017-04-12 05:08

@rhssk Thanks for being so responsive! Also, I'm not 100% sure about this, but I think `python-setuptools` can be declared under `makedepends` because it's only required to build the package--it's not required to run the program.

rhssk commented on 2017-04-11 21:38

@cjlarose

Thanks, updated

cjlarose commented on 2017-04-11 21:24

This package fails to build without setuptools installed

==> Retrieving sources...
-> Cloning when-changed git repo...
Cloning into bare repository '/tmp/yaourt-tmp-cjlarose/aur-when-changed-git/when-changed'...
remote: Counting objects: 347, done.
remote: Total 347 (delta 0), reused 0 (delta 0), pack-reused 347
Receiving objects: 100% (347/347), 59.83 KiB | 0 bytes/s, done.
Resolving deltas: 100% (158/158), done.
==> Validating source files with sha256sums...
when-changed ... Skipped
==> Extracting sources...
-> Creating working copy of when-changed git repo...
Cloning into 'when-changed'...
done.
==> Starting pkgver()...
==> Updated version: when-changed-git 0.r65.85de2f2-1
==> Entering fakeroot environment...
==> Starting package()...
Traceback (most recent call last):
File "setup.py", line 1, in <module>
from setuptools import setup
ModuleNotFoundError: No module named 'setuptools'
==> ERROR: A failure occurred in package().
Aborting...
==> ERROR: Makepkg was unable to build when-changed-git.
==> Restart building when-changed-git ? [y/N]
==> -----------------------------------------
==> N


I think it's missing a build dependency on the `python-setuptools` package

rhssk commented on 2017-01-02 09:52

@dhtseany Missed the fact that it was Python3 compatible. Updated.

dhtseany commented on 2016-12-30 16:57

Hi, I was having issues building this until I edited your PKGBUILD and changed the following line from:

python2 setup.py install --root="$pkgdir" --optimize=1

...to:

python setup.py install --root="$pkgdir" --optimize=1