pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc *: use versioned_dependencies.mk for py-chardet
details: https://anonhg.NetBSD.org/pkgsrc/rev/3a67b4046ad0
branches: trunk
changeset: 381264:3a67b4046ad0
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Jul 03 12:13:07 2022 +0000
description:
*: use versioned_dependencies.mk for py-chardet
diffstat:
devel/py-binaryornot/Makefile | 5 +++--
devel/py-requests/Makefile | 4 ++--
textproc/py-html5-parser/Makefile | 6 ++++--
textproc/py-pysrt/Makefile | 5 +++--
4 files changed, 12 insertions(+), 8 deletions(-)
diffs (88 lines):
diff -r 4152680dc7e2 -r 3a67b4046ad0 devel/py-binaryornot/Makefile
--- a/devel/py-binaryornot/Makefile Sun Jul 03 12:11:25 2022 +0000
+++ b/devel/py-binaryornot/Makefile Sun Jul 03 12:13:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2022/01/04 20:52:52 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2022/07/03 12:13:07 wiz Exp $
DISTNAME= binaryornot-0.4.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,9 +11,10 @@
COMMENT= Guess whether a file is binary or text
LICENSE= modified-bsd
-DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
+PYTHON_VERSIONED_DEPENDENCIES= chardet
USE_LANGUAGES= # none
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 4152680dc7e2 -r 3a67b4046ad0 devel/py-requests/Makefile
--- a/devel/py-requests/Makefile Sun Jul 03 12:11:25 2022 +0000
+++ b/devel/py-requests/Makefile Sun Jul 03 12:13:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2022/04/21 11:00:00 wiz Exp $
+# $NetBSD: Makefile,v 1.54 2022/07/03 12:13:07 wiz Exp $
DISTNAME= requests-2.27.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -27,7 +27,7 @@
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} == 27
-DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet
+DEPENDS+= ${PYPKGPREFIX}-chardet>=3.0.2:../../converters/py-chardet4
TEST_DEPENDS= # none; py-test-httpbin is incompatible with py27
do-test:
.else
diff -r 4152680dc7e2 -r 3a67b4046ad0 textproc/py-html5-parser/Makefile
--- a/textproc/py-html5-parser/Makefile Sun Jul 03 12:11:25 2022 +0000
+++ b/textproc/py-html5-parser/Makefile Sun Jul 03 12:13:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/04/18 19:12:11 adam Exp $
+# $NetBSD: Makefile,v 1.14 2022/07/03 12:13:07 wiz Exp $
DISTNAME= html5-parser-0.4.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -12,11 +12,13 @@
LICENSE= apache-2.0
DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4
-DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
DEPENDS+= ${PYPKGPREFIX}-lxml>=3.8.0:../../textproc/py-lxml
+PYTHON_VERSIONED_DEPENDENCIES+= chardet
+
USE_TOOLS+= pkg-config
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 4152680dc7e2 -r 3a67b4046ad0 textproc/py-pysrt/Makefile
--- a/textproc/py-pysrt/Makefile Sun Jul 03 12:11:25 2022 +0000
+++ b/textproc/py-pysrt/Makefile Sun Jul 03 12:13:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2022/01/05 15:41:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2022/07/03 12:13:07 wiz Exp $
DISTNAME= pysrt-1.1.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
@@ -11,7 +11,7 @@
COMMENT= Python parser for SubRip (srt) files
LICENSE= gnu-gpl-v3
-DEPENDS+= ${PYPKGPREFIX}-chardet-[0-9]*:../../converters/py-chardet
+PYTHON_VERSIONED_DEPENDENCIES+= chardet
USE_LANGUAGES= # none
@@ -21,5 +21,6 @@
cd ${DESTDIR}${PREFIX}/bin && \
${MV} srt srt-${PYVERSSUFFIX} || ${TRUE}
+.include "../../lang/python/versioned_dependencies.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index