14
0

- update to 0.7.0:

* Important: Python 3.7 is the minimum supported version, due
    to difficulty of testing old releases, and the fact that
    everything older has been deprecated a long time ago
    (e.g. 3.6 at the end of 2021).
  * Improve error handling in some corner cases (not expected to
    have any real-life impact, but who knows).
  * Improved testing coverage and test infrastructure.
  * Modernise parts of the C code based on recent Python version
  * guidelines.
  * Add a simple security policy and contribution guidelines.
- apply a manually merged version of
  - Make test suite pass under FreeBSD, which has a stricter
    behaviour with regards to invalid ACLs (which we do exercise
  - No visible changes release: just fix tests when running under

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylibacl?expand=0&rev=22
This commit is contained in:
2024-01-07 21:38:40 +00:00
committed by Git OBS Bridge
parent cd377d0a8b
commit d3966bddf5
4 changed files with 31 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pylibacl
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany
#
# All modifications and additions to the file contributed by third parties
@@ -19,15 +19,17 @@
%{?sle15_python_module_pythons}
Name: python-pylibacl
Version: 0.6.0
Version: 0.7.0
Release: 0
Summary: POSIX1e ACLs for python
License: LGPL-2.1-or-later
URL: https://pylibacl.k1024.org/
Source: https://files.pythonhosted.org/packages/source/p/pylibacl/pylibacl-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: pkgconfig
BuildRequires: python-rpm-macros
@@ -43,10 +45,10 @@ of the systems's acl C library - see acl(5).
%setup -q -n pylibacl-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@@ -54,7 +56,8 @@ of the systems's acl C library - see acl(5).
%files %{python_files}
%license COPYING
%doc NEWS README.md
%{python_sitearch}/*
%doc NEWS.md README.md
%{python_sitearch}/posix1e.*
%{python_sitearch}/pylibacl-%{version}.dist-info
%changelog