summaryrefslogtreecommitdiff
path: root/net/py-netlib (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-20Use PY_FLAVOR for dependencies.Mathieu Arnold1-2/+2
FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight Notes: svn path=/head/; revision=472884
2018-04-25Switch all pypi.python.org WWWs to a new PyPi home pypi.org whereDmitry Marakasov1-1/+1
they now redirect to anyway. All new urls checked to return 200, I've fixed a couple of them in the process. Approved by: portmgr blanket, mat Notes: svn path=/head/; revision=468282
2017-11-30Convert Python ports to FLAVORS.Mathieu Arnold1-3/+3
Ports using USE_PYTHON=distutils are now flavored. They will automatically get flavors (py27, py34, py35, py36) depending on what versions they support. There is also a USE_PYTHON=flavors for ports that do not use distutils but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if using distutils but flavors are not wanted. A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been added to cope with Python ports that did not have the Python PKGNAMEPREFIX but are flavored. USES=python now also exports a PY_FLAVOR variable that contains the current python flavor. It can be used in dependency lines when the port itself is not python flavored. For example, deskutils/calibre. By default, all the flavors are generated. To only generate flavors for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf. In all the ports with Python dependencies, the *_DEPENDS entries MUST end with the flavor so that the framework knows which to build/use. This is done by appending '@${PY_FLAVOR}' after the origin (or @${FLAVOR} if in a Python module with Python flavors, as the content will be the same). For example: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} PR: 223071 Reviewed by: portmgr, python Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D12464 Notes: svn path=/head/; revision=455210
2016-04-01Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.Mathieu Arnold1-2/+2
With hat: portmgr Sponsored by: Absolight Notes: svn path=/head/; revision=412348
2015-11-18devel/py-asn1: move to devel/py-pyasn1 to match PyPI nameRuslan Makhmatkhanov1-1/+2
- move to devel/py-pyasn1 to match PyPI name - update *_DEPENDS and bump PORTREVISION in dependent ports - reset PORTEPOCH PR: 204567 Submitted by: John W. O'Brien <john@saltant.com> Approved by: mhjacks@swbell.net (maintainer of devel/py-asn1) Notes: svn path=/head/; revision=401898
2014-10-24- Convert ports of net/ to new USES=pythonMarcus von Appen1-3/+2
Approved by: portmgr (implicit) Notes: svn path=/head/; revision=371449
2014-02-23- Update to 0.10Sunpoet Po-Chuan Hsieh3-49/+5
- While I'm here: - Use PYDISTUTILS_AUTOPLIST - Support STAGEDIR Changes: https://github.com/mitmproxy/netlib/commits/master PR: ports/186934 Submitted by: Hung-Yi Chen <gaod@hychen.org> (maintainer) Notes: svn path=/head/; revision=345732
2013-09-20Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin1-0/+1
net) Notes: svn path=/head/; revision=327755
2013-09-08- Update to 0.9.2Sunpoet Po-Chuan Hsieh2-4/+4
Changes: https://github.com/mitmproxy/netlib/commits/master PR: ports/181941 Submitted by: Hung-Yi Chen <gaod@hychen.org> (maintainer) Notes: svn path=/head/; revision=326766
2013-08-21Netlib is a collection of network utility classes,William Grzybowski5-0/+83
used by the pathod and mitmproxy projects. It differs from other projects in some fundamental respects, because both pathod and mitmproxy often need to violate standards. WWW: https://pypi.python.org/pypi/netlib PR: ports/180746 Submitted by: Hung-Yi Chen <gaod hychen.org> Notes: svn path=/head/; revision=325141