summaryrefslogtreecommitdiff
path: root/devel/py-python-dbusmock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/py-python-dbusmock/Makefile')
-rw-r--r--devel/py-python-dbusmock/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/py-python-dbusmock/Makefile b/devel/py-python-dbusmock/Makefile
index 510a42ae7372..5a01d4b01cfc 100644
--- a/devel/py-python-dbusmock/Makefile
+++ b/devel/py-python-dbusmock/Makefile
@@ -1,5 +1,5 @@
PORTNAME= python-dbusmock
-DISTVERSION= 0.35.0
+DISTVERSION= 0.36.0
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -24,6 +24,14 @@ USE_PYTHON= autoplist pep517 pytest
BINARY_ALIAS= python3=${PYTHON_CMD}
NO_ARCH= yes
+PORTDOCS= README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
do-test:
cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m unittest