[MacPorts] #46143: octave-time has been merged into octave-financial
#46143: octave-time has been merged into octave-financial ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: haspatch | Port: octave-time ----------------------------+-------------------------------- octave-time has been merged into octave-financial. See http://octave.sourceforge.net/packages.php. -- Ticket URL: <https://trac.macports.org/ticket/46143> MacPorts <https://www.macports.org/> Ports system for OS X
#46143: octave-time has been merged into octave-financial -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: octave-time | -----------------------------+-------------------------------- Comment (by ryandesign@…): The error message you're having the port print in the pre-configure block says the port is replaced by octave-miscellaneous, but it's actually replaced by octave-financial. Probably a copy/paste error, but it illustrates the pitfalls of repeating information in a portfile. For values that are used more than once in a portfile, define the value only once, in a variable, then use that variable anywhere else it's needed. In this case, the variable is `${replaced_by}`. Or use the `obsolete 1.0` portgroup to simplify the port and also avoid this problem. -- Ticket URL: <https://trac.macports.org/ticket/46143#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46143: octave-time has been merged into octave-financial -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: octave-time | -----------------------------+-------------------------------- Comment (by mschamschula@…): Replying to [comment:1 ryandesign@…]:
The error message you're having the port print in the pre-configure block says the port is replaced by octave-miscellaneous, but it's actually replaced by octave-financial. Probably a copy/paste error, but it illustrates the pitfalls of repeating information in a portfile. For values that are used more than once in a portfile, define the value only once, in a variable, then use that variable anywhere else it's needed. In this case, the variable is `${replaced_by}`. Or use the `obsolete 1.0` portgroup to simplify the port and also avoid this problem.
As per Ryan's suggestion, changed Portfile to use PortGroup obsolete. -- Ticket URL: <https://trac.macports.org/ticket/46143#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46143: octave-time has been merged into octave-financial -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: haspatch Port: octave-time | -----------------------------+-------------------------------- Comment (by khindenburg@…): I noticed when obsoleting another octave port that using the PortGroup obsolete doesn't print out an error message if you try to install it. I had to add a pre-fetch error message. I presume that something in the octave PortGroup is causing this. -- Ticket URL: <https://trac.macports.org/ticket/46143#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#46143: octave-time has been merged into octave-financial -----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: haspatch Port: octave-time | -----------------------------+-------------------------------- Changes (by khindenburg@…): * status: new => closed * resolution: => fixed Comment: done r134925 -- Ticket URL: <https://trac.macports.org/ticket/46143#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts