pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/py-breathe py-breathe: add missing dependencies



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39dc8090fe4c
branches:  trunk
changeset: 372741:39dc8090fe4c
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jan 30 07:29:04 2022 +0000

description:
py-breathe: add missing dependencies

Avoid conflict with other versions of this package.

Bump PKGREVISION.

diffstat:

 textproc/py-breathe/ALTERNATIVES |  1 +
 textproc/py-breathe/Makefile     |  9 ++++++++-
 textproc/py-breathe/PLIST        |  4 ++--
 3 files changed, 11 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r f4a26cc89404 -r 39dc8090fe4c textproc/py-breathe/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/textproc/py-breathe/ALTERNATIVES  Sun Jan 30 07:29:04 2022 +0000
@@ -0,0 +1,1 @@
+bin/breathe-apidoc @PREFIX@/bin/breathe-apidoc-@PYVERSSUFFIX@
diff -r f4a26cc89404 -r 39dc8090fe4c textproc/py-breathe/Makefile
--- a/textproc/py-breathe/Makefile      Sun Jan 30 04:31:22 2022 +0000
+++ b/textproc/py-breathe/Makefile      Sun Jan 30 07:29:04 2022 +0000
@@ -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 @@
 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 -r f4a26cc89404 -r 39dc8090fe4c textproc/py-breathe/PLIST
--- a/textproc/py-breathe/PLIST Sun Jan 30 04:31:22 2022 +0000
+++ b/textproc/py-breathe/PLIST Sun Jan 30 07:29:04 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index