Hello, This is a new ebuild for a program (or actually a very advanced Bash-script) called ^txt2regex$ (http://txt2regex.sourceforge.net). It is a great aid when creating regular expressions for a hand full of different languages (Perl, PHP etc). It transforms rules from plain text to regex. I have created a small patch that corrects the Man-path in the Makefile, and also removes some Makefile output. I suggest dev-util/txt2regex as category and name. Please find attatched txt2regex-0.7.ebuild and txt2regex-0.7-makefile.patch. I want to become an Gentoo Developer, and this is my first contribution. Please give me some critique on it, and if possible, give me something else I could do =) Emil
Created attachment 31054 [details] txt2regex-0.7.ebuild
Created attachment 31055 [details, diff] txt2regex-0.7-makefile.patch
Created attachment 31060 [details] txt2regex-0.7.ebuild I forgot to add "newman txt2regex.man txt2regex.6" which installs the man-file.
I've committed a slightly modified version to CVS. I made the following changes: * Slightly shorter DESCRIPTION * No need for the patch, we can just pass MANDIR= * Use einstall instead of make install * No need for that DOCS global thing * Added ~sparc ~mips to KEYWORDS, since I can test on those. I left in ~x86, since I assume you tested on that :) Thanks very much for your contribution. Feel free to come on irc.freenode.net and pester me if you'd like to discuss any ebuild-related things (my nick is ciaranm).
Arch people -- this one's a bash script, so it should be arch neutral. Please consider adding in a keyword for your arch if you feel it's appropriate. Simple test case: * run txt2regex from inside a terminal * ensure the display looks reasonable * press a few number keys and check that the regexes are generated properly * press . twice to exit And another: * Run "txt2regex --prog perl --make number2" and check that the output resembles: ### number LEVEL 2: level 1 plus optional float point RegEx perl: [+-]?[0-9]+(\.[0-9]{2})?
Keyworded ~alpha.
~amd64
added hppa
Marking as FIXED.