blob: adeca6da0f5a0fa10faf409d29d3e92dfc932804 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $FreeBSD$
PORTNAME= pyipopt
DISTVERSION= g20180409
PORTREVISION= 1
CATEGORIES= math python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Use ipopt (an optimization tool) via python
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= ${PYNUMPY}
LIB_DEPENDS= libipopt.so:math/ipopt
RUN_DEPENDS= ${PYNUMPY}
USES= dos2unix python
USE_GITHUB= yes
GH_ACCOUNT= xuy
GH_TAGNAME= 36bcb7f
DOS2UNIX_FILES= setup.py
USE_PYTHON= distutils autoplist
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/pyipopt/pyipoptcore.so
.include <bsd.port.mk>
|