From: Josef Schlehofer Date: Mon, 29 Dec 2025 12:28:31 +0000 (+0100) Subject: treewide: remove Home Assistant dependencies X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6b370bd511d302506e80c6b98459a8513d01899d;p=feed%2Fpackages.git treewide: remove Home Assistant dependencies I previously attempted to package Home Assistant for OpenWrt. However, given the announcement that Home Assistant will primarily be supported via containers (e.g., Docker) or HA OS [1], these specific Python package dependencies [2] are no longer needed. I no longer maintain these packages, I don't use them, and there are no other internal dependencies on them. Removing them will result in slightly faster build times since they no longer require compilation. [1] https://www.home-assistant.io/blog/2025/05/22/deprecating-core-and-supervised-installation-methods-and-32-bit-systems/ [2] https://github.com/home-assistant/core/blob/dev/pyproject.toml Signed-off-by: Josef Schlehofer --- diff --git a/lang/python/python-aiohttp-cors/Makefile b/lang/python/python-aiohttp-cors/Makefile deleted file mode 100644 index 892a660c3a..0000000000 --- a/lang/python/python-aiohttp-cors/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# -# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=aiohttp-cors -PKG_VERSION:=0.7.0 -PKG_RELEASE:=2 - -PYPI_NAME:=aiohttp_cors -PYPI_SOURCE_NAME:=aiohttp-cors -PKG_HASH:=4d39c6d7100fd9764ed1caf8cebf0eb01bf5e3f24e2e073fda6234bc48b19f5d - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-aiohttp-cors - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=CORS support for aiohttp - URL:=https://github.com/aio-libs/aiohttp-cors - DEPENDS:= \ - +python3-aiohttp \ - +python3-light -endef - -define Package/python3-aiohttp-cors/description - Implements Cross Origin Resource Sharing (CORS) support for aiohttp asyncio-powered asynchronous HTTP server. -endef - -$(eval $(call Py3Package,python3-aiohttp-cors)) -$(eval $(call BuildPackage,python3-aiohttp-cors)) -$(eval $(call BuildPackage,python3-aiohttp-cors-src)) diff --git a/lang/python/python-aiohttp/Makefile b/lang/python/python-aiohttp/Makefile deleted file mode 100644 index 2c4b68a343..0000000000 --- a/lang/python/python-aiohttp/Makefile +++ /dev/null @@ -1,49 +0,0 @@ -# -# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-aiohttp -PKG_VERSION:=3.9.3 -PKG_RELEASE:=1 - -PYPI_NAME:=aiohttp -PKG_HASH:=90842933e5d1ff760fae6caca4b2b3edba53ba8f4b71e95dacf2818a2aca06f7 - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE.txt -PKG_CPE_ID:=cpe:/a:aiohttp:aiohttp - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-aiohttp - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Async http client/server framework (asyncio) - URL:=https://github.com/aio-libs/aiohttp - DEPENDS:= \ - +python3 \ - +python3-aiosignal \ - +python3-async-timeout \ - +python3-attrs \ - +python3-charset-normalizer \ - +python3-frozenlist \ - +python3-multidict \ - +python3-yarl -endef - -define Package/python3-aiohttp/description - Asynchronous HTTP client/server framework for asyncio and Python3. -endef - -$(eval $(call Py3Package,python3-aiohttp)) -$(eval $(call BuildPackage,python3-aiohttp)) -$(eval $(call BuildPackage,python3-aiohttp-src)) diff --git a/lang/python/python-astral/Makefile b/lang/python/python-astral/Makefile deleted file mode 100644 index cbabdea89c..0000000000 --- a/lang/python/python-astral/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# -# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-astral -PKG_VERSION:=3.2 -PKG_RELEASE:=1 - -PYPI_NAME:=astral -PKG_HASH:=9b7c3b412e9e69d172cfb24be0e6addcc9f1bd01a28db8bebe66d75ccc533d88 - -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE -PKG_MAINTAINER:=Josef Schlehofer - -PKG_BUILD_DEPENDS:=python-poetry-core/host - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-astral - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Calculations for the position of the sun and moon - URL:=https://github.com/sffjunkie/astral - DEPENDS+= \ - +python3-light -endef - -define Package/python3-astral/description -Astral is a python module for calculating the times of various aspects of the sun and moon. -endef - -$(eval $(call Py3Package,python3-astral)) -$(eval $(call BuildPackage,python3-astral)) -$(eval $(call BuildPackage,python3-astral-src)) diff --git a/lang/python/python-ciso8601/Makefile b/lang/python/python-ciso8601/Makefile deleted file mode 100644 index ddcb41ce87..0000000000 --- a/lang/python/python-ciso8601/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# -# Copyright (C) 2020 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-ciso8601 -PKG_VERSION:=2.3.0 -PKG_RELEASE:=1 - -PYPI_NAME:=ciso8601 -PKG_HASH:=19e3fbd786d8bec3358eac94d8774d365b694b604fd1789244b87083f66c8900 - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=MIT -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-ciso8601 - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Fast ISO8601 date time parser written in C - URL:=https://github.com/closeio/ciso8601 - DEPENDS:=+python3-light -endef - -define Package/python3-ciso8601/description -ciso8601 converts ISO 8601 or RFC 3339 date time strings into Python -datetime objects. -endef - -$(eval $(call Py3Package,python3-ciso8601)) -$(eval $(call BuildPackage,python3-ciso8601)) -$(eval $(call BuildPackage,python3-ciso8601-src)) - diff --git a/lang/python/python-multidict/Makefile b/lang/python/python-multidict/Makefile deleted file mode 100644 index 67d1a48821..0000000000 --- a/lang/python/python-multidict/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# -# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-multidict -PKG_VERSION:=6.0.4 -PKG_RELEASE:=1 - -PYPI_NAME:=multidict -PKG_HASH:=3666906492efb76453c0e7b97f2cf459b0682e7402c0489a95484965dbc1da49 - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-multidict - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=multidict implementation - URL:=https://github.com/aio-libs/multidict - DEPENDS:=+python3-light -endef - -define Package/python3-multidict/description -Multidict is dict-like collection of key-value pairs where key might be -occurred more than once in the container. -endef - -$(eval $(call Py3Package,python3-multidict)) -$(eval $(call BuildPackage,python3-multidict)) -$(eval $(call BuildPackage,python3-multidict-src)) diff --git a/lang/python/python-voluptuous-serialize/Makefile b/lang/python/python-voluptuous-serialize/Makefile deleted file mode 100644 index 28204ede9a..0000000000 --- a/lang/python/python-voluptuous-serialize/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# -# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-voluptuous-serialize -PKG_VERSION:=2.6.0 -PKG_RELEASE:=1 - -PYPI_NAME:=voluptuous-serialize -PKG_HASH:=79acdc58239582a393144402d827fa8efd6df0f5350cdc606d9242f6f9bca7c4 - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-voluptuous-serialize - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Python Voluptuous Serialize - URL:=https://github.com/balloob/voluptuous-serialize - DEPENDS:= \ - +python3-light \ - +python3-voluptuous -endef - -define Package/python3-voluptuous-serialize/description - Convert Voluptuous schemas to dictionaries so they can be serialized. -endef - -$(eval $(call Py3Package,python3-voluptuous-serialize)) -$(eval $(call BuildPackage,python3-voluptuous-serialize)) -$(eval $(call BuildPackage,python3-voluptuous-serialize-src)) diff --git a/lang/python/python-voluptuous/Makefile b/lang/python/python-voluptuous/Makefile deleted file mode 100644 index ceb6a85f72..0000000000 --- a/lang/python/python-voluptuous/Makefile +++ /dev/null @@ -1,41 +0,0 @@ -# -# Copyright (C) 2019 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=python-voluptuous -PKG_VERSION:=0.13.1 -PKG_RELEASE:=1 - -PYPI_NAME:=voluptuous -PKG_HASH:=e8d31c20601d6773cb14d4c0f42aee29c6821bbd1018039aac7ac5605b489723 - -PKG_LICENSE:=BSD-3-Clause -PKG_LICENSE_FILES:=COPYING -PKG_MAINTAINER:=Josef Schlehofer - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-voluptuous - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Data validation library - URL:=https://github.com/alecthomas/voluptuous - DEPENDS:=+python3-light +python3-decimal +python3-urllib -endef - -define Package/python3-voluptuous/description -It is primarily intended for validating data coming into Python as JSON, -YAML, etc. -endef - -$(eval $(call Py3Package,python3-voluptuous)) -$(eval $(call BuildPackage,python3-voluptuous)) -$(eval $(call BuildPackage,python3-voluptuous-src)) diff --git a/lang/python/python-yarl/Makefile b/lang/python/python-yarl/Makefile deleted file mode 100644 index 63d899976f..0000000000 --- a/lang/python/python-yarl/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# -# Copyright (C) 2019-2021 CZ.NIC, z. s. p. o. (https://www.nic.cz/) -# -# This is free software, licensed under the GNU General Public License v2. -# See /LICENSE for more information. -# - -include $(TOPDIR)/rules.mk - -PKG_NAME:=yarl -PKG_VERSION:=1.9.2 -PKG_RELEASE:=1 - -PYPI_NAME:=$(PKG_NAME) -PKG_HASH:=04ab9d4b9f587c06d801c2abfe9317b77cdf996c65a90d5e84ecc45010823571 - -PKG_MAINTAINER:=Josef Schlehofer -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -include ../pypi.mk -include $(INCLUDE_DIR)/package.mk -include ../python3-package.mk - -define Package/python3-yarl - SECTION:=lang - CATEGORY:=Languages - SUBMENU:=Python - TITLE:=Yet another URL library - URL:=https://github.com/aio-libs/yarl - DEPENDS:= \ - +python3-light \ - +python3-multidict \ - +python3-urllib \ - +python3-idna -endef - -define Package/python3-yarl/description -Yet another URL library -endef - -$(eval $(call Py3Package,python3-yarl)) -$(eval $(call BuildPackage,python3-yarl)) -$(eval $(call BuildPackage,python3-yarl-src))