[MacPorts] #38873: tesseract @3.01: fix livecheck
#38873: tesseract @3.01: fix livecheck ---------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: tesseract ---------------------+-------------------------------- {{{ 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 -- Ticket URL: <https://trac.macports.org/ticket/38873> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------------------- Comment (by emer@…): Not sure why this doesn't work. I'll look into it. -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------- Changes (by jmr@…): * owner: macports-tickets@… => emer@… * cc: emer@… (removed) -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------- Comment (by emer@…): Still not sure why this doesn't work. googlecode:tesseract-ocr works to download... -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------- Comment (by larryv@…): Replying to [comment:3 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. -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tesseract | ------------------------+-------------------- Comment (by emer@…): This patch should be applied, it works. -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38873: tesseract @3.01: fix livecheck ------------------------+-------------------- Reporter: egall@… | Owner: emer@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: tesseract | ------------------------+-------------------- Changes (by larryv@…): * status: new => closed * resolution: => fixed Comment: Thanks, see r107842. -- Ticket URL: <https://trac.macports.org/ticket/38873#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts