Let Code_Aster use Python-3.7.

This commit is contained in:
Thierry Thomas 2019-12-25 13:35:06 +00:00
parent 2f79480472
commit bda7766bf0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520858
3 changed files with 10 additions and 7 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= astk
DISTVERSION= 2019.0-1
PORTREVISION= 1
CATEGORIES= cad
.if !defined(CLIENT_SEUL)
PKGNAMESUFFIX= -serveur
@ -35,7 +36,7 @@ RUN_DEPENDS+= ${SHELL_INSTALL_ASTER}:shells/${SHIADEP}
USES= gettext
.if !defined(CLIENT_SEUL)
USES+= python:3.6 shebangfix tk:build
USES+= python:3.6+ shebangfix tk:build
SHEBANG_FILES= unittest/run_test.py
.else
USES+= tk

View File

@ -3,6 +3,7 @@
PORTNAME= aster
DISTVERSION= ${ASTER_DISTVERSION}
PORTREVISION= 1
CATEGORIES= french cad
MAINTAINER= thierry@FreeBSD.org
@ -48,7 +49,7 @@ LIB_DEPENDS+= libhdf5.so:science/hdf5 \
RUN_DEPENDS+= ${SHELL_INSTALL_ASTER}:shells/${SHIADEP} \
astk-serveur>0:cad/astk-serveur
USES= bison fortran gettext python:3.6 qt:5 tk
USES= bison fortran gettext python:3.6+ qt:5 tk
USE_BINUTILS= yes
USE_QT= linguisttools_build
@ -88,7 +89,7 @@ INTERACTIVE_SCRIPTS= check_compilers.py setup.py
.if ${OPSYS} == FreeBSD && ((${OSREL:R} <= 12 && ${OSVERSION} < 1201506) \
|| (${OSREL:R} > 12 && ${OSVERSION} < 1300068))
BROKEN= a larger value of ARG_MAX is needed for Code_Aster, please upgrade your system
#BROKEN= a larger value of ARG_MAX is needed for Code_Aster, please upgrade your system
.endif
.if ${ARCH} == "i386"

View File

@ -3,22 +3,23 @@
PORTNAME= homard
DISTVERSION= 11.12-aster2
PORTREVISION= 1
CATEGORIES= french cad linux
MAINTAINER= thierry@FreeBSD.org
COMMENT= Refinement and de-refinement mesh tool
ONLY_FOR_ARCHS= amd64 i386
BUILD_DEPENDS= ${LOCALBASE}/aster/${VER}/bin/aster:french/aster
RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \
${LOCALBASE}/aster/${VER}/bin/aster:french/aster
USES= linux python:3.6+ shebangfix
RESTRICTED= The free downloading of HOMARD software is only allowed for coupling\
with Code_Aster. For any other use, a license agreement is requested.\
Please contact HOMARD project: <homard@edf.fr>.
ONLY_FOR_ARCHS= amd64 i386
USES= linux python:3.6 shebangfix
SHEBANG_FILES= ${WRKSRC}/ASTER_HOMARD/homard \
${WRKSRC}/homard_base ${WRKSRC}/setup_homard.py
REINPLACE_ARGS= -i ""