shadchin defe568e9f Add python3 flavor, fix regress and uniform MASTER_SITES.
ok sthen@, daniel@, ajacoutot@, bcallah@(maintainer)
2014-12-18 06:16:18 +00:00

32 lines
638 B
Makefile

# $OpenBSD: Makefile,v 1.9 2014/12/18 06:16:18 shadchin Exp $
COMMENT = Python 2 and 3 compatibility library
MODPY_EGG_VERSION = 1.8.0
DISTNAME = six-${MODPY_EGG_VERSION}
PKGNAME = py-six-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = devel
HOMEPAGE = http://pythonhosted.org/six/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# MIT
PERMIT_PACKAGE_CDROM = Yes
MASTER_SITES = ${MASTER_SITE_PYPI:=s/six/}
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
TEST_DEPENDS = devel/py-py${MODPY_FLAVOR} \
devel/py-test${MODPY_FLAVOR}
FLAVORS= python3
FLAVOR?=
do-test:
cd ${WRKSRC} && ${MODPY_BIN} -m pytest -v
.include <bsd.port.mk>