2018-06-17 00:08:52 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= cpp2py
|
|
|
|
DISTVERSION= 1.5-19
|
|
|
|
DISTVERSIONSUFFIX= -g5fd079c
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 3
|
2018-06-17 00:08:52 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Reflection tools based on clang
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
|
|
|
|
2020-02-23 16:25:53 +01:00
|
|
|
DEPRECATED= Uses deprecated version of python
|
|
|
|
EXPIRATION_DATE= 2020-08-15
|
|
|
|
|
2018-06-17 00:08:52 +02:00
|
|
|
PY_DEPENDS= ${PYNUMPY} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
|
|
|
|
BUILD_DEPENDS= ${PY_DEPENDS} \
|
|
|
|
llvm${LLVM_VER}>0:devel/llvm${LLVM_VER}
|
|
|
|
RUN_DEPENDS= ${PY_DEPENDS} \
|
|
|
|
llvm${LLVM_VER}>0:devel/llvm${LLVM_VER}
|
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c++14-lang python:2.7 shebangfix
|
2018-06-17 00:08:52 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= TRIQS
|
|
|
|
SHEBANG_FILES= bin/c*
|
|
|
|
CMAKE_ARGS= -DPYTHON_INTERPRETER:STRING=${PYTHON_CMD} \
|
|
|
|
-DFREEBSD_LLVM_VER:STRING=${LLVM_VER}
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
LLVM_VER= 60
|
|
|
|
|
2020-05-01 03:10:49 +02:00
|
|
|
PORTSCOUT= limit:^[0-9\.]*$$
|
|
|
|
|
2018-06-17 01:20:55 +02:00
|
|
|
post-install: # remove unnecessary files
|
|
|
|
@cd ${STAGEDIR}${PREFIX} && ${RM} share/cpp2py.modulefile share/cpp2pyvars.sh
|
2018-06-17 00:08:52 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|