summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-13 09:47:04 +0000
committerwiz <wiz@pkgsrc.org>2022-01-13 09:47:04 +0000
commit637533a43b573343f52f5521b65193924a8e5c77 (patch)
treead34a23ac1170fd35da268897f79b5173d62e036 /textproc
parent2c18e46cd1acabb2087e3b1f58efc28416ffa5dd (diff)
downloadpkgsrc-637533a43b573343f52f5521b65193924a8e5c77.tar.gz
py-tomli: build using the wheel to avoid a dependency cycle
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-tomli/Makefile9
-rw-r--r--textproc/py-tomli/distinfo8
2 files changed, 10 insertions, 7 deletions
diff --git a/textproc/py-tomli/Makefile b/textproc/py-tomli/Makefile
index 62c49780f00..66f13b9ecc8 100644
--- a/textproc/py-tomli/Makefile
+++ b/textproc/py-tomli/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.6 2022/01/11 21:53:33 nros Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/13 09:47:04 wiz Exp $
DISTNAME= tomli-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
-MASTER_SITES= ${MASTER_SITE_PYPI:=t/tomli/}
+MASTER_SITES= ${MASTER_SITE_WHEEL:=tomli/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/hukkin/tomli
@@ -14,7 +14,10 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
-BUILD_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
+# use the wheel here to avoid a circular dependency
+# py-tomli -> (py-flit_core|wheel.mk) -> py-build -> py-tomli
+NO_BUILD= yes
+#BUILD_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
.include "../../lang/python/wheel.mk"
.include "../../lang/python/extension.mk"
diff --git a/textproc/py-tomli/distinfo b/textproc/py-tomli/distinfo
index 41d3ab88868..26ea839d25c 100644
--- a/textproc/py-tomli/distinfo
+++ b/textproc/py-tomli/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2022/01/07 16:33:21 adam Exp $
+$NetBSD: distinfo,v 1.3 2022/01/13 09:47:04 wiz Exp $
-BLAKE2s (tomli-2.0.0.tar.gz) = b8105f0a62cc43314e07a07e04e64dea5ef1f6e6066a3ec902415b1e922ee8ae
-SHA512 (tomli-2.0.0.tar.gz) = f10596ac3daa6dbffe1592eec7d6f85cf2e21b9eb4c570cb398b2729a767fc54eb42a8ed0f5dd75b0bf4d35b91da6df7080f90930b1bba44506240d39a5e5c1d
-Size (tomli-2.0.0.tar.gz) = 15037 bytes
+BLAKE2s (tomli-2.0.0-py3-none-any.whl) = a20dc518d81a24d9f378abb39d170de29a9ad604d4a15bca85c5bf2c3becb656
+SHA512 (tomli-2.0.0-py3-none-any.whl) = 6191981e9771dedc5dc225734295774c75a272d03edfbea7415d2b4c09531d5022dba53affc47baf817ff9cc5945d8d62ea3eb67bd69e146a07eaa35dec5acc0
+Size (tomli-2.0.0-py3-none-any.whl) = 12127 bytes