onionshare-cli: Force old Python build process
authorJeffery To <jeffery.to@gmail.com>
Tue, 7 Mar 2023 05:51:26 +0000 (13:51 +0800)
committerJeffery To <jeffery.to@gmail.com>
Mon, 24 Apr 2023 08:20:33 +0000 (16:20 +0800)
This package requires poetry to build using the new Python build process
but poetry is not available, so force the old build process for now.

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
net/onionshare-cli/Makefile

index 9acbec99fc7abd06d6009e81263c679024025aeb..42afb80fd1bce3b2662600096e7cb39bb3db4815 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=onionshare-cli
 PKG_VERSION:=2.3.1
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PYPI_NAME:=onionshare-cli
 PYPI_SOURCE_NAME:=onionshare_cli
@@ -21,6 +21,8 @@ PKG_LICENSE_FILES:=LICENSE
 
 PKG_BUILD_DEPENDS:=python-setuptools-scm/host
 
+PYTHON3_PKG_FORCE_DISTUTILS_SETUP:=1
+
 include ../../lang/python/pypi.mk
 include $(INCLUDE_DIR)/package.mk
 include ../../lang/python/python3-package.mk