31 lines
605 B
Makefile
31 lines
605 B
Makefile
# $OpenBSD: Makefile,v 1.14 2015/12/21 20:20:37 shadchin Exp $
|
|
|
|
COMMENT = Python 2 and 3 compatibility library
|
|
MODPY_EGG_VERSION = 1.10.0
|
|
DISTNAME = six-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-six-${MODPY_EGG_VERSION}
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://pythonhosted.org/six/
|
|
|
|
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODPY_PI = Yes
|
|
|
|
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>
|