Sunpoet Po-Chuan Hsieh 2016-11-19 17:07:20 +00:00
parent ff2608f7d5
commit 00ef179f27
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=426454
2 changed files with 5 additions and 23 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= m2crypto
PORTVERSION= 0.24.0
PORTVERSION= 0.25.1
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -17,13 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
BUILD_DEPENDS= swig3.0:devel/swig30
PYDISTUTILS_BUILDARGS= build_ext --openssl=${OPENSSLBASE} --swig=${LOCALBASE}/bin/swig3.0
USE_OPENSSL= yes
USE_PYTHON= autoplist concurrent distutils
USES= python
PLIST_FILES= %%PYTHON_SITELIBDIR%%/M2Crypto/_m2crypto.py \
%%PYTHON_SITELIBDIR%%/M2Crypto/${PYCACHE_DIR}${PYCACHE_FILE}.pyc \
%%PYTHON_SITELIBDIR%%/M2Crypto/${PYCACHE_DIR}${PYCACHE_FILE}.${PYOEXTENSION}
USES= python ssl
.include <bsd.port.pre.mk>
@ -31,20 +26,6 @@ PLIST_FILES= %%PYTHON_SITELIBDIR%%/M2Crypto/_m2crypto.py \
IGNORE= py-m2crypto requires OpenSSL 1.0.1e+
.endif
.if ${PYTHON_REL} < 3200
PYCACHE_DIR= # empty
PYCACHE_FILE= _${PORTNAME}
.else
PYCACHE_DIR= __pycache__/
PYCACHE_FILE= _${PORTNAME}.cpython-${PYTHON_SUFFIX}
.endif
.if ${PYTHON_REL} < 3500
PYOEXTENSION= pyo
.else
PYOEXTENSION= opt-1.pyc
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/M2Crypto/__m2crypto.so

View File

@ -1,2 +1,3 @@
SHA256 (M2Crypto-0.24.0.tar.gz) = 80a56441a1d2c0cf27e725be7554c92598b938fc8767ee2c71fdbc2fdc055ee8
SIZE (M2Crypto-0.24.0.tar.gz) = 184457
TIMESTAMP = 1479441538
SHA256 (M2Crypto-0.25.1.tar.gz) = ac303a1881307a51c85ee8b1d87844d9866ee823b4fdbc52f7e79187c2d9acef
SIZE (M2Crypto-0.25.1.tar.gz) = 300904