From owner-svn-ports-all@freebsd.org Sun Oct 28 04:33:29 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9805F10E2AC0; Sun, 28 Oct 2018 04:33:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3ECAD6F0F5; Sun, 28 Oct 2018 04:33:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 01B991A85A; Sun, 28 Oct 2018 04:33:29 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w9S4XSSQ079832; Sun, 28 Oct 2018 04:33:28 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9S4XSKK079829; Sun, 28 Oct 2018 04:33:28 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810280433.w9S4XSKK079829@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 28 Oct 2018 04:33:28 +0000 (UTC) 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 X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/py-primme: . files X-SVN-Commit-Revision: 483220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2018 04:33:29 -0000 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 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"],