devel/vitables: Remove unndecessary workaround that was needed for gcc-9-
PR: 253012 Submitted by: makc
This commit is contained in:
parent
0ecf35cf99
commit
cbc427f610
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=562648
1 changed files with 7 additions and 13 deletions
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= vitables
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.0.2
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= devel science python
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
|
@ -18,24 +18,18 @@ RUN_DEPENDS= ${PYNUMPY} \
|
|||
${PYTHON_PKGNAMEPREFIX}tables>=3.0:devel/py-tables@${PY_FLAVOR}
|
||||
|
||||
USES= dos2unix python pyqt:5
|
||||
DOS2UNIX_FILES= setup.py
|
||||
USE_PYTHON= distutils cython noflavors autoplist
|
||||
USE_PYQT= core_run gui_run sip_run widgets_run
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= uvemas
|
||||
GH_PROJECT= ViTables
|
||||
USE_PYTHON= distutils cython noflavors autoplist
|
||||
USE_PYQT= core_run gui_run sip_run widgets_run
|
||||
NO_ARCH= yes
|
||||
|
||||
PLIST_FILES= ${PYTHON_SITELIBDIR}/${PORTNAME}.sh
|
||||
DOS2UNIX_FILES= setup.py
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} "s|version=read('VERSION')|version='${DISTVERSION}'|" ${WRKSRC}/setup.py
|
||||
|
||||
post-install:
|
||||
@${MV} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}.sh
|
||||
@(echo "#!/bin/sh"; \
|
||||
echo "LD_PRELOAD=${PREFIX}/lib/gcc${GCC_DEFAULT}/libgcc_s.so ${PYTHON_SITELIBDIR}/${PORTNAME}.sh \"\$$@\"" \
|
||||
) > ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
Loading…
Reference in a new issue