summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-30 07:29:04 +0000
committerwiz <wiz@pkgsrc.org>2022-01-30 07:29:04 +0000
commit86ed0facbed4a94f12bb0eb25edf0a8b18e5ff2a (patch)
treedb634d93dba2a39102228bcf758020cdc6f18981
parent7bd4a9243e11e1d9550a4eec299a575ceb614c97 (diff)
downloadpkgsrc-86ed0facbed4a94f12bb0eb25edf0a8b18e5ff2a.tar.gz
py-breathe: add missing dependencies
Avoid conflict with other versions of this package. Bump PKGREVISION.
-rw-r--r--textproc/py-breathe/ALTERNATIVES1
-rw-r--r--textproc/py-breathe/Makefile9
-rw-r--r--textproc/py-breathe/PLIST4
3 files changed, 11 insertions, 3 deletions
diff --git a/textproc/py-breathe/ALTERNATIVES b/textproc/py-breathe/ALTERNATIVES
new file mode 100644
index 00000000000..10ace3def20
--- /dev/null
+++ b/textproc/py-breathe/ALTERNATIVES
@@ -0,0 +1 @@
+bin/breathe-apidoc @PREFIX@/bin/breathe-apidoc-@PYVERSSUFFIX@
diff --git a/textproc/py-breathe/Makefile b/textproc/py-breathe/Makefile
index 884d74f46ac..bac90aa1f22 100644
--- a/textproc/py-breathe/Makefile
+++ b/textproc/py-breathe/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/01/30 01:24:44 gdt Exp $
+# $NetBSD: Makefile,v 1.2 2022/01/30 07:29:04 wiz Exp $
DISTNAME= breathe-4.31.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
+PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=b/breathe/}
@@ -10,7 +11,13 @@ HOMEPAGE= https://github.com/michaeljones/breathe
COMMENT= Sphinx plugin providing integrated Doxygen output
LICENSE= modified-bsd
+DEPENDS+= ${PYPKGPREFIX}-sphinx>=3:../../textproc/py-sphinx
+DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
+
PYTHON_VERSIONS_INCOMPATIBLE= 27
+post-install:
+ cd ${DESTDIR}${PREFIX}/bin && mv breathe-apidoc breathe-apidoc-${PYVERSSUFFIX} || ${TRUE}
+
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-breathe/PLIST b/textproc/py-breathe/PLIST
index 568a76171cc..3d2b7e87a1e 100644
--- a/textproc/py-breathe/PLIST
+++ b/textproc/py-breathe/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.1 2022/01/30 01:24:44 gdt Exp $
-bin/breathe-apidoc
+@comment $NetBSD: PLIST,v 1.2 2022/01/30 07:29:04 wiz Exp $
+bin/breathe-apidoc-${PYVERSSUFFIX}
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt