diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-06-23 20:11:20 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-06-23 20:11:20 +0800 |
commit | 118c6c9d0f83e32670237e0715ff5de974fe598a (patch) | |
tree | 7e5c38a2242000cdfcdb28fd39290b9c6cdee0e7 /net | |
parent | 36281f37cc49d007a9aedccd48bbd4feb51a39f2 (diff) | |
download | freebsd-ports-gnome-118c6c9d0f83e32670237e0715ff5de974fe598a.tar.gz freebsd-ports-gnome-118c6c9d0f83e32670237e0715ff5de974fe598a.tar.zst freebsd-ports-gnome-118c6c9d0f83e32670237e0715ff5de974fe598a.zip |
- Add py-port-for 0.3
A command-line utility and a python library that helps with local TCP ports
management. It can find an unused TCP localhost port and remember the
association.
WWW: https://github.com/kmike/port-for/
PR: ports/169194
Submitted by: koobs <koobs.freebsd@gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/py-port-for/Makefile | 26 | ||||
-rw-r--r-- | net/py-port-for/distinfo | 2 | ||||
-rw-r--r-- | net/py-port-for/pkg-descr | 5 | ||||
-rw-r--r-- | net/py-port-for/pkg-plist | 32 |
5 files changed, 66 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 2360973fadf6..1975118e92ba 100644 --- a/net/Makefile +++ b/net/Makefile @@ -902,6 +902,7 @@ SUBDIR += py-pcap SUBDIR += py-pcapy SUBDIR += py-pcs + SUBDIR += py-port-for SUBDIR += py-pypcap SUBDIR += py-qt4-network SUBDIR += py-radix diff --git a/net/py-port-for/Makefile b/net/py-port-for/Makefile new file mode 100644 index 000000000000..14a773263c5a --- /dev/null +++ b/net/py-port-for/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: py-port-for +# Date created: 2012-06-18 +# Whom: koobs <koobs.freebsd@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= port-for +PORTVERSION= 0.3 +CATEGORIES= net devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs.freebsd@gmail.com +COMMENT= Python utility and library that helps with TCP ports management + +LICENSE= MIT + +# Python3 Ready +USE_PYTHON= 2.5+ +USE_PYDISTUTILS= yes + +post-patch: + @${REINPLACE_CMD} '/DEFAULT_CONFIG_PATH/ s|/etc|${PREFIX}&|' ${WRKSRC}/port_for/store.py + +.include <bsd.port.mk> diff --git a/net/py-port-for/distinfo b/net/py-port-for/distinfo new file mode 100644 index 000000000000..6bbb86cd68f6 --- /dev/null +++ b/net/py-port-for/distinfo @@ -0,0 +1,2 @@ +SHA256 (port-for-0.3.tar.gz) = 89a53e4ac858899b9c3dc69f6aedc1abb0b00dced6bb73fc31575b8050bdc479 +SIZE (port-for-0.3.tar.gz) = 18053 diff --git a/net/py-port-for/pkg-descr b/net/py-port-for/pkg-descr new file mode 100644 index 000000000000..b78584ee7574 --- /dev/null +++ b/net/py-port-for/pkg-descr @@ -0,0 +1,5 @@ +A command-line utility and a python library that helps with local TCP ports +management. It can find an unused TCP localhost port and remember the +association. + +WWW: https://github.com/kmike/port-for/ diff --git a/net/py-port-for/pkg-plist b/net/py-port-for/pkg-plist new file mode 100644 index 000000000000..1b590cc12e9e --- /dev/null +++ b/net/py-port-for/pkg-plist @@ -0,0 +1,32 @@ +bin/port-for +%%PYTHON_SITELIBDIR%%/port_for/__init__.py +%%PYTHON_SITELIBDIR%%/port_for/__init__.pyc +%%PYTHON_SITELIBDIR%%/port_for/__init__.pyo +%%PYTHON_SITELIBDIR%%/port_for/_download_ranges.py +%%PYTHON_SITELIBDIR%%/port_for/_download_ranges.pyc +%%PYTHON_SITELIBDIR%%/port_for/_download_ranges.pyo +%%PYTHON_SITELIBDIR%%/port_for/_ranges.py +%%PYTHON_SITELIBDIR%%/port_for/_ranges.pyc +%%PYTHON_SITELIBDIR%%/port_for/_ranges.pyo +%%PYTHON_SITELIBDIR%%/port_for/api.py +%%PYTHON_SITELIBDIR%%/port_for/api.pyc +%%PYTHON_SITELIBDIR%%/port_for/api.pyo +%%PYTHON_SITELIBDIR%%/port_for/docopt.py +%%PYTHON_SITELIBDIR%%/port_for/docopt.pyc +%%PYTHON_SITELIBDIR%%/port_for/docopt.pyo +%%PYTHON_SITELIBDIR%%/port_for/ephemeral.py +%%PYTHON_SITELIBDIR%%/port_for/ephemeral.pyc +%%PYTHON_SITELIBDIR%%/port_for/ephemeral.pyo +%%PYTHON_SITELIBDIR%%/port_for/exceptions.py +%%PYTHON_SITELIBDIR%%/port_for/exceptions.pyc +%%PYTHON_SITELIBDIR%%/port_for/exceptions.pyo +%%PYTHON_SITELIBDIR%%/port_for/store.py +%%PYTHON_SITELIBDIR%%/port_for/store.pyc +%%PYTHON_SITELIBDIR%%/port_for/store.pyo +%%PYTHON_SITELIBDIR%%/port_for/tests.py +%%PYTHON_SITELIBDIR%%/port_for/tests.pyc +%%PYTHON_SITELIBDIR%%/port_for/tests.pyo +%%PYTHON_SITELIBDIR%%/port_for/utils.py +%%PYTHON_SITELIBDIR%%/port_for/utils.pyc +%%PYTHON_SITELIBDIR%%/port_for/utils.pyo +@dirrm %%PYTHON_SITELIBDIR%%/port_for |