Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2018 06:22:37 +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: r468074 - head/math/py-pynleq2
Message-ID:  <201804230622.w3N6MbOk081000@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Mon Apr 23 06:22:37 2018
New Revision: 468074
URL: https://svnweb.freebsd.org/changeset/ports/468074

Log:
  math/py-pynleq2: Update 0.0.2 -> 0.0.2_1 (update of fortran files that are compiled)
  
  Also added the patching of setup.py: /usr/local -> ${LOCALBASE}
  
  Reported by:	portscout

Modified:
  head/math/py-pynleq2/Makefile
  head/math/py-pynleq2/distinfo

Modified: head/math/py-pynleq2/Makefile
==============================================================================
--- head/math/py-pynleq2/Makefile	Mon Apr 23 06:06:59 2018	(r468073)
+++ head/math/py-pynleq2/Makefile	Mon Apr 23 06:22:37 2018	(r468074)
@@ -2,6 +2,7 @@
 
 PORTNAME=	pynleq2
 DISTVERSION=	0.0.2
+PORTREVISION=	1
 CATEGORIES=	math python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -18,11 +19,14 @@ BUILD_DEPENDS=	${PYNUMPY}
 USES=		fortran:flang python
 USE_PYTHON=	distutils autoplist
 USE_GITHUB=	nodefault
-GH_TUPLE=	PySCeS:pysces:0.9.5:fortran
+GH_TUPLE=	PySCeS:pysces:0.9.6:fortran
 
 BINARY_ALIAS=	gfortran6=flang # it keeps using gfortran6 regardless of the environment variables and arguments
 
 FORTRAN_FILES=	linalg_nleq2.f nleq2.f wnorm.f zibconst.f zibmon.f zibsec.f
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py
 
 pre-build: # compile fortran files into a static library because distutils fails while doing this
 	@${MKDIR} ${WRKDIR}/.fbuild && \

Modified: head/math/py-pynleq2/distinfo
==============================================================================
--- head/math/py-pynleq2/distinfo	Mon Apr 23 06:06:59 2018	(r468073)
+++ head/math/py-pynleq2/distinfo	Mon Apr 23 06:22:37 2018	(r468074)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1523392896
+TIMESTAMP = 1524415019
 SHA256 (pynleq2-0.0.2.tar.gz) = b9be75bb7def34cd7a82aed87b70f6c3c9f4602cbe9e8d4fcf43a4aae241112d
 SIZE (pynleq2-0.0.2.tar.gz) = 6219
-SHA256 (PySCeS-pysces-0.9.5_GH0.tar.gz) = 14131578b36154593ee5e793b3886572746209dcc3d9ed5ef3787a3476876cf6
-SIZE (PySCeS-pysces-0.9.5_GH0.tar.gz) = 2119094
+SHA256 (PySCeS-pysces-0.9.6_GH0.tar.gz) = 0888488fa9a8d11c4885e084af0c5825d9c37d1fb8a133899a657d79bc503fa4
+SIZE (PySCeS-pysces-0.9.6_GH0.tar.gz) = 2673710



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