Python added tomli to its standard library in 3.11. Now that Python in
the packages feed has been updated to 3.11, the separate tomli package
is no longer necessary.
This removes python-tomli and updates all dependant packages, removing
python-tomli from their lists of dependencies.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
(cherry picked from commit
0509d460c844c2f62d09fd99c35a0e1627c66b68)
PKG_NAME:=python-build
PKG_VERSION:=0.10.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=build
PKG_HASH:=d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269
python-installer/host \
python-flit-core/host \
python-packaging/host \
- python-pyproject-hooks/host \
- python-tomli/host
+ python-pyproject-hooks/host
PYTHON3_HOST_BUILD_VARS:=PYTHONPATH=src
PKG_NAME:=python-flit-scm
PKG_VERSION:=1.7.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=flit-scm
PYPI_SOURCE_NAME:=flit_scm
python-build/host \
python-installer/host \
python-flit-core/host \
- python-setuptools-scm/host \
- python-tomli/host
+ python-setuptools-scm/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
SUBMENU:=Python
TITLE:=A PEP 518 build backend that uses setuptools_scm and flit
URL:=https://gitlab.com/WillDaSilva/flit_scm
- DEPENDS:=+python3-light +python3-flit-core +python3-setuptools-scm +python3-tomli
+ DEPENDS:=+python3-light +python3-flit-core +python3-setuptools-scm
BUILDONLY:=1
endef
PKG_NAME:=python-hatch-fancy-pypi-readme
PKG_VERSION:=22.8.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=hatch-fancy-pypi-readme
PYPI_SOURCE_NAME:=hatch_fancy_pypi_readme
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_HOST_ONLY:=1
-HOST_BUILD_DEPENDS:= \
- python3/host \
- python-build/host \
- python-installer/host \
- python-hatchling/host \
- python-tomli/host
+HOST_BUILD_DEPENDS:=python3/host python-build/host python-installer/host python-hatchling/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
SUBMENU:=Python
TITLE:=Fancy PyPI READMEs with Hatch
URL:=https://github.com/hynek/hatch-fancy-pypi-readme
- DEPENDS:=+python3-light +python3-hatchling +python3-tomli
+ DEPENDS:=+python3-light +python3-hatchling
BUILDONLY:=1
endef
PKG_NAME:=python-hatchling
PKG_VERSION:=1.17.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=hatchling
PKG_HASH:=b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930
python-packaging/host \
python-pathspec/host \
python-pluggy/host \
- python-tomli/host \
python-trove-classifiers/host
include ../pypi.mk
+python3-packaging \
+python3-pathspec \
+python3-pluggy \
- +python3-tomli \
+python3-trove-classifiers
BUILDONLY:=1
endef
PKG_NAME:=python-pyproject-hooks
PKG_VERSION:=1.0.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=pyproject_hooks
PKG_HASH:=f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5
PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
PKG_HOST_ONLY:=1
-HOST_BUILD_DEPENDS:=python3/host python-flit-core/host python-installer/host python-tomli/host
+HOST_BUILD_DEPENDS:=python3/host python-flit-core/host python-installer/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
PKG_NAME:=python-pytest
PKG_VERSION:=7.3.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=pytest
PKG_HASH:=58ecc27ebf0ea643ebfdf7fb1249335da761a00c9f955bcd922349bcb68ee57d
+python3 \
+python3-pluggy \
+python3-packaging \
- +python3-tomli \
+python3-exceptiongroup \
+python3-iniconfig
endef
PKG_NAME:=python-setuptools-scm
PKG_VERSION:=7.1.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=setuptools-scm
PYPI_SOURCE_NAME:=setuptools_scm
python-installer/host \
python-wheel/host \
python-packaging/host \
- python-tomli/host \
python-typing-extensions/host
include ../pypi.mk
+python3-logging \
+python3-packaging \
+python3-setuptools \
- +python3-tomli \
+python3-typing-extensions
BUILDONLY:=1
endef
+++ /dev/null
-#
-# Copyright (C) 2023 Jeffery To
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=python-tomli
-PKG_VERSION:=2.0.1
-PKG_RELEASE:=1
-
-PYPI_NAME:=tomli
-PKG_HASH:=de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
-
-PKG_LICENSE:=MIT
-PKG_LICENSE_FILES:=LICENSE
-PKG_MAINTAINER:=Jeffery To <jeffery.to@gmail.com>
-
-PKG_HOST_ONLY:=1
-HOST_BUILD_DEPENDS:=python3/host python-flit-core/host python-installer/host
-
-include ../pypi.mk
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/host-build.mk
-include ../python3-package.mk
-include ../python3-host-build.mk
-
-define Package/python3-tomli
- SECTION:=lang
- CATEGORY:=Languages
- SUBMENU:=Python
- TITLE:=A lil' TOML parser
- URL:=https://github.com/hukkin/tomli
- DEPENDS:=+python3-light
- BUILDONLY:=1
-endef
-
-define Package/python3-tomli/description
-Tomli is a Python library for parsing TOML. Tomli is fully compatible
-with TOML v1.0.0.
-endef
-
-Host/Compile=$(Py3Host/Compile/Bootstrap)
-
-$(eval $(call Py3Package,python3-tomli))
-$(eval $(call BuildPackage,python3-tomli))
-$(eval $(call BuildPackage,python3-tomli-src))
-$(eval $(call HostBuild))