summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-07-06 11:20:16 +0000
committerwiz <wiz@pkgsrc.org>2022-07-06 11:20:16 +0000
commit54cdd753d6f27239d42d01b78b39cf6f26da0b4a (patch)
treee71552f22c8e9a92b479871d45ee0777b47e2965
parent865e35cf12efe1b9d17ddc5fd39b0d43b90d8a3a (diff)
downloadpkgsrc-54cdd753d6f27239d42d01b78b39cf6f26da0b4a.tar.gz
py-chardet: mark as not for python 2.7
Use py-chardet4 for that
-rw-r--r--converters/py-chardet/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/converters/py-chardet/Makefile b/converters/py-chardet/Makefile
index 3f8f95419bf..6b8ed36892d 100644
--- a/converters/py-chardet/Makefile
+++ b/converters/py-chardet/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2022/07/03 12:45:17 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2022/07/06 11:20:16 wiz Exp $
DISTNAME= chardet-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -18,6 +18,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_PKG_RESOURCES= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} chardetect chardetect-${PYVERSSUFFIX} || ${TRUE}