Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -4860,6 +4860,7 @@ SUBDIR += py-streamparse SUBDIR += py-structlog SUBDIR += py-stsci.distutils + SUBDIR += py-subprocess32 SUBDIR += py-subversion SUBDIR += py-subvertpy SUBDIR += py-sure Index: devel/py-subprocess32/Makefile =================================================================== --- /dev/null +++ devel/py-subprocess32/Makefile @@ -0,0 +1,21 @@ +# $FreeBSD$ + +PORTNAME= subprocess32 +DISTVERSION= 3.2.7 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= dbaio@FreeBSD.org +COMMENT= Backport of the subprocess module from Python 3.2 to 2.x + +LICENSE= PSFL +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= python:2.7 +USE_PYTHON= autoplist distutils + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_posixsubprocess.so + +.include Index: devel/py-subprocess32/distinfo =================================================================== --- /dev/null +++ devel/py-subprocess32/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1505062811 +SHA256 (subprocess32-3.2.7.tar.gz) = 1e450a4a4c53bf197ad6402c564b9f7a53539385918ef8f12bdf430a61036590 +SIZE (subprocess32-3.2.7.tar.gz) = 54240 Index: devel/py-subprocess32/pkg-descr =================================================================== --- /dev/null +++ devel/py-subprocess32/pkg-descr @@ -0,0 +1,8 @@ +This is a backport of the subprocess standard library module +from Python 3.2 & 3.3 for use on Python 2. It includes bugfixes +and some new features. On POSIX systems it is guaranteed to +be reliable when used in threaded applications. It includes +timeout support from Python 3.3 but otherwise matches 3.2's API. +It has not been tested on Windows. + +WWW: https://github.com/google/python-subprocess32