@alkino: Updated to make pygments an optdepends, thx. Concerning your other issue there is nothing I can do, I'm just making the PKGBUILD, you should see that with the software author.
Search Criteria
Package Details: colout-git 20131109-1
Package Actions
| Package Base: | colout-git |
|---|---|
| Description: | Reads text on stdin and produces colorized and stylized output |
| Upstream URL: | http://nojhan.github.com/colout/ |
| Category: | devel |
| Licenses: | |
| Submitter: | gentledevil |
| Maintainer: | gentledevil |
| Last Packager: | None |
| Votes: | 13 |
| First Submitted: | 2013-04-04 21:35 |
| Last Updated: | 2013-11-09 10:56 |
Latest Comments
Comment by gentledevil
Comment by alkino
python-pygments seems to be an "optdepends" instead of a "depends".
More over the domain of gcc (in /usr/lib/python3.3/site-packages/colout/colout_g++.py) seems to be "gcc" and not `"gcc-"+gv`. But I can't test because I got problem of utf-8 after...
Comment by gentledevil
@mihai303: Updated, thanks. I didn't see that a setup.py had been added.
Anonymous comment
Consider using the standard install rule in order to avoid future work on the packaging part. Thanks for the PKGBUILD.
package() {
cd "$srcdir/$pkgname"
python setup.py install --root="$pkgdir/" --optimize=1
}
Comment by gentledevil
Updated, thanks.
Comment by natestar13
The line that copies the python scripts needs to be updated. I changed it to the following and it works:
cp $_gitname/colout/*.py $pkgdir/usr/share/colout/
Comment by proft
Some trouble ...
==> Performing source checkout...
Cloning into 'colout'...
remote: Counting objects: 275, done.
remote: Compressing objects: 100% (190/190), done.
remote: Total 275 (delta 107), reused 243 (delta 75)
Receiving objects: 100% (275/275), 895.20 KiB | 319 KiB/s, done.
Resolving deltas: 100% (107/107), done.
==> Source checkout finished.
==> Entering fakeroot environment...
==> Starting package()...
chmod: cannot access ‘/tmp/yaourt-tmp-proft/aur-colout-git/pkg/colout-git/usr/share/colout/colout.py’: No such file or directory
==> ERROR: A failure occurred in package().
Aborting...