packages/lang/python/python-dbus-fast/Makefile
Jeffery To b78c8ff918
python-dbus-fast: Add build dependencies
These will be required for pyproject.toml-based builds.

This also includes a patch to unpin the version requirement for
setuptools, as the current in-repo version of setuptools does not
fulfill this requirement, and there does not appear to be any specific
reason why this version requirement is necessary.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
2023-04-24 16:18:15 +08:00

45 lines
1.3 KiB
Makefile

#
# Copyright (C) 2023
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=python-dbus-fast
PKG_VERSION:=1.84.2
PKG_RELEASE:=2
PYPI_NAME:=dbus-fast
PYPI_SOURCE_NAME:=dbus_fast
PKG_HASH:=62b00b85c5835bff1d7ab5b12d494e588d92612bedbd7ca86176861729b8e4bc
PKG_MAINTAINER:=Quintin Hill <stuff@quintin.me.uk>
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_DEPENDS:=python-poetry-core/host python-cython/host python-wheel/host
include ../pypi.mk
include $(INCLUDE_DIR)/package.mk
include ../python3-package.mk
define Package/python3-dbus-fast
SECTION:=lang
CATEGORY:=Languages
SUBMENU:=Python
TITLE:=A faster version of dbus-next
URL:=https://github.com/Bluetooth-Devices/dbus-fast
DEPENDS:=+python3-light +python3-async-timeout +python3-asyncio \
+python3-logging +python3-urllib +python3-xml
endef
define Package/python3-dbus-fast/description
dbus-fast is a Python library for DBus that aims to be a performant fully
featured high level library primarily geared towards integration of
applications into Linux desktop and mobile environments.
endef
$(eval $(call Py3Package,python3-dbus-fast))
$(eval $(call BuildPackage,python3-dbus-fast))
$(eval $(call BuildPackage,python3-dbus-fast-src))