mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 19:55:26 +03:00
testing/libkml: new aport
This commit is contained in:
parent
a8e64e72b4
commit
d58177e01e
5 changed files with 253 additions and 0 deletions
15
testing/libkml/20-fix-python3.patch
Normal file
15
testing/libkml/20-fix-python3.patch
Normal file
|
@ -0,0 +1,15 @@
|
|||
Author: Holger Jaekel <holger.jaekel@gmx.de>
|
||||
Summary: Fix Python 2 syntax
|
||||
----
|
||||
|
||||
--- a/src/swig/CMakeLists.txt
|
||||
+++ b/src/swig/CMakeLists.txt
|
||||
@@ -10,7 +10,7 @@ if(WITH_PYTHON)
|
||||
|
||||
if(NOT DEFINED PYTHON_INSTALL_DIR)
|
||||
execute_process(COMMAND
|
||||
- ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)"
|
||||
+ ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(True))"
|
||||
OUTPUT_VARIABLE PYTHON_INSTALL_DIR
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE )
|
||||
endif(NOT DEFINED PYTHON_INSTALL_DIR)
|
Loading…
Add table
Add a link
Reference in a new issue