summaryrefslogtreecommitdiff
path: root/bindings
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:40:36 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2018-11-30 12:40:36 +0900
commit97330b5a608c2213fdf3f49bfbaa268bf9627920 (patch)
treeeb753c0b9543739bb05137b73562d705d0ce8c6f /bindings
parente197f682d93362b26879b545062694a050a4c4b4 (diff)
downloadlibsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.gz
libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.tar.bz2
libsolv-97330b5a608c2213fdf3f49bfbaa268bf9627920.zip
Imported Upstream version 0.6.27upstream/0.6.27
Change-Id: I4feccd10bd9fe0514ff13520136e962b6c093175 Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'bindings')
-rw-r--r--bindings/python3/CMakeLists.txt4
-rw-r--r--bindings/solv.i8
2 files changed, 9 insertions, 3 deletions
diff --git a/bindings/python3/CMakeLists.txt b/bindings/python3/CMakeLists.txt
index 7a2dca3..09c8e29 100644
--- a/bindings/python3/CMakeLists.txt
+++ b/bindings/python3/CMakeLists.txt
@@ -6,9 +6,9 @@
# we cannot use FIND_PACKAGE PythonLibs here, as this would
# clash with the python variables.
#
-IF (NOT DEFINED ${PYTHON3_EXECUTABLE})
+IF (NOT DEFINED PYTHON3_EXECUTABLE)
SET (PYTHON3_EXECUTABLE "/usr/bin/python3")
-ENDIF (NOT DEFINED ${PYTHON3_EXECUTABLE})
+ENDIF (NOT DEFINED PYTHON3_EXECUTABLE)
EXECUTE_PROCESS(COMMAND ${PYTHON3_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_lib(True))" OUTPUT_VARIABLE PYTHON3_INSTALL_DIR)
EXECUTE_PROCESS(COMMAND ${PYTHON3_EXECUTABLE} -c "from sys import stdout; from distutils import sysconfig; stdout.write(sysconfig.get_python_inc())" OUTPUT_VARIABLE PYTHON3_INCLUDE_DIR)
diff --git a/bindings/solv.i b/bindings/solv.i
index 61dc640..7302d3a 100644
--- a/bindings/solv.i
+++ b/bindings/solv.i
@@ -932,12 +932,18 @@ typedef int Id;
%constant int REL_EQ;
%constant int REL_GT;
%constant int REL_LT;
-%constant int REL_ARCH;
%constant int REL_AND;
%constant int REL_OR;
%constant int REL_WITH;
+%constant int REL_NAMESPACE;
+%constant int REL_ARCH;
+%constant int REL_FILECONFLICT;
%constant int REL_COND;
+%constant int REL_COMPAT;
+%constant int REL_KIND;
+%constant int REL_MULTIARCH;
%constant int REL_ELSE;
+%constant int REL_ERROR;
typedef struct {
Pool* const pool;