summaryrefslogtreecommitdiff
path: root/lang/python/python-dbus-fast
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-05-10 12:11:07 +0800
committerGitHub <noreply@github.com>2023-05-10 12:11:07 +0800
commit8a36b03870fd2f6b75b8890ce912660e00ccade8 (patch)
tree5e03f31c967408fe8ce0e7e3d470f4d5eb0a3863 /lang/python/python-dbus-fast
parent83dd66fd34792c692a477c2ed8430f81802d8f22 (diff)
parentb1b008f42ff0a6da96b801e2eaf68be4e2f2b5bb (diff)
Merge pull request #20801 from jefferyto/python-pyproject
python: Add proper support for pyproject.toml-based builds, update Python packages for new build process
Diffstat (limited to 'lang/python/python-dbus-fast')
-rw-r--r--lang/python/python-dbus-fast/Makefile4
-rw-r--r--lang/python/python-dbus-fast/patches/001-unpin-setuptools.patch9
2 files changed, 12 insertions, 1 deletions
diff --git a/lang/python/python-dbus-fast/Makefile b/lang/python/python-dbus-fast/Makefile
index ad6b0b40b..8579e13a4 100644
--- a/lang/python/python-dbus-fast/Makefile
+++ b/lang/python/python-dbus-fast/Makefile
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=python-dbus-fast
PKG_VERSION:=1.84.2
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PYPI_NAME:=dbus-fast
PYPI_SOURCE_NAME:=dbus_fast
@@ -18,6 +18,8 @@ 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
diff --git a/lang/python/python-dbus-fast/patches/001-unpin-setuptools.patch b/lang/python/python-dbus-fast/patches/001-unpin-setuptools.patch
new file mode 100644
index 000000000..327f0e74d
--- /dev/null
+++ b/lang/python/python-dbus-fast/patches/001-unpin-setuptools.patch
@@ -0,0 +1,9 @@
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -97,5 +97,5 @@ module = "docs.*"
+ ignore_errors = true
+
+ [build-system]
+-requires = ['setuptools>=65.4.1', 'wheel', 'Cython', "poetry-core>=1.0.0"]
++requires = ['setuptools', 'wheel', 'Cython', "poetry-core>=1.0.0"]
+ build-backend = "poetry.core.masonry.api"