pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-docutils py-docutils: switch to versioned_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1d1378e3fe96
branches:  trunk
changeset: 771086:1d1378e3fe96
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Dec 13 09:28:34 2021 +0000

description:
py-docutils: switch to versioned_dependencies.mk for py-pygments

diffstat:

 textproc/py-docutils/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 8230a698c569 -r 1d1378e3fe96 textproc/py-docutils/Makefile
--- a/textproc/py-docutils/Makefile     Mon Dec 13 08:56:53 2021 +0000
+++ b/textproc/py-docutils/Makefile     Mon Dec 13 09:28:34 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2021/10/29 16:13:22 adam Exp $
+# $NetBSD: Makefile,v 1.56 2021/12/13 09:28:34 wiz Exp $
 
 DISTNAME=      docutils-0.17.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -11,9 +11,10 @@
 LICENSE=       public-domain AND 2-clause-bsd
 
 DEPENDS+=      ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat
-DEPENDS+=      ${PYPKGPREFIX}-pygments>=0:../../textproc/py-pygments
 DEPENDS+=      ${PYPKGPREFIX}-roman>=1.4:../../math/py-roman
 
+PYTHON_VERSIONED_DEPENDENCIES= pygments
+
 USE_LANGUAGES= # none
 
 REPLACE_PYTHON+=       docutils/utils/code_analyzer.py
@@ -35,5 +36,6 @@
        cd ${WRKSRC} && ${PYTHONBIN} test/alltests.py
 
 .include "../../lang/python/application.mk"
+.include "../../lang/python/versioned_dependencies.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index