Accepting request 1120759 from home:nkrapp:branches:devel:microos

- Version 0.5.2:
  * Add python bindings (#188)
  * docu version 0.5.2
  * Fix test (#185)
  * Plug memory leak (#186)
- Python-libeconf Version 1.1.0
  * Added tests
  * Support all functions form libeconf 0.5.2
  * Bug fixes

OBS-URL: https://build.opensuse.org/request/show/1120759
OBS-URL: https://build.opensuse.org/package/show/devel:microos/libeconf?expand=0&rev=14
This commit is contained in:
Richard Brown 2023-10-30 09:58:24 +00:00 committed by Git OBS Bridge
parent 37083f33eb
commit 5adc8ee640
6 changed files with 90 additions and 3 deletions

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<flavor>python-libeconf</flavor>
</multibuild>

View File

@ -1,6 +1,6 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/libeconf.git</param>
<param name="changesrevision">535641ce1131db19d526e0f1d1d43437b87add44</param>
<param name="changesrevision">9e9adf213476fcf0e0f57691bc69e7a0b061ce92</param>
</service>
</servicedata>

BIN
libeconf-0.5.2.tar.xz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Oct 26 14:56:30 UTC 2023 - nico.krapp@suse.com
- Update to version 0.5.2:
* Add python bindings (#188)
* docu version 0.5.2
* Fix test (#185)
* Plug memory leak (#186)
-------------------------------------------------------------------
Wed Sep 6 14:38:13 UTC 2023 - Stefan Schubert <schubi@suse.com>

7
python-libeconf.changes Normal file
View File

@ -0,0 +1,7 @@
-------------------------------------------------------------------
Fri Oct 27 08:42:26 UTC 2023 - Nico Krapp <nico.krapp@suse.com>
- Version 1.1.0
* Added tests
* Support all functions form libeconf 0.5.2
* Bug fixes

67
python-libeconf.spec Normal file
View File

@ -0,0 +1,67 @@
#
# spec file for package python-libeconf
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: python-libeconf
Version: 1.1.0
Release: 0
Summary: Python bindings for libeconf
License: LGPL-2.1-or-later
Group: Development/Languages/Python
URL: https://github.com/openSUSE/libeconf
Source: libeconf-0.5.2.tar.xz
BuildArch: noarch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
Requires: libeconf0 >= 0.5.2
Requires: python3-base
Suggests: python-libeconf-doc == %{version}
%python_subpackages
%description
Python bindings for libeconf
%package -n python-libeconf-doc
Summary: Man page for python-libeconf
Requires: python-libeconf
%description -n python-libeconf-doc
Man page for python-lineconf
%prep
%autosetup -n libeconf-0.5.2/bindings/python3
%build
%pyproject_wheel
%install
%pyproject_install
mkdir -p %{buildroot}/usr/share/man/man3
cp docs/python-libeconf.3 %{buildroot}%{_mandir}/man3/
%files %python_files
%{python_sitelib}/
%pycache_only %{python_sitelib}/__pycache__
%files -n python-libeconf-doc
%defattr(-,root,root)
%{_mandir}/man3/*python-libeconf*
%changelog