1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-06 15:46:14 +01:00

16 Commits

Author SHA1 Message Date
Michael Schroeder
b4bec60aed Allow to link the tools/bindings against the static version of the libraries
This is only relevant if both the static and dynamic versions are
built.
2025-03-20 11:06:01 +01:00
Miro Hrončok
1befb9c4ad Python: Remove usage of the deprecated distutils module
Python 3.12+ no longer has distutils.

See https://peps.python.org/pep-0632/
2022-12-19 23:07:57 +01:00
Brad King
0fb6c40809 Sanitize PYTHONLIBS_VERSION_STRING before passing it to 'FIND_PACKAGE (PythonInterp).
Obtained from libsolv_0.6.28-2 in Debian.

 Origin: https://gitlab.kitware.com/cmake/cmake/merge_requests/1047#note_288680
 Bug-Debian: https://bugs.debian.org/867514
 Author: Brad King
 Reviewed-by: gregor herrmann <gregoa@debian.org>
 Last-Update: 2017-07-22
2017-07-24 11:17:33 +02:00
Michael Schroeder
f9e6068f99 Adapt to bool handling of newer swig versions
We currently simply define SWIG_PYTHON_LEGACY_BOOL. In the future
we might want to revisit this and mandate true bool values.
2017-05-30 14:37:47 +02:00
Michael Schroeder
15d5b26aec Oops, fix typo in last commit 2016-11-10 12:58:55 +01:00
Michael Schroeder
ad99683539 Further simplify python3 build 2016-11-10 11:15:20 +01:00
Michael Schroeder
7b7df4f6f5 Support building for python2 and python3 in parallel
Needs some hacking in the recipe file
2016-11-08 13:39:03 +01:00
Michael Schroeder
b8f43105ae Mark the shared objects generated by the bindings as MODULE
Fixes build on mageia if %cmake is used.
2015-10-05 13:14:15 +02:00
Michael Schroeder
204406df09 Specify PYTHONLIBS_VERSION_STRING on the FIND_PACKAGE call
Otherwise the configure will fail for newer cmake versions, as
they expect _MAJOR/_MINOR/_COUNT to be set as well.
2015-08-04 14:31:23 +02:00
Michael Schroeder
41fde7e42a fix for old swig versions 2014-01-24 15:08:34 +01:00
Michael Schroeder
c5b168f73b tweak python version detection, add Datamatch.binary()
Also no longer misuse swig's cdata typemap.
2013-11-20 12:58:09 +01:00
Michael Schroeder
f3a5e22f19 port to python3 2013-11-19 16:18:41 +01:00
Michael Schroeder
fd934fff63 - also export solv config to swig, thanks Zdenek Pavlas 2012-02-28 15:46:43 +01:00
Michael Schroeder
2f7a0546a4 - make pool flags private, allow self conflicts for rpm, add pool_set/get_flags 2012-02-20 15:25:18 +01:00
Michael Schroeder
316e7cd9cf - fix build on 64bit and 11.3 2011-07-18 16:40:47 +02:00
Michael Schroeder
96d3ffea9f - add support for bindings creation 2011-07-13 18:46:17 +02:00