Has numerous small fixes, most don't affect us. One of them is to "add support for Python 3.7" but the old version worked fine for us. OK jung@ (maintainer) sthen@
31 lines
604 B
Makefile
31 lines
604 B
Makefile
# $OpenBSD: Makefile,v 1.4 2019/07/20 21:52:47 kmos Exp $
|
|
|
|
COMMENT = makes working with XML feel like orking with JSON
|
|
|
|
MODPY_EGG_VERSION = 0.12.0
|
|
DISTNAME = xmltodict-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = textproc
|
|
|
|
MAINTAINER = Joerg Jung <jung@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
TEST_DEPENDS = devel/py-coverage${MODPY_FLAVOR} \
|
|
devel/py-nose${MODPY_FLAVOR}
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && \
|
|
${LOCALBASE}/bin/nosetests${MODPY_BIN_SUFFIX} tests/*.py
|
|
|
|
.include <bsd.port.mk>
|