sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
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.
2019-04-28 20:51:26 +00:00

37 lines
721 B
Makefile

# $OpenBSD: Makefile,v 1.9 2019/04/28 20:51:30 sthen Exp $
COMMENT = fast, simple object-to-object and broadcast signaling
MODPY_EGG_VERSION = 1.4
REVISION = 3
DISTNAME = blinker-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
HOMEPAGE = http://pythonhosted.org/blinker/
# MIT
PERMIT_PACKAGE_CDROM = Yes
MODPY_PI = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
TEST_DEPENDS = devel/py-nose${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/${MODPY_PY_PREFIX}blinker
cd ${WRKSRC}/docs/html && \
pax -rw * ${PREFIX}/share/doc/${MODPY_PY_PREFIX}blinker
do-test:
cd ${WRKSRC} && nosetests${MODPY_BIN_SUFFIX} tests
.include <bsd.port.mk>