14
0
forked from pool/python-xattr

8 Commits

Author SHA256 Message Date
c71e607b31 Accepting request 1311668 from devel:languages:python
- Update to 1.3.0:
  - Update pyproject.toml license identifier and update CI workflows
    for Python 3.14, dropping support for Python 3.8. #134
- 1.2.0
  - Support optional default value in xattr.get() #130
  - Ignore macOS 13 SIP attribute 'com.apple.provenance' in tests #131
- 1.1.4
  - Update GitHub actions to support upload-artifact@v4 (with the
    side-effect of building wheels for Python v3.13)
- 1.1.3
  - Update GitHub actions to support upload-artifact@v4 #126 #125
  - Update GitHub actions (with the side-effect of building wheels
    for Python v3.13) #123 #124
- 1.1.2
  - Update GitHub actions to support upload-artifact@v4 #125
- 1.1.1
  - Update GitHub actions (with the side-effect of building wheels for
    Python v3.13) #123 #124
- 1.1.0
  - Improve FreeBSD compatibility by stripping "user." prefix on
    attribute names, but add them when listing attributes so that it
    behaves similarly to Linux (the xattr.pyxattr_compat module does
    not add them). Also adds FreeBSD with its ports build of Python
    3.9 to the CI test suite. #116 #117
- 1.0.0
  - Update test & build matrix and use Github Actions as a Trusted
    Publisher. Drop support for Python 3.7 and earlier (including
    Python 2). Move tests out of package. #115

OBS-URL: https://build.opensuse.org/request/show/1311668
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xattr?expand=0&rev=29
2025-10-18 12:35:56 +00:00
93a79ede65 - Update to 1.3.0:
- Update pyproject.toml license identifier and update CI workflows
    for Python 3.14, dropping support for Python 3.8. #134
- 1.2.0
  - Support optional default value in xattr.get() #130
  - Ignore macOS 13 SIP attribute 'com.apple.provenance' in tests #131
- 1.1.4
  - Update GitHub actions to support upload-artifact@v4 (with the
    side-effect of building wheels for Python v3.13)
- 1.1.3
  - Update GitHub actions to support upload-artifact@v4 #126 #125
  - Update GitHub actions (with the side-effect of building wheels
    for Python v3.13) #123 #124
- 1.1.2
  - Update GitHub actions to support upload-artifact@v4 #125
- 1.1.1
  - Update GitHub actions (with the side-effect of building wheels for
    Python v3.13) #123 #124
- 1.1.0
  - Improve FreeBSD compatibility by stripping "user." prefix on
    attribute names, but add them when listing attributes so that it
    behaves similarly to Linux (the xattr.pyxattr_compat module does
    not add them). Also adds FreeBSD with its ports build of Python
    3.9 to the CI test suite. #116 #117
- 1.0.0
  - Update test & build matrix and use Github Actions as a Trusted
    Publisher. Drop support for Python 3.7 and earlier (including
    Python 2). Move tests out of package. #115

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=56
2025-10-16 10:19:34 +00:00
a65363f8c5 Accepting request 1301406 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xattr?expand=0&rev=28
2025-08-27 19:34:01 +00:00
b467d46487 - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=54
2025-08-26 09:44:26 +00:00
121091b0d4 Accepting request 1283483 from devel:languages:python
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1283483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xattr?expand=0&rev=27
2025-06-10 06:58:05 +00:00
300a209de3 - Switch to pyproject macros.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=52
2025-06-06 04:22:43 +00:00
734721d350 Accepting request 1096407 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1096407
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-xattr?expand=0&rev=26
2023-07-06 16:27:58 +00:00
0ecfe3e9a3 Accepting request 1096371 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1096371
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xattr?expand=0&rev=50
2023-07-02 15:01:42 +00:00
4 changed files with 74 additions and 12 deletions

View File

@@ -1,3 +1,50 @@
-------------------------------------------------------------------
Thu Oct 16 10:04:18 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 1.3.0:
- Update pyproject.toml license identifier and update CI workflows
for Python 3.14, dropping support for Python 3.8. #134
- 1.2.0
- Support optional default value in xattr.get() #130
- Ignore macOS 13 SIP attribute 'com.apple.provenance' in tests #131
- 1.1.4
- Update GitHub actions to support upload-artifact@v4 (with the
side-effect of building wheels for Python v3.13)
- 1.1.3
- Update GitHub actions to support upload-artifact@v4 #126 #125
- Update GitHub actions (with the side-effect of building wheels
for Python v3.13) #123 #124
- 1.1.2
- Update GitHub actions to support upload-artifact@v4 #125
- 1.1.1
- Update GitHub actions (with the side-effect of building wheels for
Python v3.13) #123 #124
- 1.1.0
- Improve FreeBSD compatibility by stripping "user." prefix on
attribute names, but add them when listing attributes so that it
behaves similarly to Linux (the xattr.pyxattr_compat module does
not add them). Also adds FreeBSD with its ports build of Python
3.9 to the CI test suite. #116 #117
- 1.0.0
- Update test & build matrix and use Github Actions as a Trusted
Publisher. Drop support for Python 3.7 and earlier (including
Python 2). Move tests out of package. #115
-------------------------------------------------------------------
Tue Aug 26 09:44:09 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Fri Jun 6 04:19:46 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Sun Jul 2 10:51:14 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Dec 7 22:43:52 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-xattr
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,23 +16,35 @@
#
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-xattr
Version: 0.10.1
Version: 1.3.0
Release: 0
Summary: Python wrapper for extended filesystem attributes
License: MIT
Group: Development/Languages/Python
URL: https://github.com/xattr/xattr
Source: https://files.pythonhosted.org/packages/source/x/xattr/xattr-%{version}.tar.gz
BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cffi >= 1.11
Requires: python-setuptools
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
%endif
%ifpython2
Provides: pyxattr = %{version}
Obsoletes: pyxattr < %{version}
@@ -53,16 +65,16 @@ sed -i "/#\!\/usr\/bin\/env python/d" xattr/tool.py # Fix executable-bit rpmlint
%build
export CFLAGS="%{optflags}"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%python_clone -a %{buildroot}%{_bindir}/xattr
%check
export LC_ALL=en_US.utf-8
%pyunittest discover -v
%pytest_arch tests
%post
%python_install_alternative xattr
@@ -70,11 +82,14 @@ export LC_ALL=en_US.utf-8
%postun
%python_uninstall_alternative xattr
%pre
%python_libalternatives_reset_alternative xattr
%files %{python_files}
%license LICENSE.txt
%doc README.rst
%python_alternative %{_bindir}/xattr
%{python_sitearch}/xattr
%{python_sitearch}/xattr-*egg-info
%{python_sitearch}/xattr-%{version}.dist-info
%changelog

BIN
xattr-0.10.1.tar.gz (Stored with Git LFS)

Binary file not shown.

3
xattr-1.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:30439fabd7de0787b27e9a6e1d569c5959854cb322f64ce7380fedbfa5035036
size 17148