openbsd-ports/math/py-osqp/Makefile
ajacoutot 46fd384b52 Change the "FLAVOR ?= python3" contruct to "FLAVOR = python3" since these are
python3 only ports.

"Yes please, it's not really optional so I think = is better." sthen@
2020-08-19 12:25:12 +00:00

33 lines
614 B
Makefile

# $OpenBSD: Makefile,v 1.7 2020/08/19 12:25:12 ajacoutot Exp $
COMMENT = Python interface to OSQP
MODPY_EGG_VERSION = 0.6.1
DISTNAME = osqp-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
REVISION = 2
MAINTAINER = Paul Irofti <paul@irofti.net>
# Apache v2
PERMIT_PACKAGE = Yes
MODULES = lang/python
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/cmake
RUN_DEPENDS = math/py-numpy${MODPY_FLAVOR} \
math/py-scipy${MODPY_FLAVOR} \
devel/py-future${MODPY_FLAVOR}
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
MODPY_PYTEST = Yes
FLAVORS = python3
FLAVOR = python3
.include <bsd.port.mk>