mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 08:56:28 -04:00
27 lines
697 B
Makefile
27 lines
697 B
Makefile
PORTNAME= PySCIPOpt
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 5.0.1
|
|
CATEGORIES= math python
|
|
#MASTER_SITES= PYPI # no tests
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Python interface and modeling environment for SCIP
|
|
WWW= https://github.com/SCIP-Interfaces/PySCIPOpt
|
|
|
|
LICENSE= MIT
|
|
|
|
LIB_DEPENDS= libscip.so:math/SCIP
|
|
|
|
USES= localbase python
|
|
USE_PYTHON= distutils cython autoplist pytest # 1 test fails, see https://github.com/scipopt/PySCIPOpt/issues/840
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= scipopt
|
|
|
|
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyscipopt/scip*.so
|
|
|
|
.include <bsd.port.mk>
|