Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Dec 2017 11:54:31 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455781 - head/devel/py-python-pcre
Message-ID:  <201712081154.vB8BsVEE093068@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Dec  8 11:54:31 2017
New Revision: 455781
URL: https://svnweb.freebsd.org/changeset/ports/455781

Log:
  - 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

Modified:
  head/devel/py-python-pcre/Makefile
  head/devel/py-python-pcre/distinfo

Modified: head/devel/py-python-pcre/Makefile
==============================================================================
--- head/devel/py-python-pcre/Makefile	Fri Dec  8 11:49:58 2017	(r455780)
+++ head/devel/py-python-pcre/Makefile	Fri Dec  8 11:54:31 2017	(r455781)
@@ -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>

Modified: head/devel/py-python-pcre/distinfo
==============================================================================
--- head/devel/py-python-pcre/distinfo	Fri Dec  8 11:49:58 2017	(r455780)
+++ head/devel/py-python-pcre/distinfo	Fri Dec  8 11:54:31 2017	(r455781)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712081154.vB8BsVEE093068>