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
This commit is contained in:
parent
ab4d93e54f
commit
335b4e38b9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468074
2 changed files with 8 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= pynleq2
|
||||
DISTVERSION= 0.0.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
@ -18,12 +19,15 @@ 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 && \
|
||||
cd ${WRKDIR}/.fbuild && \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue