Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jan 2021 21:08:29 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r562159 - head/math/py-pplpy
Message-ID:  <202101202108.10KL8TM8066731@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Wed Jan 20 21:08:29 2021
New Revision: 562159
URL: https://svnweb.freebsd.org/changeset/ports/562159

Log:
  - Upgrade to 0.8.7
  - clang 11 is now supported
  - Strip the libraries
  - Add a test target.

Modified:
  head/math/py-pplpy/Makefile
  head/math/py-pplpy/distinfo
  head/math/py-pplpy/pkg-plist

Modified: head/math/py-pplpy/Makefile
==============================================================================
--- head/math/py-pplpy/Makefile	Wed Jan 20 20:39:21 2021	(r562158)
+++ head/math/py-pplpy/Makefile	Wed Jan 20 21:08:29 2021	(r562159)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pplpy
-PORTVERSION=	0.8.4
-PORTREVISION=	2
+PORTVERSION=	0.8.7
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -22,25 +21,20 @@ LIB_DEPENDS=	libgmp.so:math/gmp	\
 		libppl.so:devel/ppl
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gmpy2-devel>0:math/py-gmpy2-devel@${PY_FLAVOR}	\
 		${PYTHON_PKGNAMEPREFIX}cysignals>0:devel/py-cysignals@${PY_FLAVOR}
+TEST_DEPENDS=	py.test:devel/py-pytest@${PY_FLAVOR}
 
 USES=		compiler:c++11-lang localbase python:3.6+
 USE_PYTHON=	cython distutils
 
+.if !defined(WITH_DEBUG)
+LDFLAGS+=	-s
+.endif
+
 OPTIONS_DEFINE=		DOCS
 DOCS_BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
 DOCS_USES=		gmake
 PORTDOCS=		*
 
-.include <bsd.port.pre.mk>
-
-.if ${COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} >= 110
-# error: cannot initialize a parameter of type 'bool' with an rvalue of type 'nullptr_t'
-BUILD_DEPENDS+=	${LOCALBASE}/bin/clang10:devel/llvm10
-CPP=	${LOCALBASE}/bin/clang-cpp10
-CC=	${LOCALBASE}/bin/clang10
-CXX=	${LOCALBASE}/bin/clang++10
-.endif
-
 do-build-DOCS-on:
 	(cd ${WRKSRC}/docs && ${GMAKE} html)
 
@@ -48,4 +42,7 @@ post-build-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${CP} -R ${WRKSRC}/docs/build/html/* ${STAGEDIR}${DOCSDIR}
 
-.include <bsd.port.post.mk>
+do-test: install
+	(cd ${WRKSRC} && py.test)
+
+.include <bsd.port.mk>

Modified: head/math/py-pplpy/distinfo
==============================================================================
--- head/math/py-pplpy/distinfo	Wed Jan 20 20:39:21 2021	(r562158)
+++ head/math/py-pplpy/distinfo	Wed Jan 20 21:08:29 2021	(r562159)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1589635484
-SHA256 (pplpy-0.8.4.tar.gz) = b962914d5814edab320d00c11ca396b70c4ce1e67db7a6d59c4b0a3772a16836
-SIZE (pplpy-0.8.4.tar.gz) = 61932
+TIMESTAMP = 1611174666
+SHA256 (pplpy-0.8.7.tar.gz) = 500bd0f4ae1a76956fae7fcba77854f5ec3e64fce76803664983763c3f2bd8bd
+SIZE (pplpy-0.8.7.tar.gz) = 65671

Modified: head/math/py-pplpy/pkg-plist
==============================================================================
--- head/math/py-pplpy/pkg-plist	Wed Jan 20 20:39:21 2021	(r562158)
+++ head/math/py-pplpy/pkg-plist	Wed Jan 20 21:08:29 2021	(r562159)
@@ -3,6 +3,8 @@
 %%PYTHON_SITELIBDIR%%/ppl/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
 %%PYTHON_SITELIBDIR%%/ppl/bit_arrays.pxd
 %%PYTHON_SITELIBDIR%%/ppl/bit_arrays.so
+%%PYTHON_SITELIBDIR%%/ppl/congruence.pxd
+%%PYTHON_SITELIBDIR%%/ppl/congruence.so
 %%PYTHON_SITELIBDIR%%/ppl/constraint.pxd
 %%PYTHON_SITELIBDIR%%/ppl/constraint.so
 %%PYTHON_SITELIBDIR%%/ppl/generator.pxd



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