diff options
| author | Alexandru Ardelean | 2026-03-19 14:07:16 +0000 |
|---|---|---|
| committer | Alexandru Ardelean | 2026-03-20 13:26:50 +0000 |
| commit | 5f957ab5d34560dcd5e04473f8086432dc00052c (patch) | |
| tree | f65b62f59c396c40fde66c8a3f07a1228e97992f | |
| parent | 01d1c661353178193aa760cac7740ab1ac2fa594 (diff) | |
| download | packages-master.tar.gz | |
Changelog since 80.9.0:
- v81.0.0: Remove --dry-run parameter from setup.py
- v82.0.0: Remove pkg_resources module (deprecated since 67.5.0);
users should migrate to importlib.resources / importlib.metadata
- v82.0.1: Fix loading of launcher manifest.xml file; documentation
improvements for installing source distributions
Since pkg_resources has been removed in v82.0.0, drop the
python3-pkg-resources sub-package and remove it as a dependency
from python3-setuptools.
Full changelog:
https://github.com/pypa/setuptools/releases
Signed-off-by: Alexandru Ardelean <alex@shruggie.ro>
| -rw-r--r-- | lang/python/python-setuptools/Makefile | 40 |
1 files changed, 5 insertions, 35 deletions
diff --git a/lang/python/python-setuptools/Makefile b/lang/python/python-setuptools/Makefile index 6be0ec32f3..630ceff21f 100644 --- a/lang/python/python-setuptools/Makefile +++ b/lang/python/python-setuptools/Makefile @@ -8,11 +8,11 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-setuptools -PKG_VERSION:=80.9.0 -PKG_RELEASE:=2 +PKG_VERSION:=82.0.1 +PKG_RELEASE:=1 PYPI_NAME:=setuptools -PKG_HASH:=f36b47402ecde768dbfafc46e8e4207b4360c654f1f3bb84475f0a28628fb19c +PKG_HASH:=7d872682c5d01cfde07da7bccc7b65469d3dca203318515ada1de5eda35efbf9 PKG_LICENSE:=MIT PKG_LICENSE_FILES:=LICENSE @@ -37,19 +37,13 @@ define Package/python3-setuptools/Default URL:=https://github.com/pypa/setuptools endef -define Package/python3-pkg-resources -$(call Package/python3-setuptools/Default) - TITLE:=Package resource API - DEPENDS:=+python3-light +python3-email +python3-logging +python3-urllib -endef - define Package/python3-setuptools $(call Package/python3-setuptools/Default) TITLE:=Fully-featured library to package Python projects - DEPENDS:=+python3 +python3-pkg-resources + DEPENDS:=+python3 endef -define Package/python3-setuptools/description/Default +define Package/python3-setuptools/description Setuptools is a fully-featured, actively-maintained, and stable library designed to facilitate packaging Python projects. @@ -58,34 +52,10 @@ library) and programs (e.g., CLI/GUI tools implemented in Python), that can be installed with pip and uploaded to PyPI. endef -define Package/python3-pkg-resources/description -$(call Package/python3-setuptools/description/Default) - -This is the pkg_resources module of setuptools. -endef - -define Package/python3-setuptools/description -$(call Package/python3-setuptools/description/Default) - -This is the main setuptools module. -endef - -define Py3Package/python3-pkg-resources/filespec -+|$(PYTHON3_PKG_DIR)/pkg_resources -endef - -define Py3Package/python3-setuptools/filespec -+|$(PYTHON3_PKG_DIR) --|$(PYTHON3_PKG_DIR)/pkg_resources -endef - -$(eval $(call Py3Package,python3-pkg-resources)) $(eval $(call Py3Package,python3-setuptools)) -$(eval $(call BuildPackage,python3-pkg-resources)) $(eval $(call BuildPackage,python3-setuptools)) -$(eval $(call BuildPackage,python3-pkg-resources-src)) $(eval $(call BuildPackage,python3-setuptools-src)) $(eval $(call HostBuild)) |