Date: Sun, 28 Oct 2018 04:33:28 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r483220 - in head/math/py-primme: . files Message-ID: <201810280433.w9S4XSKK079829@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sun Oct 28 04:33:28 2018 New Revision: 483220 URL: https://svnweb.freebsd.org/changeset/ports/483220 Log: math/py-primme: Update 2.1.5.20181011 -> 2.2 Reported by: portscout Modified: head/math/py-primme/Makefile head/math/py-primme/distinfo head/math/py-primme/files/patch-setup.py Modified: head/math/py-primme/Makefile ============================================================================== --- head/math/py-primme/Makefile Sun Oct 28 04:32:44 2018 (r483219) +++ head/math/py-primme/Makefile Sun Oct 28 04:33:28 2018 (r483220) @@ -1,7 +1,8 @@ # $FreeBSD$ PORTNAME= primme -DISTVERSION= 2.1.5.20181011 # need the latest changes, but github repo is mistagged, no regular github tag available +DISTVERSIONPREFIX= v +DISTVERSION= 2.2 CATEGORIES= math python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,14 +20,16 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=0:devel/py- USES= fortran gmake localbase:ldflags python shebangfix SHEBANG_FILES= examples.py tests.py USE_GITHUB= yes -GH_TAGNAME= 6a0fa27 USE_PYTHON= distutils autoplist TEST_TARGET= test WRKSRC_SUBDIR= Python BINARY_ALIAS= python2=${PYTHON_CMD} -post-test: # not sure why does the 'test' target tun examples and not tests +post-patch: + @${REINPLACE_CMD} "s|\['../lib/libprimme.a'\]|['${LOCALBASE}/lib/libprimme.so']|" ${WRKSRC}/setup.py + +post-test: # not sure why does the 'test' target run examples and not tests @cd ${WRKSRC} && ${PYTHON_CMD} ${WRKSRC}/tests.py .include <bsd.port.mk> Modified: head/math/py-primme/distinfo ============================================================================== --- head/math/py-primme/distinfo Sun Oct 28 04:32:44 2018 (r483219) +++ head/math/py-primme/distinfo Sun Oct 28 04:33:28 2018 (r483220) @@ -1,3 +1,3 @@ -TIMESTAMP = 1539307207 -SHA256 (primme-primme-2.1.5.20181011-6a0fa27_GH0.tar.gz) = 8f662a7c41d5bfb7910ccb9bbcb7f06f1191fc7c7a9d41fb695e9b13438bcb79 -SIZE (primme-primme-2.1.5.20181011-6a0fa27_GH0.tar.gz) = 5511173 +TIMESTAMP = 1540699958 +SHA256 (primme-primme-v2.2_GH0.tar.gz) = 5ed1b4476659cb0d0ef1de4f00bbd3fa9e1d879f067890a08236dcb48d8e6a52 +SIZE (primme-primme-v2.2_GH0.tar.gz) = 6161380 Modified: head/math/py-primme/files/patch-setup.py ============================================================================== --- head/math/py-primme/files/patch-setup.py Sun Oct 28 04:32:44 2018 (r483219) +++ head/math/py-primme/files/patch-setup.py Sun Oct 28 04:33:28 2018 (r483220) @@ -1,6 +1,6 @@ ---- setup.py.orig 2018-10-11 23:38:33 UTC +--- setup.py.orig 2018-10-26 18:03:19 UTC +++ setup.py -@@ -15,31 +16,33 @@ def get_numpy_options(): +@@ -16,31 +16,33 @@ def get_numpy_options(): numpy_include = numpy.get_include() # Obtain BLAS/LAPACK linking options @@ -56,5 +56,5 @@ + blaslapack_extra_link_args = [] + blaslapack_library_dirs = [] - return dict( + r = dict( include_dirs = [numpy_include, "primme/include", "primme/src/include"],
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810280433.w9S4XSKK079829>