b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | # |
| 2 | # Copyright (C) 2023 |
| 3 | # |
| 4 | # This is free software, licensed under the GNU General Public License v2. |
| 5 | # See /LICENSE for more information. |
| 6 | # |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=python-dbus-fast |
| 10 | PKG_VERSION:=2.21.1 |
| 11 | PKG_RELEASE:=1 |
| 12 | |
| 13 | PYPI_NAME:=dbus-fast |
| 14 | PYPI_SOURCE_NAME:=dbus_fast |
| 15 | PKG_HASH:=87b852d2005f1d59399ca51c5f3538f28a4742d739d7abe82b7ae8d01d8a5d02 |
| 16 | |
| 17 | PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk> |
| 18 | PKG_LICENSE:=MIT |
| 19 | PKG_LICENSE_FILES:=LICENSE |
| 20 | |
| 21 | PKG_BUILD_DEPENDS:=python-poetry-core/host python-cython/host python-wheel/host |
| 22 | |
| 23 | include ../pypi.mk |
| 24 | include $(INCLUDE_DIR)/package.mk |
| 25 | include ../python3-package.mk |
| 26 | |
| 27 | define Package/python3-dbus-fast |
| 28 | SECTION:=lang |
| 29 | CATEGORY:=Languages |
| 30 | SUBMENU:=Python |
| 31 | TITLE:=A faster version of dbus-next |
| 32 | URL:=https://github.com/Bluetooth-Devices/dbus-fast |
| 33 | DEPENDS:=+python3-light +python3-async-timeout +python3-asyncio \ |
| 34 | +python3-logging +python3-urllib +python3-xml |
| 35 | endef |
| 36 | |
| 37 | define Package/python3-dbus-fast/description |
| 38 | dbus-fast is a Python library for DBus that aims to be a performant fully |
| 39 | featured high level library primarily geared towards integration of |
| 40 | applications into Linux desktop and mobile environments. |
| 41 | endef |
| 42 | |
| 43 | $(eval $(call Py3Package,python3-dbus-fast)) |
| 44 | $(eval $(call BuildPackage,python3-dbus-fast)) |
| 45 | $(eval $(call BuildPackage,python3-dbus-fast-src)) |