pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/py-tomli py-tomli: build using the wheel to a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9f7b4fab1395
branches:  trunk
changeset: 371728:9f7b4fab1395
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 13 09:47:04 2022 +0000

description:
py-tomli: build using the wheel to avoid a dependency cycle

diffstat:

 textproc/py-tomli/Makefile |  9 ++++++---
 textproc/py-tomli/distinfo |  8 ++++----
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (40 lines):

diff -r a39cfb6f8508 -r 9f7b4fab1395 textproc/py-tomli/Makefile
--- a/textproc/py-tomli/Makefile        Thu Jan 13 09:10:40 2022 +0000
+++ b/textproc/py-tomli/Makefile        Thu Jan 13 09:47:04 2022 +0000
@@ -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@localhost
 HOMEPAGE=      https://github.com/hukkin/tomli
@@ -14,7 +14,10 @@
 
 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 -r a39cfb6f8508 -r 9f7b4fab1395 textproc/py-tomli/distinfo
--- a/textproc/py-tomli/distinfo        Thu Jan 13 09:10:40 2022 +0000
+++ b/textproc/py-tomli/distinfo        Thu Jan 13 09:47:04 2022 +0000
@@ -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



Home | Main Index | Thread Index | Old Index