Opened 8 years ago
Last modified 7 years ago
#54014 new submission
py-stem @1.5.4 : Python controller library for Tor
Reported by: | 1-61803 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-stem |
Description
Stem is a Python controller library for Tor. With it you can use Tor's control protocol to script against the Tor process, or write applications with capabilities similar to arm. From a technical standpoint, Stem is a Python implementation of Tor's directory and control specifications.
Attachments (1)
Change History (7)
comment:1 Changed 8 years ago by mf2k (Frank Schima)
comment:2 follow-up: 3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Surely there's a better value that can be used for master_sites
comment:3 follow-up: 4 Changed 8 years ago by 1-61803
Replying to ryandesign:
Surely there's a better value that can be used for
master_sites
I couldn't find a better one. If you find one though, I'll certainly use it.
comment:4 follow-up: 5 Changed 7 years ago by aque (Allan Que)
Replying to 1-61803:
Replying to ryandesign:
Surely there's a better value that can be used for
master_sites
I couldn't find a better one. If you find one though, I'll certainly use it.
Try this. I used it for the py-typing Portfile.
master_sites pypi:s/${python.rootname} distname ${python.rootname}-${version}
I also recommend you add categories-append devel security
. The python PortGroup automatically adds the python category.
comment:5 follow-up: 6 Changed 7 years ago by 1-61803
comment:6 Changed 7 years ago by aque (Allan Que)
Replying to 1-61803:
Where does
pypi:t/
come from?
It comes from the 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.
Note that you have to change your Portfile to use pypi:s/${python.rootname}
since it's the first letter of your file. It's how they hosted those packages. Hope that makes sense. I had to trace it myself.
Comments: