forked from pool/python-augeas
- Update to 1.2.0:
* Includes a number of additional libaugeas bindings:
+ load_file
+ source
+ srun
+ preview
+ ns_attr
+ ns_label
+ ns_value
+ ns_count
+ ns_path
* CFFI mode changed to out-of-line ABI mode
- Package no longer noarch.
- Switch to pyproject and pytest macros.
- Run fdupes.
- No more greedy globs in %files.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-augeas?expand=0&rev=24
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1a1d2cdaf2ad4c091ed5ec7976c52d16e14ecfbf40b1bdcaced2465255fb0f87
|
||||
size 95457
|
||||
3
python-augeas-1.2.0.tar.gz
Normal file
3
python-augeas-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ee2c1e74cad61124097c5f540f063fa2dd3b8cd3159f1706f11167814c9bfcd5
|
||||
size 98197
|
||||
@@ -1,3 +1,23 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 2 08:38:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Update to 1.2.0:
|
||||
* Includes a number of additional libaugeas bindings:
|
||||
+ load_file
|
||||
+ source
|
||||
+ srun
|
||||
+ preview
|
||||
+ ns_attr
|
||||
+ ns_label
|
||||
+ ns_value
|
||||
+ ns_count
|
||||
+ ns_path
|
||||
* CFFI mode changed to out-of-line ABI mode
|
||||
- Package no longer noarch.
|
||||
- Switch to pyproject and pytest macros.
|
||||
- Run fdupes.
|
||||
- No more greedy globs in %files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 8 13:50:01 UTC 2024 - Dominik Heidler <dheidler@suse.de>
|
||||
|
||||
|
||||
@@ -18,22 +18,26 @@
|
||||
|
||||
%{?sle15allpythons}
|
||||
Name: python-augeas
|
||||
Version: 1.1.0
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: Python bindings for Augeas
|
||||
License: LGPL-2.1-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: http://augeas.net/
|
||||
Source: https://github.com/hercules-team/python-augeas/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{python_module cffi >= 1.0.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: augeas-devel
|
||||
BuildRequires: augeas-lenses
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: augeas
|
||||
Requires: python-cffi >= 1.0.0
|
||||
# We'd always want to have augeas-lenses installed
|
||||
Requires: augeas-lenses
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -44,21 +48,20 @@ configuration files.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
|
||||
# do not pack tests
|
||||
%python_expand rm -rf %{buildroot}%{$python_sitelib}/test
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
cd test
|
||||
%python_exec test_augeas.py
|
||||
%pytest_arch
|
||||
|
||||
%files %{python_files}
|
||||
%doc AUTHORS README.txt
|
||||
%doc AUTHORS README.md
|
||||
%license COPYING
|
||||
%{python_sitelib}/*
|
||||
%{python_sitearch}/augeas
|
||||
%{python_sitearch}/_augeas.abi3.so
|
||||
%{python_sitearch}/python_augeas-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user