/[packages]/cauldron/python-xattr/current/SPECS/python-xattr.spec
ViewVC logotype

Annotation of /cauldron/python-xattr/current/SPECS/python-xattr.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2023445 - (hide annotations) (download)
Fri Dec 29 02:54:24 2023 UTC (2 months, 4 weeks ago) by tv
File size: 1348 byte(s)
Rebuild for python-3.12
1 wally 1355714 %define srcname xattr
2 ahmad 85416
3 daviddavid 1154426 Summary: Extended attributes for python
4     Name: python-xattr
5 papoteur 2005837 Version: 0.10.1
6 tv 2023445 Release: %mkrel 2
7 daviddavid 1154426 License: GPLv2
8     Group: Development/Python
9 wally 1355714 URL: https://pypi.python.org/pypi/xattr
10     Source: https://files.pythonhosted.org/packages/source/x/%{srcname}/%{srcname}-%{version}.tar.gz
11 wally 1439994 Patch0: python3.8.patch
12 neoclust 1885439 BuildRequires: pyproject-rpm-macros
13 daviddavid 1154426 BuildRequires: libattr-devel
14     BuildRequires: pkgconfig(libffi)
15    
16 ahmad 85416 %description
17     python-xattr is a C extension module for Python which implements
18     extended attributes manipulation. It is a wrapper on top of the
19     attr C library - see attr(5).
20    
21 philippem 653496 %package -n python3-xattr
22 daviddavid 1154426 Summary: Extended attributes for Python 3
23 philippem 653496 Group: Development/Python
24 daviddavid 1154426 BuildRequires: pkgconfig(python3)
25     BuildRequires: python3dist(setuptools)
26     BuildRequires: python3dist(cffi)
27     BuildRequires: python3dist(ply)
28     BuildRequires: python3dist(pycparser)
29 wally 1355714 %{?python_provide:%python_provide python3-%{srcname}}
30 daviddavid 1154426 Requires: python3-pkg-resources
31 philippem 653496
32     %description -n python3-xattr
33 daviddavid 1154426 python-xattr is a C extension module for Python 3 which implements
34 philippem 653496 extended attributes manipulation. It is a wrapper on top of the
35     attr C library - see attr(5).
36    
37 ahmad 85416 %prep
38 wally 1355714 %setup -q -n %{srcname}-%{version}
39 wally 1439994 %autopatch -p1
40 ahmad 85416
41 wally 1355714
42 ahmad 85416 %build
43 neoclust 1885439 %pyproject_wheel
44 philippem 653496
45 ahmad 85416 %install
46 neoclust 1885439 %pyproject_install
47     %pyproject_save_files xattr
48 philippem 653496
49 neoclust 1885439 %files -n python3-xattr -f %{pyproject_files}
50 wally 1355714 %{_bindir}/xattr

  ViewVC Help
Powered by ViewVC 1.1.30