From e26e08e7cbe258d5207a3339452a229f8692f8e0133320c2bf41df7148ed60b1 Mon Sep 17 00:00:00 2001 From: Hans-Peter Jansen Date: Wed, 6 Aug 2025 11:04:14 +0000 Subject: [PATCH] =?UTF-8?q?-=20Update=20to=200.7.3=20=20=20*=20This=20is?= =?UTF-8?q?=20a=20test-only=20changes=20release,=20removing=20some=20very?= =?UTF-8?q?=20old=20=20=20=20=20testing=20for=20reference=20counts,=20intr?= =?UTF-8?q?oduced=20in=202012,=20but=20which=20=20=20=20=20stopped=20worki?= =?UTF-8?q?ng=20with=20Python=203.14=20as=20it=20changed=20reference=20=20?= =?UTF-8?q?=20=20=20counting=20by=20introducing=20optimizations=20in=20som?= =?UTF-8?q?e=20cases.=20No=20need=20=20=20=20=20to=20upgrade=20unless=20yo?= =?UTF-8?q?u=20want=20to=20make=20sure=20the=20test=20suite=20passes=20=20?= =?UTF-8?q?=20=20=20on=203.14,=20and=20no=20real=20failures=20are=20hidden?= =?UTF-8?q?=20by=20the=20broken=20reference=20=20=20=20=20testing.=20=20?= =?UTF-8?q?=20*=20Additionally,=20the=20release=20enables=20CI=20on=20Pyth?= =?UTF-8?q?on=203.14,=20thanks=20=20=20=20=20Marcin=20Zaj=C4=85czkowski!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pylibacl?expand=0&rev=28 --- .gitattributes | 23 +++++++ .gitignore | 1 + pylibacl-0.7.0.tar.gz | 3 + pylibacl-0.7.1.tar.gz | 3 + pylibacl-0.7.2.tar.gz | 3 + pylibacl-0.7.3.tar.gz | 3 + python-pylibacl.changes | 145 ++++++++++++++++++++++++++++++++++++++++ python-pylibacl.spec | 63 +++++++++++++++++ 8 files changed, 244 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pylibacl-0.7.0.tar.gz create mode 100644 pylibacl-0.7.1.tar.gz create mode 100644 pylibacl-0.7.2.tar.gz create mode 100644 pylibacl-0.7.3.tar.gz create mode 100644 python-pylibacl.changes create mode 100644 python-pylibacl.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pylibacl-0.7.0.tar.gz b/pylibacl-0.7.0.tar.gz new file mode 100644 index 0000000..ce4cc5e --- /dev/null +++ b/pylibacl-0.7.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed496e74ca5452d5d4cebe23df229ea462735a96528b9fa28e3ce1f7a2bed31a +size 47543 diff --git a/pylibacl-0.7.1.tar.gz b/pylibacl-0.7.1.tar.gz new file mode 100644 index 0000000..e83f93e --- /dev/null +++ b/pylibacl-0.7.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:450a7b3cc64a7f254430b466d8a745f259ae134432a9a4ca930ef88424b9be58 +size 49017 diff --git a/pylibacl-0.7.2.tar.gz b/pylibacl-0.7.2.tar.gz new file mode 100644 index 0000000..cc3f7b7 --- /dev/null +++ b/pylibacl-0.7.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:56c15e867fe4c724531bbf97407589cbbf8dbd285a8d84fe7ecc90fc322378d7 +size 49337 diff --git a/pylibacl-0.7.3.tar.gz b/pylibacl-0.7.3.tar.gz new file mode 100644 index 0000000..f782f9a --- /dev/null +++ b/pylibacl-0.7.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9d9ffb580e0c582d5de598087f75f6940458b23810c615529143c61b172bf922 +size 49494 diff --git a/python-pylibacl.changes b/python-pylibacl.changes new file mode 100644 index 0000000..de9d34c --- /dev/null +++ b/python-pylibacl.changes @@ -0,0 +1,145 @@ +------------------------------------------------------------------- +Wed Aug 6 10:09:33 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.7.3 + * This is a test-only changes release, removing some very old + testing for reference counts, introduced in 2012, but which + stopped working with Python 3.14 as it changed reference + counting by introducing optimizations in some cases. No need + to upgrade unless you want to make sure the test suite passes + on 3.14, and no real failures are hidden by the broken reference + testing. + * Additionally, the release enables CI on Python 3.14, thanks + Marcin Zajączkowski! + +------------------------------------------------------------------- +Thu Apr 10 12:32:54 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.7.2 + * Single-bugfix release: fixed the typing stub module. Nothing + exercised it, and having been generated with pre-3.6 stubgen, + it failed to work on modern versions. No tests failed (should + add some), but the doc build by Sphinx failed accidentally + since the failure to import (which was ignored) led to a + missing title for the module, which Sphinx complained about. + Quite funny :) + +------------------------------------------------------------------- +Fri Feb 21 15:10:30 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.7.1 + * Minor version, with a few test improvements, and updated + documentation building dependencies. No user-visible + changes otherwise. + +------------------------------------------------------------------- +Sun Jan 7 21:37:36 UTC 2024 - Dirk Müller + +- 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. + +------------------------------------------------------------------- +Fri Sep 1 13:21:16 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Mar 26 19:52:42 UTC 2022 - Dirk Müller + +- update to 0.6.0: + - Support for pathlib objects in `apply_to` and `has_extended` + functions when running with Python 3.6 and newer. + - Use of built-in C API functions for bytes/unicode/pathlib conversion + when dealing with file names, removing custom code (with the + associated benefits). + - Initialisation protocol has been changed, to disallow uninitialised + objects; this means that `__new__` will always create valid objects, + to prevent the need for checking initialisation status in all code + paths; this also (implicitly) fixes memory leaks on re-initialisation + (calling `__init__(342200246)` on an existing object) and segfaults (!) on + non-initialised object attribute access. Note ACL re-initialisation is + tricky and (still) leads to undefined behaviour of existing Entry + objects pointing to it. + - Fix another bug in ACL re-initialisation where failures would result + in invalid objects; now failed re-initialisation does not touch the + original object. + - Restore `__setstate__`/`__getstate__` support on Linux; this was + inadvertently removed due a typo(!) when adding support for it in + FreeBSD. Pickle should work again for ACL instances, although not sure + how stable this serialisation format actually is. + - Additionally, slightly change `__setstate__()` input to not allow + Unicode, since the serialisation format is an opaque binary format. + - Fix (and change) entry qualifier (which is a user/group ID) behaviour: + assume/require that uid_t/gid_t are unsigned types (they are with + glibc, MacOS and FreeBSD at least; the standard doesn't document the + signedness), and convert parsing and returning the qualifier to behave + accordingly. The breakage was most apparent on 32-bit architectures, + in which context the problem was originally reported (see issue #13). + - Added a `data` keyword argument to `ACL()`, which allows restoring an + ACL directly from a serialised form (as given by `__getstate__()`), + which should simplify some uses cases (`a = ACL(); a.__set + state__(342200246)`). + - When available, add the file path to I/O error messages, which should + lead to easier debugging. + - The test suite has changed to `pytest`, which allows increased + coverage via parameterisation. +- drop 09c5bd80cf811a0e7b81ceddfb525d576885e097.patch (upstream) + +------------------------------------------------------------------- +Mon Feb 24 15:28:16 UTC 2020 - Hans-Peter Jansen + +- apply a manually merged version of + 09c5bd80cf811a0e7b81ceddfb525d576885e097.patch, in order to fix + build with 32 bit archs https://github.com/iustin/pylibacl/issues/13 + +------------------------------------------------------------------- +Thu Jan 9 14:06:28 UTC 2020 - Tomáš Chvátal + +- Update to 0.5.4: + * Switch to python3 interpreter + * minor documentation improvements +- Switch to singlespec + +------------------------------------------------------------------- +Mon Oct 14 14:15:19 UTC 2019 - Matej Cepl + +- Replace %fdupes -s with plain %fdupes; hardlinks are better. +- We really don't need to support SLE-11 in openSUSE packages. + +------------------------------------------------------------------- +Sun Oct 18 16:07:28 UTC 2015 - ecsos@opensuse.org + +- update to 0.5.3 + - Enable all FreeBSD versions after 7.x at level 2 + - Make test suite pass under FreeBSD, which has a stricter + behaviour with regards to invalid ACLs (which we do exercise + in the test suite) +- update to 0.5.2 + - No visible changes release: just fix tests when running under + pypy. + +------------------------------------------------------------------- +Thu Oct 24 11:11:58 UTC 2013 - speilicke@suse.com + +- Require python-setuptools instead of distribute (upstreams merged) + +------------------------------------------------------------------- +Wed Mar 20 08:57:52 UTC 2013 - speilicke@suse.com + +- Use "-fno-strict-aliasing" +- Simply documentation build + +------------------------------------------------------------------- +Thu Mar 14 21:19:39 UTC 2013 - hpj@urpla.net + +- version 0.5.1: initial build + diff --git a/python-pylibacl.spec b/python-pylibacl.spec new file mode 100644 index 0000000..6a80f49 --- /dev/null +++ b/python-pylibacl.spec @@ -0,0 +1,63 @@ +# +# spec file for package python-pylibacl +# +# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2013-2020 LISA GmbH, Bingen, Germany +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-pylibacl +Version: 0.7.3 +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 +BuildRequires: pkgconfig(libacl) +%python_subpackages + +%description +This is a C extension module for Python which +implements POSIX ACLs manipulation. It is a wrapper on top +of the systems's acl C library - see acl(5). + +%prep +%setup -q -n pylibacl-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%pytest_arch + +%files %{python_files} +%license COPYING +%doc NEWS.md README.md +%{python_sitearch}/posix1e.* +%{python_sitearch}/pylibacl-%{version}.dist-info + +%changelog