science/dftbplus: Change to python3.

This commit is contained in:
Yuri Victorovich 2020-05-20 00:36:40 +00:00
parent 7d9d936f2c
commit b0c0e1764b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=535961
2 changed files with 30 additions and 29 deletions

View file

@ -2,6 +2,7 @@
PORTNAME= dftbplus
DISTVERSION= 19.1
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= yuri@FreeBSD.org
@ -9,15 +10,13 @@ COMMENT= DFTB+: Package for performing fast atomistic simulations
LICENSE= GPLv3 # main code is under LGPL3+, the bundled dftd3-lib is under GPLv1+, this makes the result GPLv3 (based on https://www.gnu.org/licenses/gpl-faq.html#AllCompatibility)
DEPRECATED= Uses deprecated version of python
EXPIRATION_DATE= 2020-08-15
BROKEN_powerpc64= fails to compile: lbfgs.f90:18:19: Cannot find an intrinsic module named 'ieee_arithmetic' at (1)
LIB_DEPENDS= libblas.so:math/blas \
liblapack.so:math/lapack
RUN_DEPENDS= ${PYNUMPY}
USES= compiler:gcc-c++11-lib fortran gmake python:2.7 shebangfix
USES= compiler:gcc-c++11-lib fortran gmake python shebangfix
SHEBANG_FILES= tools/dptools/bin/* tools/misc/* utils/srcmanip/* utils/build/* external/fypp/bin/* utils/get_opt_externals \
external/fypp/bin/fypp utils/test/testlist_to_fypp test/prog/dftb+/bin/tagdiff
SHEBANG_GLOB= *.py
@ -35,6 +34,8 @@ LDFLAGS+= -llapack -lblas -lgfortran -lm
MAKE_ARGS= PYTHON=${PYTHON_CMD} FC=${FC} FXX=${FC} LN=${CC} \
INSTALLDIR=${STAGEDIR}${PREFIX} FREEBSD_PYDISTUTILS_INSTALLARGS="${PYDISTUTILS_INSTALLARGS} --root=${STAGEDIR}"
BINARY_ALIAS= python=${PYTHON_CMD}
OPTIONS_DEFINE= DFTD3 MPI SOCKETS ARPACK
OPTIONS_DEFAULT= DFTD3 MPI SOCKETS

View file

@ -11,41 +11,41 @@ bin/waveplot
bin/xyz2gen
%%PYTHON_SITELIBDIR%%/dptools-19.1-py%%PYTHON_VER%%.egg-info
%%PYTHON_SITELIBDIR%%/dptools/__init__.py
%%PYTHON_SITELIBDIR%%/dptools/__init__.pyc
%%PYTHON_SITELIBDIR%%/dptools/__init__.pyo
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/bandout.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/bandout.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/cif.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/cif.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/gen.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/gen.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/geometry.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/geometry.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/grids.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/grids.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/gridsio.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/gridsio.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/xyz.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/__pycache__/xyz.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/bandout.py
%%PYTHON_SITELIBDIR%%/dptools/bandout.pyc
%%PYTHON_SITELIBDIR%%/dptools/bandout.pyo
%%PYTHON_SITELIBDIR%%/dptools/cif.py
%%PYTHON_SITELIBDIR%%/dptools/cif.pyc
%%PYTHON_SITELIBDIR%%/dptools/cif.pyo
%%PYTHON_SITELIBDIR%%/dptools/common.py
%%PYTHON_SITELIBDIR%%/dptools/common.pyc
%%PYTHON_SITELIBDIR%%/dptools/common.pyo
%%PYTHON_SITELIBDIR%%/dptools/gen.py
%%PYTHON_SITELIBDIR%%/dptools/gen.pyc
%%PYTHON_SITELIBDIR%%/dptools/gen.pyo
%%PYTHON_SITELIBDIR%%/dptools/geometry.py
%%PYTHON_SITELIBDIR%%/dptools/geometry.pyc
%%PYTHON_SITELIBDIR%%/dptools/geometry.pyo
%%PYTHON_SITELIBDIR%%/dptools/grids.py
%%PYTHON_SITELIBDIR%%/dptools/grids.pyc
%%PYTHON_SITELIBDIR%%/dptools/grids.pyo
%%PYTHON_SITELIBDIR%%/dptools/gridsio.py
%%PYTHON_SITELIBDIR%%/dptools/gridsio.pyc
%%PYTHON_SITELIBDIR%%/dptools/gridsio.pyo
%%PYTHON_SITELIBDIR%%/dptools/scripts/__init__.py
%%PYTHON_SITELIBDIR%%/dptools/scripts/__init__.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__init__.pyo
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/common.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/repeatgen.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/repeatgen.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/straingen.cpython-%%PYTHON_SUFFIX%%.opt-1.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/__pycache__/straingen.cpython-%%PYTHON_SUFFIX%%.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/common.py
%%PYTHON_SITELIBDIR%%/dptools/scripts/common.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/common.pyo
%%PYTHON_SITELIBDIR%%/dptools/scripts/repeatgen.py
%%PYTHON_SITELIBDIR%%/dptools/scripts/repeatgen.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/repeatgen.pyo
%%PYTHON_SITELIBDIR%%/dptools/scripts/straingen.py
%%PYTHON_SITELIBDIR%%/dptools/scripts/straingen.pyc
%%PYTHON_SITELIBDIR%%/dptools/scripts/straingen.pyo
%%PYTHON_SITELIBDIR%%/dptools/xyz.py
%%PYTHON_SITELIBDIR%%/dptools/xyz.pyc
%%PYTHON_SITELIBDIR%%/dptools/xyz.pyo