diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2023-03-06 12:04:33 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2023-04-24 16:19:45 +0800 |
| commit | 4a7173d27d7969b95efac18eb34402c5fa69e3a1 (patch) | |
| tree | c06a6ce1f8aa327f80f1861bcb98736c473be6d7 /lang | |
| parent | 56b10770fc0741c79b697e9954b27090a4560a9a (diff) | |
python-ubus: Force old build process
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
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang')
| -rw-r--r-- | lang/python/python-ubus/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/python/python-ubus/Makefile b/lang/python/python-ubus/Makefile index 161440a04..0e96da20c 100644 --- a/lang/python/python-ubus/Makefile +++ b/lang/python/python-ubus/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=python-ubus PKG_VERSION:=0.1.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PYPI_NAME:=ubus PKG_HASH:=7e57bda989bc35b48c7075d03ec2818226e722bbf1bde138d7e7ea26d462682a @@ -18,6 +18,8 @@ PKG_MAINTAINER:=Erik Larsson <who+openwrt@cnackers.org> PKG_LICENSE:=LGPL-2.1-or-later PKG_LICENSE_FILES:=LICENSE +PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1 + include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk |
