libpsl: fix compilation with debian setuptools
authorRosen Penev <redacted>
Sun, 13 Sep 2020 01:50:11 +0000 (18:50 -0700)
committerRosen Penev <redacted>
Sun, 13 Sep 2020 01:51:01 +0000 (18:51 -0700)
Signed-off-by: Rosen Penev <redacted>
libs/libpsl/Makefile
libs/libpsl/patches/010-python.patch [new file with mode: 0644]

index 176e5cf914ad21804eeb4f62317a292fa18c2aaa..ffd6758e94f1b6804cbec06630c027d340803ca5 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libpsl
 PKG_VERSION:=0.21.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://github.com/rockdaboot/libpsl/releases/download/$(PKG_VERSION)
diff --git a/libs/libpsl/patches/010-python.patch b/libs/libpsl/patches/010-python.patch
new file mode 100644 (file)
index 0000000..d601fd6
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/meson.build
++++ b/meson.build
+@@ -131,7 +131,7 @@ if psl_test_file == ''
+   psl_test_file = join_paths(meson.current_source_dir(), 'list', 'tests', 'tests.txt')
+ endif
+-python = import('python').find_installation()
++python = 'python3'
+ pkgconfig = import('pkgconfig')
+ if cc.get_id() == 'msvc'
git clone https://git.99rst.org/PROJECT