33 lines
583 B
Makefile

# $OpenBSD: Makefile,v 1.17 2021/11/02 00:00:27 sthen Exp $
COMMENT = command line interface tools for Python
MODPY_EGG_VERSION = 0.5.1
DISTNAME = clint-${MODPY_EGG_VERSION}
PKGNAME = py-${DISTNAME}
CATEGORIES = devel
REVISION = 6
# ISC
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR = python3
DOCS = ${PREFIX}/share/doc/${MODPY_PY_PREFIX}clint
post-install:
${INSTALL_DATA_DIR} ${DOCS}
cd ${WRKSRC} && pax -rw *.rst ${DOCS}
do-test:
cd ${WRKSRC} && ${MODPY_BIN} test_clint.py
.include <bsd.port.mk>