3293ce267e
Bring py-attrs up to latest Most work done by sthen, I worked through tests to verify it doesn't break anything OK sthen@
32 lines
581 B
Makefile
32 lines
581 B
Makefile
# $OpenBSD: Makefile,v 1.7 2020/01/06 18:12:09 kmos Exp $
|
|
|
|
COMMENT = classes without boilerplate
|
|
|
|
MODPY_EGG_VERSION = 19.3.0
|
|
|
|
DISTNAME = attrs-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://www.attrs.org/
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = 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>
|