From b8310cd873a6bccfdb181e67fa02db0e37faed6f Mon Sep 17 00:00:00 2001 From: Ruslan Makhmatkhanov Date: Sun, 13 May 2012 19:08:05 +0000 Subject: [PATCH] - remove stale master site and WWW - do not use PYTHON_SITELIBDIR in dependency entries - strict python version to 2.x only - move pkg-plist contents to PLIST_FILES --- www/py-openssl-proxy/Makefile | 10 +++++++--- www/py-openssl-proxy/pkg-descr | 6 ++---- www/py-openssl-proxy/pkg-plist | 3 --- 3 files changed, 9 insertions(+), 10 deletions(-) delete mode 100644 www/py-openssl-proxy/pkg-plist diff --git a/www/py-openssl-proxy/Makefile b/www/py-openssl-proxy/Makefile index 73ce00a66248..9c09b96af6dd 100644 --- a/www/py-openssl-proxy/Makefile +++ b/www/py-openssl-proxy/Makefile @@ -8,17 +8,21 @@ PORTNAME= openssl-proxy PORTVERSION= 0.1 CATEGORIES= www security python -MASTER_SITES= http://richard.jones.name/google-hacks/gmail-filesystem/ CENKES +MASTER_SITES= CENKES PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyOpenSSLProxy-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= HTTPS proxy support -RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenSSL/__init__.py:${PORTSDIR}/security/py-openssl +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl -USE_PYTHON= yes +USE_PYTHON= -2.7 USE_PYDISTUTILS=yes PYDISTUTILS_PKGNAME= pyOpenSSLProxy +PLIST_FILES= %%PYTHON_SITELIBDIR%%/OpenSSLProxy.py \ + %%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyc \ + %%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyo + .include diff --git a/www/py-openssl-proxy/pkg-descr b/www/py-openssl-proxy/pkg-descr index 09c63f2334c0..0fb66989b520 100644 --- a/www/py-openssl-proxy/pkg-descr +++ b/www/py-openssl-proxy/pkg-descr @@ -1,11 +1,9 @@ -OpenSSLProxy module Provides HTTPS proxy support to httplib and urllib2 +OpenSSLProxy module Provides HTTPS proxy support to httplib and urllib2 classes. - * 'OpenSSLProxy' is derived from httplib.HTTPS and provides HTTPS + * 'OpenSSLProxy' is derived from httplib.HTTPS and provides HTTPS proxy support * 'OpenSSLProxyHandler' is dervived from urllib2.HTTPSHandler and provides HTTPS proxy support * Support for Basic User Authentication * Honors environmental variable https_proxy - -WWW: http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem-using.html diff --git a/www/py-openssl-proxy/pkg-plist b/www/py-openssl-proxy/pkg-plist deleted file mode 100644 index 64ef01b4f03d..000000000000 --- a/www/py-openssl-proxy/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -%%PYTHON_SITELIBDIR%%/OpenSSLProxy.py -%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyc -%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyo