summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-07-16 10:35:45 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-07-16 10:37:04 +0900
commitbd7e125fb27bc65b03081764f2fa3179bc3ce13e (patch)
tree77beac6248f875a1c9cdef5978fd590e7f5a97a9
parentdevel/ruby-build: Update to 20250716 (diff)
devel/py-python-dbusmock: update to 0.36.0
While here, add DOCS option. Changelog: https://github.com/martinpitt/python-dbusmock/releases/tag/0.36.0 Reported by: Repology
-rw-r--r--devel/py-python-dbusmock/Makefile10
-rw-r--r--devel/py-python-dbusmock/distinfo6
2 files changed, 12 insertions, 4 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
diff --git a/devel/py-python-dbusmock/distinfo b/devel/py-python-dbusmock/distinfo
index 6e6585b3bafa..a37d642b63fd 100644
--- a/devel/py-python-dbusmock/distinfo
+++ b/devel/py-python-dbusmock/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1748060796
-SHA256 (python_dbusmock-0.35.0.tar.gz) = 8651c2074d117cc84bf3ca7f0a648c215363b763761f2a8d79bc4ace5a1b3ae9
-SIZE (python_dbusmock-0.35.0.tar.gz) = 111723
+TIMESTAMP = 1752628662
+SHA256 (python_dbusmock-0.36.0.tar.gz) = 2d3812ee6c1e15607bca882ed5dfcabaac449c1a3b9627080bbab3deefd56fd2
+SIZE (python_dbusmock-0.36.0.tar.gz) = 111529