freebsd-ports/misc/py-eemeter/Makefile
2023-04-23 09:09:58 +00:00

23 lines
773 B
Makefile

PORTNAME= eemeter
DISTVERSION= 3.1.1
PORTREVISION= 1
CATEGORIES= misc python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Package implementing methods to calculate metered energy consumption
WWW= https://eemeter.openee.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pandas>0:math/py-pandas@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}statsmodels>0:math/py-statsmodels@${PY_FLAVOR}
USES= python:3.7+
USE_PYTHON= distutils concurrent autoplist pytest # several tests fail, see https://github.com/openeemeter/eemeter/issues/448
.include <bsd.port.mk>