aboutsummaryrefslogtreecommitdiffstats
path: root/community/libkml/40-dont-bytecompile.patch
diff options
context:
space:
mode:
authorHolger Jaekel <holger.jaekel@gmx.de>2020-05-08 21:33:33 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-05-15 14:04:03 +0200
commit45c6d85825576650dc848aea1d1cb880072f3457 (patch)
treed50a47027ce9d37f5951d416cb90552a33480a3d /community/libkml/40-dont-bytecompile.patch
parent5a2e18dc13dd178a8c4e09e09e02df952e464b28 (diff)
downloadaports-45c6d85825576650dc848aea1d1cb880072f3457.tar.gz
aports-45c6d85825576650dc848aea1d1cb880072f3457.tar.bz2
aports-45c6d85825576650dc848aea1d1cb880072f3457.tar.xz
community/libkml: move from testing
Diffstat (limited to 'community/libkml/40-dont-bytecompile.patch')
-rw-r--r--community/libkml/40-dont-bytecompile.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/community/libkml/40-dont-bytecompile.patch b/community/libkml/40-dont-bytecompile.patch
new file mode 100644
index 0000000000..8fa4bff45d
--- /dev/null
+++ b/community/libkml/40-dont-bytecompile.patch
@@ -0,0 +1,16 @@
+Author: Holger Jaekel <holger.jaekel@gmx.de>
+Summary: Don't install bytecompiled python files
+----
+
+--- a/src/swig/CMakeLists.txt
++++ b/src/swig/CMakeLists.txt
+@@ -36,7 +36,6 @@ if(WITH_PYTHON)
+
+ install(FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.py
+- ${CMAKE_CURRENT_BINARY_DIR}/${MODULE_NAME}.pyc
+ DESTINATION ${PYTHON_INSTALL_DIR})
+
+ endforeach()
+
+ endif(WITH_PYTHON)