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

Contents of /cauldron/python-tinycss/current/SPECS/python-tinycss.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2018363 - (show annotations) (download)
Sat Dec 16 18:04:22 2023 UTC (4 months, 1 week ago) by papoteur
File size: 1087 byte(s)
- rebuild for python 3.12
1 %global pypi_name tinycss
2
3 Name: python-%{pypi_name}
4 Version: 0.4
5 Release: %mkrel 8
6 Group: Development/Python
7 Summary: tinycss is a complete yet simple CSS parser for Python
8
9 License: MIT
10 URL: https://pypi.org/project/tinycss/
11 Source0: https://files.pythonhosted.org/packages/source/t/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
12 BuildArch: noarch
13
14 %description
15 tinycss is a complete yet simple CSS parser for Python.
16
17 %package -n python3-%{pypi_name}
18 Summary: tinycss is a complete yet simple CSS parser for Python 3
19 Group: Development/Python
20 BuildRequires: pkgconfig(python3)
21 BuildRequires: python3-devel
22 %{?python_provide:%python_provide python3-%{pypi_name}}
23
24 %description -n python3-%{pypi_name}
25 tinycss is a complete yet simple CSS parser for Python 3.
26
27 %prep
28 %setup -qn %{pypi_name}-%{version}
29 %autopatch -p1
30
31
32 %generate_buildrequires
33 %pyproject_buildrequires
34
35 %build
36 %pyproject_wheel
37
38 %install
39 %pyproject_install
40 %pyproject_save_files tinycss
41
42 %files -n python3-%{pypi_name} -f %{pyproject_files}

  ViewVC Help
Powered by ViewVC 1.1.30