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

30 lines
606 B
Makefile

# $OpenBSD: Makefile,v 1.2 2019/04/28 20:51:39 sthen Exp $
COMMENT = cross-platform, cross-python, shutil.which functionality
MODPY_EGG_VERSION = 0.4.1
DISTNAME = whichcraft-${MODPY_EGG_VERSION}
PKGNAME = py-whichcraft-${MODPY_EGG_VERSION}
REVISION = 0
CATEGORIES = devel sysutils
HOMEPAGE = https://github.com/pydanny/whichcraft
# BSD-3-Clause
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_SETUPTOOLS = Yes
MODPY_PI = Yes
TEST_DEPENDS = devel/py-test${MODPY_FLAVOR}
FLAVORS += python3
FLAVOR ?=
do-test:
cd ${WRKSRC} && ${MODPY_BIN} test_whichcraft.py
.include <bsd.port.mk>