Opened 11 years ago

Closed 11 years ago

#38873 closed defect (fixed)

tesseract @3.01: fix livecheck

Reported by: cooljeanius (Eric Gallager) Owned by: markemer (Mark Anderson)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc: larryv (Lawrence Velázquez)
Port: tesseract

Description

Local-Admins-MacBook-Pro:~ ericgallager$ port -v livecheck tesseract
Error: cannot check if tesseract was updated (Couldn't resolve host 'googlecode:tesseract-ocr')

Split off from #38871

Attachments (1)

tesseract-livecheck.diff (596 bytes) - added by larryv (Lawrence Velázquez) 11 years ago.
livecheck fix

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by markemer (Mark Anderson)

Not sure why this doesn't work. I'll look into it.

comment:2 Changed 11 years ago by jmroot (Joshua Root)

Cc: emer@… removed
Owner: changed from macports-tickets@… to emer@…

comment:3 Changed 11 years ago by markemer (Mark Anderson)

Still not sure why this doesn't work. googlecode:tesseract-ocr works to download...

comment:4 in reply to:  3 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to emer@…:

Still not sure why this doesn't work. googlecode:tesseract-ocr works to download...

MacPorts maps master_sites values like “googlecode” to URLs, but it expects livecheck.url to be a valid URL already. What you want here is to set livecheck.type to “googlecode” (which is the default if master_sites is “googlecode”) and set livecheck.regex to pick up the new distfile naming scheme. Here’s a patch that does that.

Changed 11 years ago by larryv (Lawrence Velázquez)

Attachment: tesseract-livecheck.diff added

livecheck fix

comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)

Cc: larryv@… added

Cc Me!

comment:6 Changed 11 years ago by markemer (Mark Anderson)

This patch should be applied, it works.

comment:7 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Thanks, see r107842.

Note: See TracTickets for help on using tickets.