Updated to use the new hg repo.
Search Criteria
Package Details: snakefood-hg 286-1
Package Actions
| Package Base: | snakefood-hg |
|---|---|
| Description: | Generate dependency graphs from Python code |
| Upstream URL: | http://furius.ca/snakefood/ |
| Category: | devel |
| Licenses: | |
| Conflicts: | |
| Provides: | |
| Submitter: | None |
| Maintainer: | City-busz |
| Last Packager: | City-busz |
| Votes: | 4 |
| First Submitted: | 2009-06-06 20:22 |
| Last Updated: | 2015-03-08 19:57 |
Required by (0)
Sources
Latest Comments
Comment by City-busz
Comment by City-busz
No, I don't want to apply dirty hack. Do you know why isn't it verified?
Comment by yan12125
Seems http://hg.furius.ca/ redirects to a https site and its SSL certificate can't be verified. A dirty hack can be found in hg() function of the PKGBUILD of beancount-hg
[1] https://aur.archlinux.org/packages/be/beancount-hg/PKGBUILD
Comment by City-busz
Thanks for explain this, now I fixed the problem. I used the PKGBUILD-hg.proto file as a template for this PKGBUILD, so I reported this problem here: https://bugs.archlinux.org/task/31712
Comment by kachelaqa
sorry - my previous comment was very unclear. To clarify, the following two methods will work:
(1) hg clone https://hg.furius.ca/public/snakefood snakefood
(2) hg clone https://hg.furius.ca/public/snakefood
the pkgbuild currently uses method (1), but makepkg uses method (2). specifically, makepkg does:
hg clone $_hgroot/$_hgrepo (see line 1759)
which, given the current pkgbuild, will expand to:
hg clone https://hg.furius.ca/public/snakefood/snakefood
resulting in the previously mentioned 404 when attempting to update.
so as well as changing the _hgroot to "https://hg.furius.ca/public", the pkgbuild also needs to use:
hg clone $_hgroot/$_hgrepo
in the build function.
Comment by City-busz
@kachelaqa: how did you get this? It fails to download if I modify the source to "https://hg.furius.ca/public". Only "https://hg.furius.ca/public/snakefood" works for me.
Comment by kachelaqa
makepkg is giving this error when attempting an update: "abort: HTTP Error 404: Not Found"
this can be fixed by changing _hgroot in the PKGBUILD to: "https://hg.furius.ca/public"