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.
33 lines
601 B
Makefile
33 lines
601 B
Makefile
# $OpenBSD: Makefile,v 1.5 2019/04/28 20:51:30 sthen Exp $
|
|
|
|
COMMENT = classes without boilerplate
|
|
|
|
MODPY_EGG_VERSION = 18.2.0
|
|
|
|
DISTNAME = attrs-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = http://www.attrs.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
MODPY_PYTEST = Yes
|
|
|
|
TEST_DEPENDS = devel/py-hypothesis${MODPY_FLAVOR} \
|
|
devel/py-six${MODPY_FLAVOR} \
|
|
devel/py-zopeinterface${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
TEST_ENV += PYTHONPATH=${WRKSRC}/lib
|
|
|
|
.include <bsd.port.mk>
|