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 <pepe.schlehofer@gmail.com>
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))
-
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-
-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))
+++ /dev/null
-#
-# 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 <pepe.schlehofer@gmail.com>
-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))