sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

36 lines
731 B
Makefile

# $OpenBSD: Makefile,v 1.2 2019/04/28 20:51:42 sthen Exp $
COMMENT = Python package for describing statistical models
MODPY_EGG_VERSION = 0.4.1
DISTNAME = patsy-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = math
REVISION = 0
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>