Index: head/security/obfsproxy/Makefile =================================================================== --- head/security/obfsproxy/Makefile (revision 454426) +++ head/security/obfsproxy/Makefile (revision 454427) @@ -1,26 +1,26 @@ # Created by: Carlo Strub # $FreeBSD$ PORTNAME= obfsproxy PORTVERSION= 0.2.13 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= security net python MASTER_SITES= http://www.c-s.li/ports/ MAINTAINER= cs@FreeBSD.org COMMENT= Pluggable transport proxy LICENSE= BSD3CLAUSE RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyptlib>=0.0.5:security/py-pyptlib \ ${PYTHON_PKGNAMEPREFIX}pycrypto>=2.1:security/py-pycrypto \ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted \ ${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml -USE_PYTHON= distutils USES= python +USE_PYTHON= distutils SUB_FILES= pkg-message PYDISTUTILS_PKGNAME=obfsproxy .include Index: head/security/obfsproxy/files/patch-setup.py =================================================================== --- head/security/obfsproxy/files/patch-setup.py (revision 454426) +++ head/security/obfsproxy/files/patch-setup.py (revision 454427) @@ -1,11 +1,19 @@ ---- setup.py.orig 2013-07-14 19:01:36.000000000 +0000 -+++ setup.py 2013-07-14 19:02:02.000000000 +0000 -@@ -31,7 +31,7 @@ +--- setup.py.orig 2017-11-03 11:21:18 UTC ++++ setup.py +@@ -31,12 +31,14 @@ setup( install_requires = [ 'setuptools', 'PyCrypto', - 'Twisted', +- 'argparse', + 'Twisted_Core', - 'argparse', - 'pyptlib' + 'pyptlib >= 0.0.6', + 'pyyaml' ], + ++ if sys.version_info < (2, 7): ++ install_requires.append('argparse') ++ + extras_require = { + 'SOCKS': ["txsocksx"] + }