[MacPorts] #54014: py-stem @1.5.4 : Python controller library for Tor
MacPorts
noreply at macports.org
Tue Jun 27 03:18:12 UTC 2017
#54014: py-stem @1.5.4 : Python controller library for Tor
-------------------------+-----------------
Reporter: 1-61803 | Owner:
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: py-stem |
-------------------------+-----------------
Comment (by aque):
Replying to [comment:5 1-61803]:
> Where does `pypi:t/` come from?
It comes from the [https://github.com/macports/macports-
ports/blob/master/_resources/port1.0/fetch/mirror_sites.tcl
mirror_sites.tcl] file. Here is the relevant section:
{{{
set portfetch::mirror_sites::sites(pypi) {
https://pypi.python.org/packages/source/:nosubdir
https://files.pythonhosted.org/packages/source/:nosubdir
}
}}}
`pypi:` is a placeholder for those sites and you're just adding
`s/${python.rootname}` at the end of the path. So it will put them all
together with `${distname}` and fetch
`https://pypi.python.org/packages/source/s/stem/stem-1.5.4.tar.gz` and
then try
`https://files.pythonhosted.org/packages/source/s/stem/stem-1.5.4.tar.gz`.
Your file is found in the latter url.
Hope that makes sense. I had to trace it myself.
--
Ticket URL: <https://trac.macports.org/ticket/54014#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list