Skip to content

Commit

Permalink
python-ubus: Force old build process
Browse files Browse the repository at this point in the history
This package will not build with the pyproject.toml-based build process
because it has a build dependency on pytest-runner[1].

pytest-runner has been deprecated[2], so instead of adding a package for
pytest-runner to fulfill the build dependency, force this package to use
the old build process.

[1]: https://gitlab.nic.cz/turris/python-ubus/-/blob/v0.1.1/setup.py#L35
[2]: https://github.com/pytest-dev/pytest-runner#deprecation-notice

See also: openwrt/packages@4a7173d

Signed-off-by: Magnus Kessler <Magnus.Kessler@gmx.net>
  • Loading branch information
kesslerm committed Aug 29, 2023
1 parent 82612b2 commit 93b6089
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lang/python-ubus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ PKG_MIRROR_HASH:=ab8fb7ca84ee22fa4f3ca96c3c130e619e346f9abad4c1da5c72cb951acb043
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)

PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1

include $(INCLUDE_DIR)/package.mk
include $(TOPDIR)/feeds/packages/lang/python/python3-package.mk
Expand Down

0 comments on commit 93b6089

Please sign in to comment.