pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-typing-extensions py-typing-extensions: Avoid...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a7a3500b80f3
branches:  trunk
changeset: 382355:a7a3500b80f3
user:      leot <leot%pkgsrc.org@localhost>
date:      Tue Jul 26 11:19:42 2022 +0000

description:
py-typing-extensions: Avoid circular dependency with Python 3.7

Switch to use NO_BUILD=yes with wheel.mk (and change MASTER_SITE_WHEEL
to use pre-built platform independent packages) in order to avoid a circular
dependency with Python 3.7 in py-build.

Bump PKGREVISION.

Thanks a lot to <mef> and <nros>! (possible left-over regressions are mine)

diffstat:

 devel/py-typing-extensions/Makefile |  13 +++++++++----
 devel/py-typing-extensions/distinfo |   8 ++++----
 2 files changed, 13 insertions(+), 8 deletions(-)

diffs (46 lines):

diff -r 76cbb9b47aac -r a7a3500b80f3 devel/py-typing-extensions/Makefile
--- a/devel/py-typing-extensions/Makefile       Tue Jul 26 08:43:17 2022 +0000
+++ b/devel/py-typing-extensions/Makefile       Tue Jul 26 11:19:42 2022 +0000
@@ -1,20 +1,25 @@
-# $NetBSD: Makefile,v 1.13 2022/07/25 12:37:44 leot Exp $
+# $NetBSD: Makefile,v 1.14 2022/07/26 11:19:42 leot Exp $
 
 DISTNAME=      typing_extensions-4.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+PKGREVISION=   1
 CATEGORIES=    devel python
-MASTER_SITES=  ${MASTER_SITE_PYPI:=t/typing-extensions/}
+MASTER_SITES=  ${MASTER_SITE_WHEEL:=typing-extensions/}
 
 MAINTAINER=    minskim%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/python/typing
 COMMENT=       Backported and Experimental Type Hints for Python
 LICENSE=       python-software-foundation
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
-
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
 USE_LANGUAGES= # none
 
+# XXX: Avoid building and dependency to py-flit_core to avoid possible
+# XXX: recursive dependency in py-build on Python 3.7:
+# XXX:  py-build -> py-importlib-metadata -> py-typing-extenisons -> py-build
+NO_BUILD=      yes
+#TOOL_DEPENDS+=        ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core
+
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 76cbb9b47aac -r a7a3500b80f3 devel/py-typing-extensions/distinfo
--- a/devel/py-typing-extensions/distinfo       Tue Jul 26 08:43:17 2022 +0000
+++ b/devel/py-typing-extensions/distinfo       Tue Jul 26 11:19:42 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2022/07/25 12:37:44 leot Exp $
+$NetBSD: distinfo,v 1.13 2022/07/26 11:19:42 leot Exp $
 
-BLAKE2s (typing_extensions-4.3.0.tar.gz) = 093f2bf5dc407d7b2f35c9e9bb7b3d92e9722cd55582bf0d4433d48f6d506839
-SHA512 (typing_extensions-4.3.0.tar.gz) = 69e4a393aaaaa45d20f32027cc35c77a950bf1f9b82f0eb2906a4b466eb319b867b5f53c0afc71ca613817d7e37d305fe73c50e93b1d4b389fdb8f1e4d5f8535
-Size (typing_extensions-4.3.0.tar.gz) = 47430 bytes
+BLAKE2s (typing_extensions-4.3.0-py3-none-any.whl) = f94cdd0aa49ea9f98b9c76f06cb051134d306c9b70dc45599f6f1ff5a2395dc7
+SHA512 (typing_extensions-4.3.0-py3-none-any.whl) = 6538edf5912e90287ea02716bad89efab407becb7c96cab8d01606e8a8f7e2418e5c7ca80943357c2b09411954e011f8505497fac5f2fc99f2ae611432d799bf
+Size (typing_extensions-4.3.0-py3-none-any.whl) = 25596 bytes



Home | Main Index | Thread Index | Old Index