Opened 12 years ago

Closed 12 years ago

#32387 closed defect (fixed)

txt2regex @0.8_0 fails to perform a livecheck

Reported by: nonstop.server@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch Cc: grrr@…
Port: txt2regex

Description

Port txt2regex fails to perform a livecheck.

% port -v livecheck txt2regex
Error: cannot check if txt2regex was updated (regex didn't match)

Setting variables livecheck.regex, livecheck.type, and livecheck.url seems to do the trick.

% port -d livecheck txt2regex \
>livecheck.regex='txt2regex-(\[0-9\.\]*)\.tgz' \
>livecheck.type=regex \
>livecheck.url=http://aurelio.net/txt2regex/
DEBUG: livecheck phase started at Sat Dec  3 23:35:02 CET 2011
DEBUG: Executing org.macports.livecheck (txt2regex)
DEBUG: Portfile modification date is Sat Dec 03 23:17:12 CET 2011
DEBUG: Port (livecheck) version is 0.8
DEBUG: Fetching http://aurelio.net/txt2regex/
DEBUG: The regex is "txt2regex-([0-9.]*).tgz"
DEBUG: The regex matched "txt2regex-0.8.tgz", extracted "0.8"
txt2regex seems to be up to date

Attachments (2)

txt2regex.diff (411 bytes) - added by nonstop.server@… 12 years ago.
proposed patch
Portfile-txt2regex.diff (597 bytes) - added by grrr@… 12 years ago.
Updated Portfile diff

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by nonstop.server@…

Attachment: txt2regex.diff added

proposed patch

comment:1 Changed 12 years ago by grrr@…

Updated Portfile attached with patch.

Changed 12 years ago by grrr@…

Attachment: Portfile-txt2regex.diff added

Updated Portfile diff

comment:2 in reply to:  1 Changed 12 years ago by grrr@…

Replying to grrr@…:

Updated Portfile attached with patch.

I meant updated Portfile diff (with patch) attached.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Has duplicate #32446.

There is no reason to increase the revision, since the files installed by the port are not changing due to this change.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.