- Update to 0.7

- Enable python 3 support
- Allow concurrent installation
- Strip library

PR:		223070
Submitted by:   lbdm@privacychain.ch
Approved by:	maintainer timeout (che@bein.link, 2 weeks)
Differential Revision:	https://reviews.freebsd.org/D12702
This commit is contained in:
Dmitry Marakasov 2017-12-08 11:54:31 +00:00
parent 5c7d58df68
commit 2dde341825
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=455781
2 changed files with 10 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= python-pcre
PORTVERSION= 0.6
DISTVERSION= 0.7
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,13 +12,15 @@ COMMENT= Python PCRE bindings
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= pcre>=6.0:devel/pcre
LIB_DEPENDS= libpcre.so:devel/pcre
USES= python:2
USE_PYTHON= autoplist distutils
USES= python
USE_PYTHON= autoplist concurrent distutils
post-patch:
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/setup.py
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python${PYTHON_VER}/site-packages/_pcre.so
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (python-pcre-0.6.tar.gz) = 7fed1460f844075a7b2fe22f728b4645a4440e55ad4337c9efc057b7f5ae1ccc
SIZE (python-pcre-0.6.tar.gz) = 52690
TIMESTAMP = 1508255779
SHA256 (python-pcre-0.7.tar.gz) = 4286f3f31e9f08a8c6bff537940ce0ca86aad8eb3f78ad486620266f5099f681
SIZE (python-pcre-0.7.tar.gz) = 52596