From a7e96ec919a1a4efcf1d05ccccda09d95f98e864 Mon Sep 17 00:00:00 2001 From: Alexandru Ardelean Date: Mon, 30 Mar 2026 20:29:41 +0300 Subject: [PATCH] python3-email: add python3-urllib as dependency In recent versions of Python, trying to include 'email' also pulls in urllib from CPython. So just add it as dependency. Signed-off-by: Alexandru Ardelean --- lang/python/python-eventlet/Makefile | 3 +-- lang/python/python-gmpy2/Makefile | 2 +- lang/python/python-gnupg/Makefile | 2 +- lang/python/python-packaging/Makefile | 2 +- lang/python/python-referencing/Makefile | 1 - lang/python/python3/Makefile | 2 +- lang/python/python3/files/python3-package-email.mk | 2 +- 7 files changed, 6 insertions(+), 8 deletions(-) diff --git a/lang/python/python-eventlet/Makefile b/lang/python/python-eventlet/Makefile index 6ee046ea40..f4d45fee0b 100644 --- a/lang/python/python-eventlet/Makefile +++ b/lang/python/python-eventlet/Makefile @@ -41,8 +41,7 @@ define Package/python3-eventlet +python3-greenlet \ +python3-email \ +python3-logging \ - +python3-openssl \ - +python3-urllib + +python3-openssl endef define Package/python3-eventlet/description diff --git a/lang/python/python-gmpy2/Makefile b/lang/python/python-gmpy2/Makefile index da22383b2a..312a928e99 100644 --- a/lang/python/python-gmpy2/Makefile +++ b/lang/python/python-gmpy2/Makefile @@ -32,7 +32,7 @@ define Package/python3-gmpy2 SUBMENU:=Python TITLE:=GMP/MPIR, MPFR, and MPC interface URL:=https://github.com/aleaxit/gmpy - DEPENDS:=+libgmp +libmpc +libmpfr +python3-light +python3-email python3-urllib + DEPENDS:=+libgmp +libmpc +libmpfr +python3-light +python3-email endef define Package/python3-gmpy2/description diff --git a/lang/python/python-gnupg/Makefile b/lang/python/python-gnupg/Makefile index 23ab26b488..f741e7eeb0 100644 --- a/lang/python/python-gnupg/Makefile +++ b/lang/python/python-gnupg/Makefile @@ -30,7 +30,7 @@ define Package/python3-gnupg SUBMENU:=Python TITLE:=A wrapper for GnuPG URL:=https://github.com/vsajip/python-gnupg - DEPENDS:=+python3-light +python3-logging +python3-email +python3-urllib + DEPENDS:=+python3-light +python3-logging +python3-email endef define Package/python3-gnupg/description diff --git a/lang/python/python-packaging/Makefile b/lang/python/python-packaging/Makefile index 197089602d..d1f8092af1 100644 --- a/lang/python/python-packaging/Makefile +++ b/lang/python/python-packaging/Makefile @@ -32,7 +32,7 @@ define Package/python3-packaging SUBMENU:=Python TITLE:=Core utilities for Python packages URL:=https://github.com/pypa/packaging - DEPENDS:=+python3-light +python3-email +python3-logging +python3-urllib + DEPENDS:=+python3-light +python3-email +python3-logging endef define Package/python3-packaging/description diff --git a/lang/python/python-referencing/Makefile b/lang/python/python-referencing/Makefile index f84463abc0..4e18f5ef82 100644 --- a/lang/python/python-referencing/Makefile +++ b/lang/python/python-referencing/Makefile @@ -33,7 +33,6 @@ define Package/python3-referencing DEPENDS:= \ +python3-light \ +python3-email \ - +python3-urllib \ +python3-attrs \ +python3-rpds-py endef diff --git a/lang/python/python3/Makefile b/lang/python/python3/Makefile index 405d2a028e..a227335b29 100644 --- a/lang/python/python3/Makefile +++ b/lang/python/python3/Makefile @@ -11,7 +11,7 @@ include $(TOPDIR)/rules.mk include ../python3-version.mk PKG_NAME:=python3 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO) PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz diff --git a/lang/python/python3/files/python3-package-email.mk b/lang/python/python3/files/python3-package-email.mk index 563f6f8ae3..dfb34bde53 100644 --- a/lang/python/python3/files/python3-package-email.mk +++ b/lang/python/python3/files/python3-package-email.mk @@ -8,7 +8,7 @@ define Package/python3-email $(call Package/python3/Default) TITLE+= email module - DEPENDS:=+python3-light + DEPENDS:=+python3-light +python3-urllib endef define Package/python3-email/description