/[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 1703788 - (show annotations) (download)
Tue Mar 16 15:43:25 2021 UTC (6 months ago) by tmb
File size: 1070 byte(s)
rebuild for python 3.9
1 %global pypi_name tinycss
2
3 Name: python-%{pypi_name}
4 Version: 0.4
5 Release: %mkrel 5
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: python3dist(setuptools)
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 # drop bundled egg-info
32 rm -rf %{pypi_name}.egg-info
33
34 %build
35 %py3_build
36
37 %install
38 %py3_install
39
40 %files -n python3-%{pypi_name}
41 %{python3_sitearch}/%{pypi_name}*

  ViewVC Help
Powered by ViewVC 1.1.28