python-tomli: Remove package
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>
This commit is contained in:
parent
b9cb40b28d
commit
0509d460c8
8 changed files with 13 additions and 75 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=python-build
|
||||
PKG_VERSION:=0.10.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=build
|
||||
PKG_HASH:=d5b71264afdb5951d6704482aac78de887c80691c52b88a9ad195983ca2c9269
|
||||
|
@ -24,8 +24,7 @@ HOST_BUILD_DEPENDS:= \
|
|||
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
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
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
|
||||
|
@ -25,8 +25,7 @@ HOST_BUILD_DEPENDS:= \
|
|||
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
|
||||
|
@ -40,7 +39,7 @@ define Package/python3-flit-scm
|
|||
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
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
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
|
||||
|
@ -20,12 +20,7 @@ PKG_LICENSE_FILES:=LICENSE.txt
|
|||
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
|
||||
|
@ -39,7 +34,7 @@ define Package/python3-hatch-fancy-pypi-readme
|
|||
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
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=python-hatchling
|
||||
PKG_VERSION:=1.17.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=hatchling
|
||||
PKG_HASH:=b1244db3f45b4ef5a00106a46612da107cdfaf85f1580b8e1c059fefc98b0930
|
||||
|
@ -27,7 +27,6 @@ HOST_BUILD_DEPENDS:= \
|
|||
python-packaging/host \
|
||||
python-pathspec/host \
|
||||
python-pluggy/host \
|
||||
python-tomli/host \
|
||||
python-trove-classifiers/host
|
||||
|
||||
include ../pypi.mk
|
||||
|
@ -49,7 +48,6 @@ define Package/python3-hatchling
|
|||
+python3-packaging \
|
||||
+python3-pathspec \
|
||||
+python3-pluggy \
|
||||
+python3-tomli \
|
||||
+python3-trove-classifiers
|
||||
BUILDONLY:=1
|
||||
endef
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=python-pyproject-hooks
|
||||
PKG_VERSION:=1.0.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=pyproject_hooks
|
||||
PKG_HASH:=f271b298b97f5955d53fb12b72c1fb1948c22c1a6b70b315c54cedaca0264ef5
|
||||
|
@ -19,7 +19,7 @@ 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 python-tomli/host
|
||||
HOST_BUILD_DEPENDS:=python3/host python-flit-core/host python-installer/host
|
||||
|
||||
include ../pypi.mk
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=python-pytest
|
||||
PKG_VERSION:=7.3.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PYPI_NAME:=pytest
|
||||
PKG_HASH:=58ecc27ebf0ea643ebfdf7fb1249335da761a00c9f955bcd922349bcb68ee57d
|
||||
|
@ -34,7 +34,6 @@ define Package/python3-pytest
|
|||
+python3 \
|
||||
+python3-pluggy \
|
||||
+python3-packaging \
|
||||
+python3-tomli \
|
||||
+python3-exceptiongroup \
|
||||
+python3-iniconfig
|
||||
endef
|
||||
|
|
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
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
|
||||
|
@ -26,7 +26,6 @@ HOST_BUILD_DEPENDS:= \
|
|||
python-installer/host \
|
||||
python-wheel/host \
|
||||
python-packaging/host \
|
||||
python-tomli/host \
|
||||
python-typing-extensions/host
|
||||
|
||||
include ../pypi.mk
|
||||
|
@ -46,7 +45,6 @@ define Package/python3-setuptools-scm
|
|||
+python3-logging \
|
||||
+python3-packaging \
|
||||
+python3-setuptools \
|
||||
+python3-tomli \
|
||||
+python3-typing-extensions
|
||||
BUILDONLY:=1
|
||||
endef
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
#
|
||||
# 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))
|
Loading…
Reference in a new issue