33 lines
738 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2018/03/16 13:08:35 rpointel Exp $
COMMENT = editable interval tree data structure for Python 2 and 3
MODPY_EGG_VERSION = 2.1.0
DISTNAME = intervaltree-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = https://github.com/chaimleib/intervaltree
# Apache v2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
RUN_DEPENDS = devel/py-sortedcontainers${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS} \
devel/py-test${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
# "test" directory is missing from the tarball, exists only in repository
# could run the regress tests by copying the directory in WRKSRC
NO_TEST = Yes
.include <bsd.port.mk>