33 lines
576 B
Makefile
33 lines
576 B
Makefile
# $OpenBSD: Makefile,v 1.14 2020/07/03 21:12:42 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 = 3
|
|
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
FLAVORS = python3
|
|
FLAVOR ?=
|
|
|
|
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>
|