- 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>
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-06-23 12:11:20 +00:00
parent 297c2240c4
commit 3209c71e3a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299810
5 changed files with 66 additions and 0 deletions

View file

@ -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

26
net/py-port-for/Makefile Normal file
View file

@ -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>

2
net/py-port-for/distinfo Normal file
View file

@ -0,0 +1,2 @@
SHA256 (port-for-0.3.tar.gz) = 89a53e4ac858899b9c3dc69f6aedc1abb0b00dced6bb73fc31575b8050bdc479
SIZE (port-for-0.3.tar.gz) = 18053

View file

@ -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/

32
net/py-port-for/pkg-plist Normal file
View file

@ -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