shadchin bf0b881fe4 Import py-patsy 0.4.1, ok danj@
Patsy is a Python library for describing statistical models (especially
linear models, or models that have a linear component) and building
design matrices. Patsy brings the convenience of R formulas to Python.
2017-02-24 21:51:36 +00:00

35 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2017/02/24 21:51:36 shadchin Exp $
COMMENT = Python package for describing statistical models
MODPY_EGG_VERSION = 0.4.1
DISTNAME = patsy-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
EXTRACT_SUFX = .zip
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
RUN_DEPENDS = devel/py-six${MODPY_FLAVOR} \
math/py-numpy${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS} \
devel/py-nose${MODPY_FLAVOR} \
math/py-scipy${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
do-test:
cd ${WRKSRC} && ${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} patsy
.include <bsd.port.mk>