pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-docx py-docx: restrict to python3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2bb9645bd303
branches:  trunk
changeset: 381724:2bb9645bd303
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jul 12 07:17:34 2022 +0000

description:
py-docx: restrict to python3

diffstat:

 textproc/py-docx/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 7f222a4eaaad -r 2bb9645bd303 textproc/py-docx/Makefile
--- a/textproc/py-docx/Makefile Tue Jul 12 06:01:44 2022 +0000
+++ b/textproc/py-docx/Makefile Tue Jul 12 07:17:34 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2022/01/04 20:54:54 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2022/07/12 07:17:34 wiz Exp $
 
 DISTNAME=      python-docx-0.8.11
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/python-//}
@@ -13,9 +13,11 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-lxml>=2.3.2:../../textproc/py-lxml
 TEST_DEPENDS+= ${PYPKGPREFIX}-behave-[0-9]*:../../devel/py-behave
+TEST_DEPENDS+= ${PYPKGPREFIX}-pyparsing-[0-9]*:../../devel/py-pyparsing
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock
 
-PYTHON_VERSIONED_DEPENDENCIES= test:test pyparsing:test
+PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
@@ -23,5 +25,4 @@
        cd ${WRKSRC} && pytest-${PYVERSSUFFIX}
 
 .include "../../lang/python/egg.mk"
-.include "../../lang/python/versioned_dependencies.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index