- 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
This commit is contained in:
Ruslan Makhmatkhanov 2012-05-13 19:08:05 +00:00
parent 2d495097ea
commit b8310cd873
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=296552
3 changed files with 9 additions and 10 deletions

View file

@ -8,17 +8,21 @@
PORTNAME= openssl-proxy PORTNAME= openssl-proxy
PORTVERSION= 0.1 PORTVERSION= 0.1
CATEGORIES= www security python CATEGORIES= www security python
MASTER_SITES= http://richard.jones.name/google-hacks/gmail-filesystem/ CENKES MASTER_SITES= CENKES
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyOpenSSLProxy-${PORTVERSION} DISTNAME= pyOpenSSLProxy-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org MAINTAINER= ports@FreeBSD.org
COMMENT= HTTPS proxy support 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 USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= pyOpenSSLProxy PYDISTUTILS_PKGNAME= pyOpenSSLProxy
PLIST_FILES= %%PYTHON_SITELIBDIR%%/OpenSSLProxy.py \
%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyc \
%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyo
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -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. classes.
* 'OpenSSLProxy' is derived from httplib.HTTPS and provides HTTPS * 'OpenSSLProxy' is derived from httplib.HTTPS and provides HTTPS
proxy support proxy support
* 'OpenSSLProxyHandler' is dervived from urllib2.HTTPSHandler and * 'OpenSSLProxyHandler' is dervived from urllib2.HTTPSHandler and
provides HTTPS proxy support provides HTTPS proxy support
* Support for Basic User Authentication * Support for Basic User Authentication
* Honors environmental variable https_proxy * Honors environmental variable https_proxy
WWW: http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem-using.html

View file

@ -1,3 +0,0 @@
%%PYTHON_SITELIBDIR%%/OpenSSLProxy.py
%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyc
%%PYTHON_SITELIBDIR%%/OpenSSLProxy.pyo