Can you please add the 'lemon' parser to portage, please? homepage: http://www.hwaci.com/sw/lemon/ debian package: http://packages.debian.org/unstable/devel/lemon Thanks, Nuno P.S.: I would like to become this package maintainer, but I don't have a mentor..
(In reply to comment #0) > P.S.: I would like to become this package maintainer, but I don't have a mentor.. What about attaching an ebuild first? ;)
Created attachment 65595 [details] a proposed ebuild ok, here it is an ebuild. Some problems: this program is not distributed via .tar.gz packages. It can only be downloaded from cvs or from a sqlite package. I've put the ebuild to download the source from the on-line cvs tracker, but that has a problem, because the file will then be named "lemon.c?v=1.x" instead of just lemon.c. I'm not sure how that can be handled. Please review this ebuild and let me know of any problems!
Hmm, using snaphosts for CVS ebuilds is preferred, live CVS ebuilds not that good idea. ;-) So I'd suggest you make a snapshot tarball and modify the ebuild accordingly. You can attach the tarball here when ready.
but it doesn't download the latest version of the program, it just downloads the revision specified in the ebuild. Anyway, a snapshot is easy. Just fetch the http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c?v=1.33 and bzip2/gzip it. But with a snapshot I don't know how to adjust the SRC_URI var, because that way the file must be downloaded from a mirror, not having an "official site".
(In reply to comment #4) > Anyway, a snapshot is easy. Just fetch the > http://www.sqlite.org/cvstrac/getfile/sqlite/tool/lemon.c?v=1.33 and bzip2/gzip it. > But with a snapshot I don't know how to adjust the SRC_URI var, because that way > the file must be downloaded from a mirror, not having an "official site". The point is that abusing other people's CVS like this is not really nice, while snapshots can be hosted in Gentoo distfiles repository and mirrored.
Created attachment 65612 [details] cvs snapshot OK, so here it is a cvs snapshot.
Created attachment 65687 [details] ebuild take 2
Thanks for the updated ebuild. Keywords probably do not follow policy [1], unless you really tested this on all those arches, then please fix them. [1] http://www.gentoo.org/proj/en/devrel/handbook/handbook.xml?part=2&chap=3
Created attachment 67406 [details] lemon-1.33.ebuild take 3 this should be fine now (I hope)
Hi all. I'm working on an ebuild for netsurf, a browser which needs lemon in order to compile. I was going to write an ebuild for lemon, based on the lemon.c contained in the sqlite sources, but I saw this bug and the only discussion I saw was regarding a cvs ebuild. I see several problems with this snapshot ebuild. 1) I do not see where the version number for this ebuild came from - was the sqlite in portage at v1.33 when this ebuild was posted? If that was the justification it would make more sense to base this ebuild on the version of lemon.c in the sqlite source tarball. 2) The cvs snapshot that was posted here is called lemon.c.bz2, whereas the ebuild is looking for lemon-1.33.bz2. 3) the ebuild doesn't fetch, because after all this time (4 years) the snapshot is still not up on any of the mirrors. 4) even if I rename the snapshot posted here and put it in /usr/portage/distfiles it still doesn't emerge because it can't find lemon.c. I need this package in portage, so I will write a new ebuild for it. I will probably base it on the sqlite source tarball, but if anyone disagrees, chime in here. Also, if anyone knows what I should use for a version number, or if I need a version number, please let me know.
I've written the ebuid for lemon. While writing it, I ran into this bug: http://www.sqlite.org/cvstrac/tktview?tn=3857, for which I had to write a patch. Please add this ebuild to portage. Thanks.
Created attachment 191101 [details] lemon-3.6.13.ebuild =dev-util/lemon-3.6.13.ebuild
Created attachment 191102 [details] files/lemon.patch =Patch so lemon will be able to find lempar.c in /usr/share/lemon