First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 50552
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ciaran McCreesh <ciaran.mccreesh@googlemail.com>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Emil Erlandsson <emil@buglix.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
txt2regex-0.7.ebuild txt2regex-0.7.ebuild text/plain Emil Erlandsson 2004-05-09 08:55 0000 667 bytes Details
txt2regex-0.7-makefile.patch txt2regex-0.7-makefile.patch patch Emil Erlandsson 2004-05-09 08:55 0000 699 bytes Details | Diff
txt2regex-0.7.ebuild txt2regex-0.7.ebuild text/plain Emil Erlandsson 2004-05-09 10:09 0000 701 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 50552 depends on: Show dependency tree
Bug 50552 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-09 08:53 0000
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

------- Comment #1 From Emil Erlandsson 2004-05-09 08:55:12 0000 -------
Created an attachment (id=31054) [edit]
txt2regex-0.7.ebuild

------- Comment #2 From Emil Erlandsson 2004-05-09 08:55:34 0000 -------
Created an attachment (id=31055) [edit]
txt2regex-0.7-makefile.patch

------- Comment #3 From Emil Erlandsson 2004-05-09 10:09:20 0000 -------
Created an attachment (id=31060) [edit]
txt2regex-0.7.ebuild

I forgot to add "newman txt2regex.man txt2regex.6" which installs the man-file.

------- Comment #4 From Ciaran McCreesh 2004-05-24 14:05:03 0000 -------
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).

------- Comment #5 From Ciaran McCreesh 2004-05-24 14:13:46 0000 -------
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})?

------- Comment #6 From Bryan Østergaard (RETIRED) 2004-05-25 17:51:40 0000 -------
Keyworded ~alpha.

------- Comment #7 From Jason Huebel (RETIRED) 2004-05-26 08:28:04 0000 -------
~amd64

------- Comment #8 From SpanKY 2004-06-11 18:22:30 0000 -------
added hppa

------- Comment #9 From Ciaran McCreesh 2004-08-12 06:16:45 0000 -------
Marking as FIXED.

First Last Prev Next    No search results available      Search page      Enter new bug