Compare commits
24 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0970c37c9d | ||
|
|
52e9a15fdc | ||
|
|
4929a28105 | ||
|
|
1bfb4667ab | ||
|
|
ce652d6adc | ||
|
|
3035d7f87e | ||
|
|
9da753dbdc | ||
|
|
a28f187573 | ||
|
|
7462bc554c | ||
|
|
9e10c13f99 | ||
|
|
e548e79823 | ||
|
|
a6c456e1c9 | ||
|
|
0737913608 | ||
|
|
dee80597e7 | ||
|
|
54709ba8c3 | ||
|
|
c8dbfe842a | ||
|
|
91fab90f0c | ||
|
|
fc8bd550c9 | ||
|
|
b79f051510 | ||
|
|
7b2c4b24e0 | ||
|
|
e420aeeb81 | ||
|
|
0b131934d9 | ||
|
|
e9433b87c6 | ||
|
|
d75d9403f6 |
3 changed files with 83 additions and 40 deletions
|
|
@ -1,20 +0,0 @@
|
|||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 6050fbb..8981947 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -41,13 +41,13 @@ Donation = 'https://opencollective.com/courtbouillon'
|
||||
|
||||
[project.optional-dependencies]
|
||||
doc = ['sphinx', 'sphinx_rtd_theme']
|
||||
-test = ['pytest', 'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]']
|
||||
+test = ['pytest', 'pytest-cov', 'coverage[toml]']
|
||||
|
||||
[tool.flit.sdist]
|
||||
exclude = ['.*']
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
-addopts = '--isort --flake8 --cov --no-cov-on-fail'
|
||||
+addopts = '--cov --no-cov-on-fail'
|
||||
norecursedirs = ['tests/css-parsing-tests']
|
||||
|
||||
[tool.coverage.run]
|
||||
|
|
@ -1,27 +1,21 @@
|
|||
|
||||
%global srcname tinycss2
|
||||
|
||||
|
||||
%global py3_prefix python%{python3_pkgversion}
|
||||
|
||||
|
||||
Name: python-%{srcname}
|
||||
Version: 1.1.1
|
||||
Version: 1.5.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Low-level CSS parser for Python
|
||||
|
||||
License: BSD
|
||||
URL: https://pypi.python.org/pypi/%{srcname}/
|
||||
Source0: %pypi_source
|
||||
# Fedora does not ship pytest's flake8/isort modules
|
||||
Patch0: %{name}-disable-flake8-isort-for-pytest.patch
|
||||
License: BSD-3-Clause
|
||||
URL: https://www.courtbouillon.org/tinycss2/
|
||||
Source0: %{pypi_source tinycss2}
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
# used as "build-backend" in pyproject.toml but not detected by Fedora's
|
||||
# macros to generate build requirements
|
||||
BuildRequires: python3-flit
|
||||
|
||||
# The test extra contains linters, we cherry-pick only what we need:
|
||||
BuildRequires: python3-pytest
|
||||
|
||||
|
||||
%description
|
||||
|
|
@ -30,12 +24,11 @@ tinycss with a simpler API, based on the more recent CSS Syntax Level 3
|
|||
specification.
|
||||
|
||||
|
||||
%package -n %{py3_prefix}-%{srcname}
|
||||
%package -n python3-%{srcname}
|
||||
Summary: Low-level CSS parser for Python 3
|
||||
Requires: %{py3_prefix}-webencodings >= 0.4
|
||||
%{?python_provide:%python_provide %{py3_prefix}-%{srcname}}
|
||||
%{?python_provide:%python_provide python3-%{srcname}}
|
||||
|
||||
%description -n %{py3_prefix}-%{srcname}
|
||||
%description -n python3-%{srcname}
|
||||
tinycss2 is a modern, low-level CSS parser for Python. tinycss2 is a rewrite of
|
||||
tinycss with a simpler API, based on the more recent CSS Syntax Level 3
|
||||
specification.
|
||||
|
|
@ -44,8 +37,9 @@ specification.
|
|||
%prep
|
||||
%autosetup -n %{srcname}-%{version}
|
||||
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r -x test
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
|
||||
%build
|
||||
|
|
@ -64,7 +58,7 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/test.py
|
|||
rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py?
|
||||
|
||||
|
||||
%files -n %{py3_prefix}-%{srcname}
|
||||
%files -n python3-%{srcname}
|
||||
%license LICENSE
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/%{srcname}/
|
||||
|
|
@ -72,6 +66,75 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py?
|
|||
|
||||
|
||||
%changelog
|
||||
* Sun Nov 23 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 1.5.1-1
|
||||
- update to 1.5.1
|
||||
|
||||
* Wed Nov 19 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 1.5.0-1
|
||||
- update to 1.5.0
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.4.0-6
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.4.0-5
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.4.0-3
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Oct 26 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 1.4.0-1
|
||||
- update to 1.4.0
|
||||
|
||||
* Sat Oct 26 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 1.3.0-5
|
||||
- SPDX conversion
|
||||
|
||||
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.3.0-4
|
||||
- convert license to SPDX
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.3.0-2
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Tue Apr 23 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 1.3.0-1
|
||||
- update to 1.3.0
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jul 01 2023 Python Maint <python-maint@redhat.com> - 1.2.1-4
|
||||
- Rebuilt for Python 3.12
|
||||
|
||||
* Mon May 15 2023 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-3
|
||||
- Drop redundant build dependency on flit, this package uses flit-core
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Oct 18 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 1.2.1-1
|
||||
- update to 1.2.1
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.1.1-3
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Mon Nov 22 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 1.1.1-1
|
||||
- update to 1.1.1
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (tinycss2-1.1.1.tar.gz) = 297ac51cf4eb9a063e88d677b8cf2511ff6c459c7a385ee8ba6bb4b9d9b0d8482f5caa1cc6511d3edefbe8e8ee284d72fedc154a5372880cd7d9a9a26aab1a62
|
||||
SHA512 (tinycss2-1.5.1.tar.gz) = 1c2e1818c27c90f78b1e0af9b4c3c2a0944999691dcea678d0f5ed8a141d6ebd272b8b6763c1eac9d824db0d539e1e238f1e5e6abd2c02d97bb86002da637a10
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue