- Update USE_PYTHON
- Do not use easyinstall - Do not installed zipped egg [1] - Bump PORTREVISION for package change - Cleanup Makefile header Requested by: olgeni [1] Tested by: olgeni
This commit is contained in:
parent
7843f8998b
commit
eff1514804
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324885
2 changed files with 137 additions and 14 deletions
|
@ -1,12 +1,9 @@
|
|||
# New ports collection makefile for: py-m2crypto
|
||||
# Date created: 27 March 2001
|
||||
# Whom: Peter Haight <peterh@sapros.com>
|
||||
#
|
||||
# Created by: Peter Haight <peterh@sapros.com>
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= m2crypto
|
||||
PORTVERSION= 0.21.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= security python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -16,19 +13,16 @@ DIST_SUBDIR= python
|
|||
MAINTAINER= sunpoet@FreeBSD.org
|
||||
COMMENT= Crypto and SSL toolkit for Python
|
||||
|
||||
BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/swig13
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/swig:${PORTSDIR}/devel/swig13
|
||||
|
||||
USE_OPENSSL= yes
|
||||
USE_PYTHON= 2.5-2.7
|
||||
USE_PYDISTUTILS= easy_install
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_BUILDARGS= build_ext --openssl="${OPENSSLBASE}"
|
||||
PYDISTUTILS_PKGNAME= M2Crypto
|
||||
PYEASYINSTALL_ARCHDEP= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} \
|
||||
-e 's|/usr/local/include/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \
|
||||
-e 's|/usr/local/lib/python$$(PYVER)|${PYTHON_INCLUDEDIR}|g' \
|
||||
${WRKSRC}/SWIG/Makefile
|
||||
@${REINPLACE_CMD} -e 's|setuptools|do_not_use_&|; /test_suite/d' ${WRKSRC}/${PYSETUP}
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|$$(PYVER)|${PYTHON_VER}|' ${WRKSRC}/SWIG/Makefile
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1 +1,130 @@
|
|||
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ASN1.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/AuthCookie.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BIO.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BN.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BN.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/BN.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DH.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DH.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DH.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/DSA.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EC.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EC.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EC.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/EVP.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Engine.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Err.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Err.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Err.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKey.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/PublicKeyRing.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/RSA.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/constants.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/PGP/packet.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RC4.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/RSA.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/Rand.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SMIME.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Checker.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Cipher.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Connection.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Context.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/SSLServer.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/Session.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/TwistedProtocolWrapper.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/cb.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/ssl_dispatcher.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/SSL/timeout.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/X509.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/X509.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/X509.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/__m2crypto.so
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/callback.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/callback.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/callback.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/ftpslib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/httpslib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2urllib2.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/m2xmlrpclib.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/threading.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/threading.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/threading.pyo
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/util.py
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/M2Crypto/util.pyo
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto/SSL
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto/PGP
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/M2Crypto
|
||||
|
|
Loading…
Reference in a new issue