Opened 10 years ago

Closed 10 years ago

#46143 closed update (fixed)

octave-time has been merged into octave-financial

Reported by: Schamschula (Marius Schamschula) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc: kurthindenburg (Kurt Hindenburg)
Port: octave-time

Description

octave-time has been merged into octave-financial. See http://octave.sourceforge.net/packages.php.

Attachments (1)

Portfile-octave-time.diff (858 bytes) - added by Schamschula (Marius Schamschula) 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

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.

Changed 10 years ago by Schamschula (Marius Schamschula)

Attachment: Portfile-octave-time.diff added

comment:2 in reply to:  1 Changed 10 years ago by Schamschula (Marius Schamschula)

Replying to 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.

comment:3 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Cc: khindenburg@… added

Cc Me!

comment:4 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

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.

comment:5 Changed 10 years ago by kurthindenburg (Kurt Hindenburg)

Resolution: fixed
Status: newclosed

done r134925

Note: See TracTickets for help on using tickets.