Opened 6 years ago

Closed 5 years ago

#56642 closed enhancement (fixed)

python-1.0: set default master_sites and distname

Reported by: yan12125 (Chih-Hsuan Yen) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

A common pattern in Python ports is:

master_sites        pypi:[string index ${python.rootname} 0]/${python.rootname}
distname            ${python.rootname}-${version}

It would be great to set the two values in python-1.0.tcl, so that Portfiles can be simplified.

Change History (2)

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

Cc: jmroot added

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 46cbc043fc68208dbb8b7ad20e3fe9dadfd9bd12/macports-ports (master):

python pg: set default master_sites and distname

Closes: #56642

Note: See TracTickets for help on using tickets.