From cb41dc0bfc448d6552c2767a7e2721282ded24a2 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 7 Mar 2019 22:46:06 +0100 Subject: [PATCH 01/43] update to new upstream version 1.0.1 --- .gitignore | 1 + ...css2-disable-flake8-isort-for-pytest.patch | 31 ++++++++++++++----- python-tinycss2.spec | 10 ++++-- sources | 2 +- 4 files changed, 33 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 0727398..07ac4a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tinycss2-0.6.1.tar.gz +/tinycss2-1.0.1.tar.gz diff --git a/python-tinycss2-disable-flake8-isort-for-pytest.patch b/python-tinycss2-disable-flake8-isort-for-pytest.patch index 5d7286d..6c48258 100644 --- a/python-tinycss2-disable-flake8-isort-for-pytest.patch +++ b/python-tinycss2-disable-flake8-isort-for-pytest.patch @@ -1,13 +1,30 @@ diff --git a/setup.cfg b/setup.cfg -index ae602ff..a6452e5 100644 +index b3b3c2d..944ca52 100644 --- a/setup.cfg +++ b/setup.cfg -@@ -5,7 +5,7 @@ test = pytest - universal = 1 +@@ -40,8 +40,6 @@ install_requires = + tests_require = + pytest-runner + pytest-cov +- pytest-flake8 +- pytest-isort + python_requires = >= 3.5 + + [options.package_data] +@@ -56,8 +54,6 @@ doc = + test = + pytest-runner + pytest-cov +- pytest-flake8 +- pytest-isort + + [bdist_wheel] + python-tag = py3 +@@ -70,7 +66,6 @@ build-dir = docs/_build + test = pytest [tool:pytest] --addopts = --cov=tinycss2 --flake8 --isort tinycss2/test.py -+addopts = --cov=tinycss2 tinycss2/test.py - norecursedirs = dist .cache .git build *.egg-info .eggs venv +-addopts = --flake8 --isort + norecursedirs = build dist .cache .eggs .git - [egg_info] + [coverage:run] diff --git a/python-tinycss2.spec b/python-tinycss2.spec index d281db4..4587c61 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,8 +6,8 @@ Name: python-%{srcname} -Version: 0.6.1 -Release: 8%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -21,6 +21,7 @@ BuildArch: noarch BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov +BuildRequires: %{py3_prefix}-pytest-runner # required for testing BuildRequires: %{py3_prefix}-webencodings >= 0.4 @@ -63,12 +64,15 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %files -n %{py3_prefix}-%{srcname} %license LICENSE -%doc CHANGES README.rst +%doc README.rst %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info/ %changelog +* Thu Mar 07 2019 Felix Schwarz 1.0.1-1 +- update to new upstream version + * Sat Feb 02 2019 Fedora Release Engineering - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index cee967a..6c39ba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-0.6.1.tar.gz) = fa064bbb06d641a497a3c1eb35118bbf8ca8c4d32fbd3d8c64bb10d6cdab24387e77cd4c3277a957f23de2bd527a407836245f4387d7f880958858bd9cc7ab89 +SHA512 (tinycss2-1.0.1.tar.gz) = c61de9c9ab79a643e2de951bbf13100094319f1c99b66f2c187ca53efff0f015bd55f264ff7982f52a09334eed149889b6f83eee2bb20196bc98f2401d24f10e From b0332f73813832a5d23cec082389bd037ef5e287 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 7 Mar 2019 22:46:06 +0100 Subject: [PATCH 02/43] update to new upstream version 1.0.1 --- .gitignore | 1 + ...css2-disable-flake8-isort-for-pytest.patch | 31 ++++++++++++++----- python-tinycss2.spec | 10 ++++-- sources | 2 +- 4 files changed, 33 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 0727398..07ac4a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /tinycss2-0.6.1.tar.gz +/tinycss2-1.0.1.tar.gz diff --git a/python-tinycss2-disable-flake8-isort-for-pytest.patch b/python-tinycss2-disable-flake8-isort-for-pytest.patch index 5d7286d..6c48258 100644 --- a/python-tinycss2-disable-flake8-isort-for-pytest.patch +++ b/python-tinycss2-disable-flake8-isort-for-pytest.patch @@ -1,13 +1,30 @@ diff --git a/setup.cfg b/setup.cfg -index ae602ff..a6452e5 100644 +index b3b3c2d..944ca52 100644 --- a/setup.cfg +++ b/setup.cfg -@@ -5,7 +5,7 @@ test = pytest - universal = 1 +@@ -40,8 +40,6 @@ install_requires = + tests_require = + pytest-runner + pytest-cov +- pytest-flake8 +- pytest-isort + python_requires = >= 3.5 + + [options.package_data] +@@ -56,8 +54,6 @@ doc = + test = + pytest-runner + pytest-cov +- pytest-flake8 +- pytest-isort + + [bdist_wheel] + python-tag = py3 +@@ -70,7 +66,6 @@ build-dir = docs/_build + test = pytest [tool:pytest] --addopts = --cov=tinycss2 --flake8 --isort tinycss2/test.py -+addopts = --cov=tinycss2 tinycss2/test.py - norecursedirs = dist .cache .git build *.egg-info .eggs venv +-addopts = --flake8 --isort + norecursedirs = build dist .cache .eggs .git - [egg_info] + [coverage:run] diff --git a/python-tinycss2.spec b/python-tinycss2.spec index d281db4..4587c61 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,8 +6,8 @@ Name: python-%{srcname} -Version: 0.6.1 -Release: 8%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -21,6 +21,7 @@ BuildArch: noarch BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov +BuildRequires: %{py3_prefix}-pytest-runner # required for testing BuildRequires: %{py3_prefix}-webencodings >= 0.4 @@ -63,12 +64,15 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %files -n %{py3_prefix}-%{srcname} %license LICENSE -%doc CHANGES README.rst +%doc README.rst %{python3_sitelib}/%{srcname}/ %{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info/ %changelog +* Thu Mar 07 2019 Felix Schwarz 1.0.1-1 +- update to new upstream version + * Sat Feb 02 2019 Fedora Release Engineering - 0.6.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index cee967a..6c39ba6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-0.6.1.tar.gz) = fa064bbb06d641a497a3c1eb35118bbf8ca8c4d32fbd3d8c64bb10d6cdab24387e77cd4c3277a957f23de2bd527a407836245f4387d7f880958858bd9cc7ab89 +SHA512 (tinycss2-1.0.1.tar.gz) = c61de9c9ab79a643e2de951bbf13100094319f1c99b66f2c187ca53efff0f015bd55f264ff7982f52a09334eed149889b6f83eee2bb20196bc98f2401d24f10e From 7d07d5a96b9817f657f7d86f12aa9952bca43637 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 29 Apr 2019 10:27:55 +0200 Subject: [PATCH 03/43] update to new upstream version 1.0.2 --- .gitignore | 1 + python-tinycss2.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 07ac4a1..e4f85a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tinycss2-0.6.1.tar.gz /tinycss2-1.0.1.tar.gz +/tinycss2-1.0.2.tar.gz diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 4587c61..5acd30f 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,7 +6,7 @@ Name: python-%{srcname} -Version: 1.0.1 +Version: 1.0.2 Release: 1%{?dist} Summary: Low-level CSS parser for Python @@ -22,7 +22,7 @@ BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov BuildRequires: %{py3_prefix}-pytest-runner -# required for testing +BuildRequires: %{py3_prefix}-pytest-flake8 BuildRequires: %{py3_prefix}-webencodings >= 0.4 %description @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon Apr 29 2019 Felix Schwarz 1.0.2-1 +- update to new upstream version 1.0.2 + * Thu Mar 07 2019 Felix Schwarz 1.0.1-1 - update to new upstream version diff --git a/sources b/sources index 6c39ba6..223f815 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-1.0.1.tar.gz) = c61de9c9ab79a643e2de951bbf13100094319f1c99b66f2c187ca53efff0f015bd55f264ff7982f52a09334eed149889b6f83eee2bb20196bc98f2401d24f10e +SHA512 (tinycss2-1.0.2.tar.gz) = 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1 From 89505aaf5c485a0d95e8e27e0f10aaf754d4ab54 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 29 Apr 2019 10:27:55 +0200 Subject: [PATCH 04/43] update to new upstream version 1.0.2 --- .gitignore | 1 + python-tinycss2.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 07ac4a1..e4f85a7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tinycss2-0.6.1.tar.gz /tinycss2-1.0.1.tar.gz +/tinycss2-1.0.2.tar.gz diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 4587c61..5acd30f 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,7 +6,7 @@ Name: python-%{srcname} -Version: 1.0.1 +Version: 1.0.2 Release: 1%{?dist} Summary: Low-level CSS parser for Python @@ -22,7 +22,7 @@ BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov BuildRequires: %{py3_prefix}-pytest-runner -# required for testing +BuildRequires: %{py3_prefix}-pytest-flake8 BuildRequires: %{py3_prefix}-webencodings >= 0.4 %description @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon Apr 29 2019 Felix Schwarz 1.0.2-1 +- update to new upstream version 1.0.2 + * Thu Mar 07 2019 Felix Schwarz 1.0.1-1 - update to new upstream version diff --git a/sources b/sources index 6c39ba6..223f815 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-1.0.1.tar.gz) = c61de9c9ab79a643e2de951bbf13100094319f1c99b66f2c187ca53efff0f015bd55f264ff7982f52a09334eed149889b6f83eee2bb20196bc98f2401d24f10e +SHA512 (tinycss2-1.0.2.tar.gz) = 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1 From 2831561470d22f689fb9bffd377dd0979166884a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jul 2019 16:43:16 +0000 Subject: [PATCH 05/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 5acd30f..3052d7c 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Mon Apr 29 2019 Felix Schwarz 1.0.2-1 - update to new upstream version 1.0.2 From 251aff253c6933b4e82ad06a4ea3c49be3e0d99f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:59:36 +0200 Subject: [PATCH 06/43] Rebuilt for Python 3.8 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 3052d7c..586608c 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon Aug 19 2019 Miro Hrončok - 1.0.2-3 +- Rebuilt for Python 3.8 + * Fri Jul 26 2019 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From c081b86d4fde0f113d327f422f1db56c19aa8c78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 14:33:33 +0200 Subject: [PATCH 07/43] Rebuilt for Python 3.8.0rc1 (#1748018) --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 586608c..5f67f9d 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Thu Oct 03 2019 Miro Hrončok - 1.0.2-4 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 1.0.2-3 - Rebuilt for Python 3.8 From b17eecf257817c3e7cc74510bd3b5df935cf9ae2 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Fri, 8 Nov 2019 09:27:33 +0100 Subject: [PATCH 08/43] use %pypi_source macro --- python-tinycss2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 5f67f9d..a876229 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -12,7 +12,7 @@ Summary: Low-level CSS parser for Python License: BSD URL: https://pypi.python.org/pypi/%{srcname}/ -Source0: https://files.pythonhosted.org/packages/source/t/%{srcname}/%{srcname}-%{version}.tar.gz +Source0: %pypi_source # Fedora does not ship pytest's flake8/isort modules Patch0: %{name}-disable-flake8-isort-for-pytest.patch From 83db8fbcbfa1c2be05788afe9e2ad2dde8ab2b2d Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Fri, 8 Nov 2019 09:28:26 +0100 Subject: [PATCH 09/43] ensure egg-info will be included also for Python 3.10 --- python-tinycss2.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index a876229..369d232 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -66,7 +66,7 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-%{version}-py?.?.egg-info/ +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ %changelog From 147cd40ea5edcd8a1c1113941fdd422c6540fb0a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 30 Jan 2020 15:48:13 +0000 Subject: [PATCH 10/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 369d232..12d6657 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.2-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Oct 03 2019 Miro Hrončok - 1.0.2-4 - Rebuilt for Python 3.8.0rc1 (#1748018) From 864516f880b6f70665e509cf36072a6e6f36c1fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 03:43:08 +0200 Subject: [PATCH 11/43] Rebuilt for Python 3.9 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 12d6657..8eec16b 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Tue May 26 2020 Miro Hrončok - 1.0.2-6 +- Rebuilt for Python 3.9 + * Thu Jan 30 2020 Fedora Release Engineering - 1.0.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 6909c94b67a243ad4414f244181678da231f96f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Wed, 27 May 2020 11:34:46 +0200 Subject: [PATCH 12/43] Drop unused pytest-flake8 BR --- python-tinycss2.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 8eec16b..875d7e6 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -22,7 +22,6 @@ BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov BuildRequires: %{py3_prefix}-pytest-runner -BuildRequires: %{py3_prefix}-pytest-flake8 BuildRequires: %{py3_prefix}-webencodings >= 0.4 %description From fb5ce51e944bd2ee55044ef96bfee154334a1ad3 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Thu, 25 Jun 2020 10:19:34 +0200 Subject: [PATCH 13/43] add python3-setuptools to BuildRequires --- python-tinycss2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 875d7e6..885bd5b 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -22,6 +22,7 @@ BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest BuildRequires: %{py3_prefix}-pytest-cov BuildRequires: %{py3_prefix}-pytest-runner +BuildRequires: %{py3_prefix}-setuptools BuildRequires: %{py3_prefix}-webencodings >= 0.4 %description @@ -69,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Thu Jun 25 2020 Felix Schwarz - 1.0.2-7 +- add python3-setuptools to BuildRequires + * Tue May 26 2020 Miro Hrončok - 1.0.2-6 - Rebuilt for Python 3.9 From e0e10b2d4295e4e5f292167e867e31c0490ff5d1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 04:19:03 +0000 Subject: [PATCH 14/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 885bd5b..8212a0e 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.0.2 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 1.0.2-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Thu Jun 25 2020 Felix Schwarz - 1.0.2-7 - add python3-setuptools to BuildRequires From db43cdd779b9ec90dfabd865237bfd3af3d4403f Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 7 Nov 2020 12:05:03 +0100 Subject: [PATCH 15/43] update to 1.1.0 --- .gitignore | 5 +- export-git-snapshot.sh | 22 +++++++ ...css2-disable-flake8-isort-for-pytest.patch | 57 ++++++++++--------- python-tinycss2.spec | 19 +++++-- sources | 3 +- 5 files changed, 72 insertions(+), 34 deletions(-) create mode 100755 export-git-snapshot.sh diff --git a/.gitignore b/.gitignore index e4f85a7..9bfd536 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/tinycss2-0.6.1.tar.gz -/tinycss2-1.0.1.tar.gz -/tinycss2-1.0.2.tar.gz +/tinycss2-*.tar.gz +/css-parsing-tests-*.tar.gz diff --git a/export-git-snapshot.sh b/export-git-snapshot.sh new file mode 100755 index 0000000..73b45f9 --- /dev/null +++ b/export-git-snapshot.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +PROJECT=css-parsing-tests +REPO=git@github.com:SimonSapin/css-parsing-tests.git + +githash=$1 +if [ -z "$githash" ]; then + echo "usage: $0 GITHASH" + exit 1 +fi + +shorthash=${githash:0:8} +outputfile="${PROJECT}"-$shorthash.tar.gz + +rm -rf "${PROJECT}"-temp +git clone "${REPO}" "${PROJECT}"-temp +cd "${PROJECT}"-temp + git archive --prefix="${PROJECT}"-$shorthash/ --format=tar ${githash} \ + | gzip --stdout > ../$outputfile +cd .. +rm -rf "${PROJECT}"-temp +echo "exported source code in $outputfile" diff --git a/python-tinycss2-disable-flake8-isort-for-pytest.patch b/python-tinycss2-disable-flake8-isort-for-pytest.patch index 6c48258..d7a114b 100644 --- a/python-tinycss2-disable-flake8-isort-for-pytest.patch +++ b/python-tinycss2-disable-flake8-isort-for-pytest.patch @@ -1,30 +1,35 @@ -diff --git a/setup.cfg b/setup.cfg -index b3b3c2d..944ca52 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -40,8 +40,6 @@ install_requires = - tests_require = - pytest-runner - pytest-cov -- pytest-flake8 -- pytest-isort - python_requires = >= 3.5 +diff --git a/pyproject.toml b/pyproject.toml +index 41535ed..30dbcd4 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -32,7 +32,7 @@ classifiers = [ - [options.package_data] -@@ -56,8 +54,6 @@ doc = - test = - pytest-runner - pytest-cov -- pytest-flake8 -- pytest-isort + [tool.flit.metadata.requires-extra] + doc = ['sphinx', 'sphinx_rtd_theme'] +-test = ['pytest', 'pytest-cov', 'pytest-flake8', 'pytest-isort', 'coverage[toml]'] ++test = ['pytest', 'pytest-cov', 'coverage[toml]'] - [bdist_wheel] - python-tag = py3 -@@ -70,7 +66,6 @@ build-dir = docs/_build - test = pytest + [tool.flit.metadata.urls] + Documentation = 'https://tinycss2.readthedocs.io/' +@@ -44,7 +44,7 @@ Donation = 'https://opencollective.com/courtbouillon' + exclude = ['.*'] - [tool:pytest] --addopts = --flake8 --isort - norecursedirs = build dist .cache .eggs .git + [tool.pytest.ini_options] +-addopts = '--isort --flake8 --cov' ++addopts = '--cov' + norecursedirs = ['tests/css-parsing-tests'] - [coverage:run] + [tool.coverage.run] +diff --git a/setup.py b/setup.py +index 8e8a09c..8901670 100644 +--- a/setup.py ++++ b/setup.py +@@ -16,8 +16,6 @@ extras_require = \ + {'doc': ['sphinx', 'sphinx_rtd_theme'], + 'test': ['pytest', + 'pytest-cov', +- 'pytest-flake8', +- 'pytest-isort', + 'coverage[toml]']} + + setup(name='tinycss2', diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 8212a0e..1428cb8 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,17 +6,24 @@ Name: python-%{srcname} -Version: 1.0.2 -Release: 8%{?dist} +Version: 1.1.0 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD URL: https://pypi.python.org/pypi/%{srcname}/ Source0: %pypi_source +Source1: export-git-snapshot.sh +# CSS parsing tests are governed by CC0 but not shipped in the final RPMs +# There are no releases for CSS parsing tests so the archive below was created +# with "export-git-snapshot.sh". +Source2: css-parsing-tests-c5749e5.tar.gz # Fedora does not ship pytest's flake8/isort modules Patch0: %{name}-disable-flake8-isort-for-pytest.patch BuildArch: noarch +BuildRequires: gzip +BuildRequires: tar # required to run the tests BuildRequires: %{py3_prefix}-devel BuildRequires: %{py3_prefix}-pytest @@ -44,7 +51,8 @@ specification. %prep %autosetup -n %{srcname}-%{version} - +tar xf "%{SOURCE2}" +cp -a css-parsing-tests-???????/* tests/css-parsing-tests/ %build %py3_build @@ -66,10 +74,13 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/ +%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info %changelog +* Sat Nov 07 2020 Felix Schwarz - 1.1.0-1 +- update to 1.1.0 + * Wed Jul 29 2020 Fedora Release Engineering - 1.0.2-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 223f815..24f65c7 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (tinycss2-1.0.2.tar.gz) = 69bdf52898f9e704c01fe5fd11170e0efc9a6aca14646f5331fc06ebbdf941f9b6c798ded7d93636c7b810b35c659750c3ece3917c5c9cef4092e3e17b382dd1 +SHA512 (tinycss2-1.1.0.tar.gz) = 218d28511802afc89a608def03084f5d460512a41d47280b5c8bfe72314c8ab3b14c98fbb0200bea6b8509c4d6f0107410d340e2d7f1830aaa92669a2699211e +SHA512 (css-parsing-tests-c5749e5.tar.gz) = afb0248a2941bcd18904ad2021da902697385d716256019b88ded22836df0ad76e53a76cc4232546f7c3a2421785b94befb057cf99a22b423d1051e38d8cd3f6 From 817699ec1f6e4f69d3c71d68049554fc35d03a08 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 27 Jan 2021 13:51:46 +0000 Subject: [PATCH 16/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 1428cb8..7f07e91 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -78,6 +78,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Nov 07 2020 Felix Schwarz - 1.1.0-1 - update to 1.1.0 From a8864e678c6b269730bed5a892112dfd9615c9c8 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 21:05:50 +0200 Subject: [PATCH 17/43] Rebuilt for Python 3.10 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 7f07e91..b9e1486 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -78,6 +78,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jun 04 2021 Python Maint - 1.1.0-3 +- Rebuilt for Python 3.10 + * Wed Jan 27 2021 Fedora Release Engineering - 1.1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 9a4f6fda8487c2d05a66b9daa7778be6bab2a457 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 27 Jul 2021 08:22:13 +0000 Subject: [PATCH 18/43] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index b9e1486..1c33b45 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -78,6 +78,10 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Tue Jul 27 2021 Fedora Release Engineering - 1.1.0-4 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Fri Jun 04 2021 Python Maint - 1.1.0-3 - Rebuilt for Python 3.10 From faa43997ae2c407ec2a5865b326b7d755ae31a1c Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 22 Nov 2021 21:18:29 +0100 Subject: [PATCH 19/43] update to 1.1.1 --- ...css2-disable-flake8-isort-for-pytest.patch | 27 +++--------- python-tinycss2.spec | 41 +++++++++---------- sources | 3 +- 3 files changed, 26 insertions(+), 45 deletions(-) diff --git a/python-tinycss2-disable-flake8-isort-for-pytest.patch b/python-tinycss2-disable-flake8-isort-for-pytest.patch index d7a114b..02efafe 100644 --- a/python-tinycss2-disable-flake8-isort-for-pytest.patch +++ b/python-tinycss2-disable-flake8-isort-for-pytest.patch @@ -1,35 +1,20 @@ diff --git a/pyproject.toml b/pyproject.toml -index 41535ed..30dbcd4 100644 +index 6050fbb..8981947 100644 --- a/pyproject.toml +++ b/pyproject.toml -@@ -32,7 +32,7 @@ classifiers = [ +@@ -41,13 +41,13 @@ Donation = 'https://opencollective.com/courtbouillon' - [tool.flit.metadata.requires-extra] + [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.metadata.urls] - Documentation = 'https://tinycss2.readthedocs.io/' -@@ -44,7 +44,7 @@ Donation = 'https://opencollective.com/courtbouillon' + [tool.flit.sdist] exclude = ['.*'] [tool.pytest.ini_options] --addopts = '--isort --flake8 --cov' -+addopts = '--cov' +-addopts = '--isort --flake8 --cov --no-cov-on-fail' ++addopts = '--cov --no-cov-on-fail' norecursedirs = ['tests/css-parsing-tests'] [tool.coverage.run] -diff --git a/setup.py b/setup.py -index 8e8a09c..8901670 100644 ---- a/setup.py -+++ b/setup.py -@@ -16,8 +16,6 @@ extras_require = \ - {'doc': ['sphinx', 'sphinx_rtd_theme'], - 'test': ['pytest', - 'pytest-cov', -- 'pytest-flake8', -- 'pytest-isort', - 'coverage[toml]']} - - setup(name='tinycss2', diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 1c33b45..490a04f 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,31 +6,23 @@ Name: python-%{srcname} -Version: 1.1.0 -Release: 4%{?dist} +Version: 1.1.1 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD URL: https://pypi.python.org/pypi/%{srcname}/ Source0: %pypi_source -Source1: export-git-snapshot.sh -# CSS parsing tests are governed by CC0 but not shipped in the final RPMs -# There are no releases for CSS parsing tests so the archive below was created -# with "export-git-snapshot.sh". -Source2: css-parsing-tests-c5749e5.tar.gz # Fedora does not ship pytest's flake8/isort modules Patch0: %{name}-disable-flake8-isort-for-pytest.patch BuildArch: noarch -BuildRequires: gzip -BuildRequires: tar -# required to run the tests -BuildRequires: %{py3_prefix}-devel -BuildRequires: %{py3_prefix}-pytest -BuildRequires: %{py3_prefix}-pytest-cov -BuildRequires: %{py3_prefix}-pytest-runner -BuildRequires: %{py3_prefix}-setuptools -BuildRequires: %{py3_prefix}-webencodings >= 0.4 +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 + %description tinycss2 is a modern, low-level CSS parser for Python. tinycss2 is a rewrite of @@ -51,19 +43,21 @@ specification. %prep %autosetup -n %{srcname}-%{version} -tar xf "%{SOURCE2}" -cp -a css-parsing-tests-???????/* tests/css-parsing-tests/ + +%generate_buildrequires +%pyproject_buildrequires -r -x test + %build -%py3_build +%pyproject_wheel %install -%py3_install +%pyproject_install %check -%{__python3} -m pytest -v +%{pytest} # remove files which are only required for unit tests (including test.pyc/.pyo) rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/css-parsing-tests rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/test.py @@ -74,10 +68,13 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %license LICENSE %doc README.rst %{python3_sitelib}/%{srcname}/ -%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info +%{python3_sitelib}/%{srcname}-%{version}.dist-info/ %changelog +* Mon Nov 22 2021 Felix Schwarz - 1.1.1-1 +- update to 1.1.1 + * Tue Jul 27 2021 Fedora Release Engineering - 1.1.0-4 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 24f65c7..20c128b 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (tinycss2-1.1.0.tar.gz) = 218d28511802afc89a608def03084f5d460512a41d47280b5c8bfe72314c8ab3b14c98fbb0200bea6b8509c4d6f0107410d340e2d7f1830aaa92669a2699211e -SHA512 (css-parsing-tests-c5749e5.tar.gz) = afb0248a2941bcd18904ad2021da902697385d716256019b88ded22836df0ad76e53a76cc4232546f7c3a2421785b94befb057cf99a22b423d1051e38d8cd3f6 +SHA512 (tinycss2-1.1.1.tar.gz) = 297ac51cf4eb9a063e88d677b8cf2511ff6c459c7a385ee8ba6bb4b9d9b0d8482f5caa1cc6511d3edefbe8e8ee284d72fedc154a5372880cd7d9a9a26aab1a62 From d75d9403f65403433370eb055b162117394bb906 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jan 2022 16:03:58 +0000 Subject: [PATCH 20/43] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 490a04f..588fe74 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -72,6 +72,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jan 21 2022 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Mon Nov 22 2021 Felix Schwarz - 1.1.1-1 - update to 1.1.1 From e9433b87c6ce24ec2cc41921624d135d4bd517e1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 23:56:25 +0200 Subject: [PATCH 21/43] Rebuilt for Python 3.11 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 588fe74..298f6ac 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -72,6 +72,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon Jun 13 2022 Python Maint - 1.1.1-3 +- Rebuilt for Python 3.11 + * Fri Jan 21 2022 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 0b131934d911ef134e8e17ebdafb9f17e5b93c17 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 22 Jul 2022 22:58:00 +0000 Subject: [PATCH 22/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 298f6ac..da0ed1c 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -72,6 +72,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jul 22 2022 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 1.1.1-3 - Rebuilt for Python 3.11 From e420aeeb81a78ec0339345349d37c74ede63518e Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Mon, 17 Oct 2022 21:29:52 +0200 Subject: [PATCH 23/43] update to 1.2.1 --- ...css2-disable-flake8-isort-for-pytest.patch | 20 ------------------- python-tinycss2.spec | 9 +++++---- sources | 2 +- 3 files changed, 6 insertions(+), 25 deletions(-) delete mode 100644 python-tinycss2-disable-flake8-isort-for-pytest.patch diff --git a/python-tinycss2-disable-flake8-isort-for-pytest.patch b/python-tinycss2-disable-flake8-isort-for-pytest.patch deleted file mode 100644 index 02efafe..0000000 --- a/python-tinycss2-disable-flake8-isort-for-pytest.patch +++ /dev/null @@ -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] diff --git a/python-tinycss2.spec b/python-tinycss2.spec index da0ed1c..b413a59 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,15 +6,13 @@ Name: python-%{srcname} -Version: 1.1.1 -Release: 4%{?dist} +Version: 1.2.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 BuildArch: noarch BuildRequires: python3-devel @@ -72,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Tue Oct 18 2022 Felix Schwarz - 1.2.1-1 +- update to 1.2.1 + * Fri Jul 22 2022 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild diff --git a/sources b/sources index 20c128b..fc1e043 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-1.1.1.tar.gz) = 297ac51cf4eb9a063e88d677b8cf2511ff6c459c7a385ee8ba6bb4b9d9b0d8482f5caa1cc6511d3edefbe8e8ee284d72fedc154a5372880cd7d9a9a26aab1a62 +SHA512 (tinycss2-1.2.1.tar.gz) = 633198637f1d7cb802d1a7336a01447fc6b902cda1ade6c526e403fc2a5319277e1457c68a06780f7a6254d4c0dbf42df5d32969536ea697887a2de3e98a5f1a From 7b2c4b24e04ef3238659914d0687de71e7218d11 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 17:56:48 +0000 Subject: [PATCH 24/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index b413a59..3c9226e 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -70,6 +70,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Tue Oct 18 2022 Felix Schwarz - 1.2.1-1 - update to 1.2.1 From b79f0515100b3230608d577f4e9e46b97b532756 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 15 May 2023 14:41:05 +0200 Subject: [PATCH 25/43] Drop redundant build dependency on flit, this package uses flit-core And that dependency is already generated by %pyproject_buildrequires. --- python-tinycss2.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 3c9226e..177493c 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -17,9 +17,6 @@ Source0: %pypi_source 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 %description @@ -70,6 +67,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon May 15 2023 Miro Hrončok - 1.2.1-3 +- Drop redundant build dependency on flit, this package uses flit-core + * Fri Jan 20 2023 Fedora Release Engineering - 1.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From fc8bd550c9de788230989f8c796ae0a147a5bb06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Sat, 1 Jul 2023 16:12:12 +0200 Subject: [PATCH 26/43] Don't BuildRequire linters --- python-tinycss2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 177493c..3aff3e8 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -18,6 +18,9 @@ BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros +# The test extra contains linters, we cherry-pick only what we need: +BuildRequires: python3-pytest + %description tinycss2 is a modern, low-level CSS parser for Python. tinycss2 is a rewrite of @@ -39,8 +42,9 @@ specification. %prep %autosetup -n %{srcname}-%{version} + %generate_buildrequires -%pyproject_buildrequires -r -x test +%pyproject_buildrequires -r %build From 91fab90f0c77798a236fe0df26dc32748d6eb624 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Sat, 1 Jul 2023 16:12:45 +0200 Subject: [PATCH 27/43] Rebuilt for Python 3.12 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 3aff3e8..8146287 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Sat Jul 01 2023 Python Maint - 1.2.1-4 +- Rebuilt for Python 3.12 + * Mon May 15 2023 Miro Hrončok - 1.2.1-3 - Drop redundant build dependency on flit, this package uses flit-core From c8dbfe842aa108d24bd4eb0f8610ada97dc3522d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 14:49:21 +0000 Subject: [PATCH 28/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 8146287..cd7a22c 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 1.2.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Jul 01 2023 Python Maint - 1.2.1-4 - Rebuilt for Python 3.12 From 54709ba8c32f7680016c8905b02747c8c05011b0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 08:14:26 +0000 Subject: [PATCH 29/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index cd7a22c..033ba8d 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 1.2.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jul 21 2023 Fedora Release Engineering - 1.2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From dee80597e7e560b17d7edc72aaf2b7e83e5713b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 26 Jan 2024 11:46:34 +0000 Subject: [PATCH 30/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 033ba8d..1af555d 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.2.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jan 26 2024 Fedora Release Engineering - 1.2.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 1.2.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 07379136087046ce34734b57b810fa4e4883058e Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Tue, 23 Apr 2024 18:18:07 +0200 Subject: [PATCH 31/43] update to 1.3.0 --- python-tinycss2.spec | 7 +++++-- sources | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 1af555d..3812ff8 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,8 +6,8 @@ Name: python-%{srcname} -Version: 1.2.1 -Release: 7%{?dist} +Version: 1.3.0 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Tue Apr 23 2024 Felix Schwarz - 1.3.0-1 +- update to 1.3.0 + * Fri Jan 26 2024 Fedora Release Engineering - 1.2.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index fc1e043..c0214e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-1.2.1.tar.gz) = 633198637f1d7cb802d1a7336a01447fc6b902cda1ade6c526e403fc2a5319277e1457c68a06780f7a6254d4c0dbf42df5d32969536ea697887a2de3e98a5f1a +SHA512 (tinycss2-1.3.0.tar.gz) = d215ba2d8c580ca785bc2c3e33c8ae220c085e3ec1b932c01f81e176987c48559867af186056e2c501541d1d337b4fc33eea7ff2feba490e81076608b7c3aaee From a6c456e1c9cadebd8a512087be3321951d6e92c0 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 15:09:59 +0200 Subject: [PATCH 32/43] Rebuilt for Python 3.13 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 3812ff8..7dab802 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.3.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jun 07 2024 Python Maint - 1.3.0-2 +- Rebuilt for Python 3.13 + * Tue Apr 23 2024 Felix Schwarz - 1.3.0-1 - update to 1.3.0 From e548e79823b5609981c0314c970b9251ad7e94e2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 16:32:10 +0000 Subject: [PATCH 33/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 7dab802..fb65f7f 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.3.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 07 2024 Python Maint - 1.3.0-2 - Rebuilt for Python 3.13 From 9e10c13f99d9ba98f2e18e246cfd5b78edc62512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 21:01:06 +0200 Subject: [PATCH 34/43] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- python-tinycss2.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index fb65f7f..b7ac1f5 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,10 +7,11 @@ Name: python-%{srcname} Version: 1.3.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD URL: https://pypi.python.org/pypi/%{srcname}/ Source0: %pypi_source @@ -71,6 +72,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Wed Sep 04 2024 Miroslav Suchý - 1.3.0-4 +- convert license to SPDX + * Fri Jul 19 2024 Fedora Release Engineering - 1.3.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 7462bc554c71859b4a810a6cf9a082b6c0622136 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sat, 26 Oct 2024 21:44:39 +0200 Subject: [PATCH 35/43] update to 1.4.0 --- python-tinycss2.spec | 17 +++++++++++------ sources | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index b7ac1f5..c3ee3f7 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,14 +6,13 @@ Name: python-%{srcname} -Version: 1.3.0 -Release: 4%{?dist} +Version: 1.4.0 +Release: 1%{?dist} Summary: Low-level CSS parser for Python -# Automatically converted from old format: BSD - review is highly recommended. -License: LicenseRef-Callaway-BSD -URL: https://pypi.python.org/pypi/%{srcname}/ -Source0: %pypi_source +License: BSD-3-Clause +URL: https://www.courtbouillon.org/tinycss2/ +Source0: %{pypi_source tinycss2} BuildArch: noarch BuildRequires: python3-devel @@ -72,6 +71,12 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Sat Oct 26 2024 Felix Schwarz - 1.4.0-1 +- update to 1.4.0 + +* Sat Oct 26 2024 Felix Schwarz - 1.3.0-5 +- SPDX conversion + * Wed Sep 04 2024 Miroslav Suchý - 1.3.0-4 - convert license to SPDX diff --git a/sources b/sources index c0214e7..37d5977 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tinycss2-1.3.0.tar.gz) = d215ba2d8c580ca785bc2c3e33c8ae220c085e3ec1b932c01f81e176987c48559867af186056e2c501541d1d337b4fc33eea7ff2feba490e81076608b7c3aaee +SHA512 (tinycss2-1.4.0.tar.gz) = be0faac6fc55113c4a110d6cd23714867f3f4c33829cadcc8619b1c7b801bc009501cd0f0f7b3d21040129526633ef1f956ef6cb2ca8955d32f2b0b11f875d92 From a28f1875738bdac9f83ec2abaac95c7b23a5769e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 20:07:40 +0000 Subject: [PATCH 36/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index c3ee3f7..0b51a4e 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 1.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Sat Oct 26 2024 Felix Schwarz - 1.4.0-1 - update to 1.4.0 From 9da753dbdc8556fb147fc795bcf2f72f73551111 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 11:56:03 +0200 Subject: [PATCH 37/43] Rebuilt for Python 3.14 --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 0b51a4e..fc11964 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.4.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Tue Jun 03 2025 Python Maint - 1.4.0-3 +- Rebuilt for Python 3.14 + * Sat Jan 18 2025 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 3035d7f87e582e8d5f00c7965cd1df13b8114fa0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 10:47:23 +0000 Subject: [PATCH 38/43] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index fc11964..b45e0d0 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.4.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Jun 03 2025 Python Maint - 1.4.0-3 - Rebuilt for Python 3.14 From ce652d6adce07d1982b2322c32cce1a20c89d1df Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 15:01:19 +0200 Subject: [PATCH 39/43] Rebuilt for Python 3.14.0rc2 bytecode --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index b45e0d0..535beb4 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.4.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Aug 15 2025 Python Maint - 1.4.0-5 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 1bfb4667abca4e97d4ecb6f4f64dff2170f427c7 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 14:36:56 +0200 Subject: [PATCH 40/43] Rebuilt for Python 3.14.0rc3 bytecode --- python-tinycss2.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 535beb4..ccb6738 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -7,7 +7,7 @@ Name: python-%{srcname} Version: 1.4.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause @@ -71,6 +71,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Fri Sep 19 2025 Python Maint - 1.4.0-6 +- Rebuilt for Python 3.14.0rc3 bytecode + * Fri Aug 15 2025 Python Maint - 1.4.0-5 - Rebuilt for Python 3.14.0rc2 bytecode From 4929a28105019c4220b538127491114811eeaafb Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Wed, 19 Nov 2025 16:43:50 +0100 Subject: [PATCH 41/43] update to 1.5.0 --- python-tinycss2.spec | 12 +++++++++--- sources | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index ccb6738..adb51e2 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -6,13 +6,15 @@ Name: python-%{srcname} -Version: 1.4.0 -Release: 6%{?dist} +Version: 1.5.0 +Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause URL: https://www.courtbouillon.org/tinycss2/ Source0: %{pypi_source tinycss2} +# generated using ./export-git-snapshot.sh +Source1: css-parsing-tests-88fc3fc.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -40,7 +42,8 @@ specification. %prep -%autosetup -n %{srcname}-%{version} +%autosetup -n %{srcname}-%{version} -a 1 +mv css-parsing-tests-*/* tests/css-parsing-tests/ %generate_buildrequires @@ -71,6 +74,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Wed Nov 19 2025 Felix Schwarz - 1.5.0-1 +- update to 1.5.0 + * Fri Sep 19 2025 Python Maint - 1.4.0-6 - Rebuilt for Python 3.14.0rc3 bytecode diff --git a/sources b/sources index 37d5977..5352f9f 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (tinycss2-1.4.0.tar.gz) = be0faac6fc55113c4a110d6cd23714867f3f4c33829cadcc8619b1c7b801bc009501cd0f0f7b3d21040129526633ef1f956ef6cb2ca8955d32f2b0b11f875d92 +SHA512 (css-parsing-tests-88fc3fc.tar.gz) = 5278bc71cf0972a04ece4fe722dbdf0712af74c9fbccbf8a79143607ff57691b1075afe9e0c51eb4e7238cd846e92788b8715b5551973384948ba9d376b0fd3a +SHA512 (tinycss2-1.5.0.tar.gz) = 1478270757a9f09abcb1ffa1d41ab382061a427f629dc92b20473f78f57f59d8ca7dc9ae41154ae0b62cc6fbc923b118446293f87cc1e31d0747502e4b7413f9 From 52e9a15fdc78b414aeb953939a64d2a06113343f Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 23 Nov 2025 16:46:19 +0100 Subject: [PATCH 42/43] replace `%{py3_prefix}` with just `python3` --- python-tinycss2.spec | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index adb51e2..0dee2fe 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -1,10 +1,6 @@ %global srcname tinycss2 - -%global py3_prefix python%{python3_pkgversion} - - Name: python-%{srcname} Version: 1.5.0 Release: 1%{?dist} @@ -30,12 +26,12 @@ 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}} +Requires: python3-webencodings >= 0.4 +%{?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. @@ -66,7 +62,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}/ From 0970c37c9d9bbab10f43c9f0ce6f0770cf404c60 Mon Sep 17 00:00:00 2001 From: Felix Schwarz Date: Sun, 23 Nov 2025 16:47:05 +0100 Subject: [PATCH 43/43] update to 1.5.1 --- python-tinycss2.spec | 11 +++++------ sources | 3 +-- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/python-tinycss2.spec b/python-tinycss2.spec index 0dee2fe..86e7708 100644 --- a/python-tinycss2.spec +++ b/python-tinycss2.spec @@ -2,15 +2,13 @@ %global srcname tinycss2 Name: python-%{srcname} -Version: 1.5.0 +Version: 1.5.1 Release: 1%{?dist} Summary: Low-level CSS parser for Python License: BSD-3-Clause URL: https://www.courtbouillon.org/tinycss2/ Source0: %{pypi_source tinycss2} -# generated using ./export-git-snapshot.sh -Source1: css-parsing-tests-88fc3fc.tar.gz BuildArch: noarch BuildRequires: python3-devel @@ -28,7 +26,6 @@ specification. %package -n python3-%{srcname} Summary: Low-level CSS parser for Python 3 -Requires: python3-webencodings >= 0.4 %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} @@ -38,8 +35,7 @@ specification. %prep -%autosetup -n %{srcname}-%{version} -a 1 -mv css-parsing-tests-*/* tests/css-parsing-tests/ +%autosetup -n %{srcname}-%{version} %generate_buildrequires @@ -70,6 +66,9 @@ rm -rf %{buildroot}%{python3_sitelib}/%{srcname}/__pycache__/test.*.py? %changelog +* Sun Nov 23 2025 Felix Schwarz - 1.5.1-1 +- update to 1.5.1 + * Wed Nov 19 2025 Felix Schwarz - 1.5.0-1 - update to 1.5.0 diff --git a/sources b/sources index 5352f9f..236d2ad 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (css-parsing-tests-88fc3fc.tar.gz) = 5278bc71cf0972a04ece4fe722dbdf0712af74c9fbccbf8a79143607ff57691b1075afe9e0c51eb4e7238cd846e92788b8715b5551973384948ba9d376b0fd3a -SHA512 (tinycss2-1.5.0.tar.gz) = 1478270757a9f09abcb1ffa1d41ab382061a427f629dc92b20473f78f57f59d8ca7dc9ae41154ae0b62cc6fbc923b118446293f87cc1e31d0747502e4b7413f9 +SHA512 (tinycss2-1.5.1.tar.gz) = 1c2e1818c27c90f78b1e0af9b4c3c2a0944999691dcea678d0f5ed8a141d6ebd272b8b6763c1eac9d824db0d539e1e238f1e5e6abd2c02d97bb86002da637a10