Opened 16 years ago

Closed 16 years ago

#18521 closed enhancement (fixed)

Support extracting .7z archives using p7zip

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone: MacPorts 1.7.1
Component: base Version: 1.7.0
Keywords: Cc:
Port:

Description

It would be nice if MacPorts base could automatically handle distfiles compressed in the .7z format, using a new "use_7z" setting.

r46869 inspired this request.

Change History (5)

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

Status: newassigned

Added "use_7z" to the code in r46918.

The manpage, the Guide and the ChangeLog still need to be updated.

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

Would it be more appropriate to call it "use_7zip", to match use_bzip2 which has the name of the format rather than the file extension?

comment:3 in reply to:  2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmr@…:

Would it be more appropriate to call it "use_7zip", to match use_bzip2 which has the name of the format rather than the file extension?

I'm open to changes, but according to the 7-zip web site, 7z is the name of the format. See also the 7z WikiPedia page.

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

ChangeLog updated in r46952.

comment:5 Changed 16 years ago by blb@…

Milestone: MacPorts 1.8.0MacPorts 1.7.1
Resolution: fixed
Status: assignedclosed

Merged to 1.7 branch in r48236. Guide updated with use_7z in r48254. Man page for trunk updated in r48255 and on 1.7 branch in r48256.

As far as naming, if the format is called 7z instead of 7zip, then the current name makes sense to me...

Note: See TracTickets for help on using tickets.