Compare commits
47 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9c933057a5 | ||
| b1ddfc7a67 | |||
|
|
cf76714eba | ||
| c53d97d231 | |||
| f5ef1f00bc | |||
|
|
5d312000eb | ||
| a81b0ff2a5 | |||
|
|
b80060c09b | ||
|
|
92594aaf1f | ||
| 381e53f562 | |||
|
|
37cfa23b75 | ||
|
|
cb095e65e8 | ||
| d5e7b20af5 | |||
| 43736eea94 | |||
| 2abf0e9719 | |||
| 6c6b9f4fdb | |||
|
|
347ae0818f | ||
| 6a4d29d9b9 | |||
|
|
21e6514d49 | ||
| 21ced46f40 | |||
|
|
d4a86ce346 | ||
| 577206b1f1 | |||
| 02ea6e0f80 | |||
| 59d62d5272 | |||
| 44343664a8 | |||
| 512f563c36 | |||
| 2150d8fe9e | |||
| 7b09dad3de | |||
| 4b6acaca0e | |||
| 5c6be48647 | |||
| 904cc25614 | |||
|
|
0365836691 | ||
| e1713b0943 | |||
| 825d643da0 | |||
| 9e63eb3cb1 | |||
| 20c9238945 | |||
| e7fa44c9d1 | |||
| 66d7328fb2 | |||
| 7b0a32ba25 | |||
|
|
8bc5369d8d | ||
| b1b5cc6f52 | |||
| 48fdf71c14 | |||
| 811a1140a7 | |||
|
|
3d709d6c97 | ||
| dcd5d6e5e6 | |||
|
|
c58cab5896 | ||
| e96113750e |
4 changed files with 145 additions and 37 deletions
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (weasyprint-54.3.tar.gz) = 4b11a2fedb2ae41b0752093a9af26c23122337ade0289e36045c2e666677f2234c43f27f12d22d571365294705458c7b34f8b2656ab3d9337f145d5b0292e92b
|
||||
SHA512 (weasyprint-69.0.tar.gz) = fb56d7f6173f8a67f8ef4c31408c03625b0a774d0efde003f779e3da054737c88afe9f44ee40b6dda5fc92cfacfa5709d4d96bf1a112862d309eaf2d93881ef6
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index b7564a4..303fef2 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -61,7 +61,7 @@ weasyprint = 'weasyprint.__main__:main'
|
||||
exclude = ['.*', 'tests/results']
|
||||
|
||||
[tool.pytest.ini_options]
|
||||
-addopts = '--isort --flake8 --cov --no-cov-on-fail'
|
||||
+addopts = '--cov --no-cov-on-fail'
|
||||
|
||||
[tool.coverage.run]
|
||||
branch = true
|
||||
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/pyproject.toml b/pyproject.toml
|
||||
index 899e7a6..888daa9 100644
|
||||
--- a/pyproject.toml
|
||||
+++ b/pyproject.toml
|
||||
@@ -52,7 +52,7 @@ 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', 'pytest-flake8', 'pytest-isort']
|
||||
|
||||
[project.scripts]
|
||||
weasyprint = 'weasyprint.__main__:main'
|
||||
154
weasyprint.spec
154
weasyprint.spec
|
|
@ -2,15 +2,13 @@
|
|||
%global srcname weasyprint
|
||||
|
||||
Name: weasyprint
|
||||
Version: 54.3
|
||||
Release: 1%{?dist}
|
||||
Version: 69.0
|
||||
Release: 2%{?dist}
|
||||
Summary: Utility to render HTML and CSS to PDF
|
||||
|
||||
License: BSD
|
||||
URL: https://weasyprint.org/
|
||||
Source0: %pypi_source
|
||||
Patch0: %{name}-disable-flake8-isort-for-pytest.patch
|
||||
Patch1: %{name}-remove-dependency-coverage-toml.patch
|
||||
License: BSD-3-Clause
|
||||
URL: https://weasyprint.org
|
||||
Source0: %{pypi_source weasyprint}
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
|
|
@ -18,12 +16,15 @@ 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
|
||||
BuildRequires: python3dist(flit-core)
|
||||
# requirements for testing
|
||||
BuildRequires: dejavu-fonts-all
|
||||
BuildRequires: google-noto-emoji-fonts
|
||||
BuildRequires: ghostscript
|
||||
# https://doc.courtbouillon.org/weasyprint/latest/first_steps.html
|
||||
BuildRequires: pango >= 1.44.0
|
||||
BuildRequires: python3dist(pytest)
|
||||
BuildRequires: python3dist(pytest-xdist)
|
||||
|
||||
Requires: python3-weasyprint = %{version}-%{release}
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ can export to PDF. It aims to support web standards for printing.
|
|||
%autosetup -p1 -n %{srcname}-%{version}
|
||||
|
||||
%generate_buildrequires
|
||||
%pyproject_buildrequires -r -x test
|
||||
%pyproject_buildrequires -r
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
|
@ -60,7 +61,7 @@ can export to PDF. It aims to support web standards for printing.
|
|||
%pyproject_install
|
||||
|
||||
%check
|
||||
pytest-3
|
||||
%pytest -n auto
|
||||
# do not ship tests
|
||||
rm -rf %{buildroot}%{python3_sitelib}/%{modname}/tests
|
||||
|
||||
|
|
@ -76,6 +77,139 @@ rm -rf %{buildroot}%{python3_sitelib}/%{modname}/tests
|
|||
%{python3_sitelib}/%{modname}/
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 69.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Thu Jun 11 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 69.0-1
|
||||
- update to 69.0
|
||||
|
||||
* Fri Jun 05 2026 Python Maint <python-maint@redhat.com> - 68.1-2
|
||||
- Rebuilt for Python 3.15
|
||||
|
||||
* Sat Feb 07 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 68.1-1
|
||||
- update to 68.1
|
||||
|
||||
* Tue Jan 20 2026 Felix Schwarz <fschwarz@fedoraproject.org> - 68.0-1
|
||||
- update to 68.0
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 67.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Wed Dec 03 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 67.0-1
|
||||
- update to 67.0
|
||||
|
||||
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 66.0-3
|
||||
- Rebuilt for Python 3.14.0rc3 bytecode
|
||||
|
||||
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 66.0-2
|
||||
- Rebuilt for Python 3.14.0rc2 bytecode
|
||||
|
||||
* Mon Jul 28 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 66.0-1
|
||||
- update to 66.0
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 65.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 65.1-2
|
||||
- Rebuilt for Python 3.14
|
||||
|
||||
* Mon Apr 14 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 65.1-1
|
||||
- update to 65.1
|
||||
|
||||
* Sun Mar 23 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 65.0-1
|
||||
- update to 65.0
|
||||
|
||||
* Wed Mar 05 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 64.1-1
|
||||
- update to 64.1
|
||||
|
||||
* Thu Jan 30 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 64.0-1
|
||||
- update to 64.0
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 63.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jan 11 2025 Felix Schwarz <fschwarz@fedoraproject.org> - 63.1-1
|
||||
- update to 63.1
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 62.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Mon Jun 24 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 62.3-1
|
||||
- update to 62.3
|
||||
|
||||
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 62.2-2
|
||||
- Rebuilt for Python 3.13
|
||||
|
||||
* Tue Jun 04 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 62.2-1
|
||||
- update to 62.2
|
||||
|
||||
* Mon May 06 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 62.1-1
|
||||
- update to 62.1
|
||||
|
||||
* Thu May 02 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 62.0-1
|
||||
- update to 62.0
|
||||
|
||||
* Sat Mar 09 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 61.2-1
|
||||
- update to 61.2
|
||||
|
||||
* Mon Feb 26 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 61.1-1
|
||||
- update to 61.1
|
||||
|
||||
* Mon Feb 12 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 61.0-1
|
||||
- update to 61.0
|
||||
|
||||
* Thu Jan 25 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 60.2-2
|
||||
- use just flit-core as build dependency
|
||||
|
||||
* Tue Dec 12 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 60.2-1
|
||||
- update to 60.2
|
||||
|
||||
* Thu Oct 05 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 60.1-1
|
||||
- update to 60.1
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 59.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sun Jul 09 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 59.0-2
|
||||
- add patch so the test suite passes for Python 3.12
|
||||
|
||||
* Thu May 11 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 59.0-1
|
||||
- update to 59.0
|
||||
|
||||
* Sat Apr 15 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 58.1-2
|
||||
- SPDX migration
|
||||
- make tests pass with pydyf 0.6
|
||||
|
||||
* Tue Mar 07 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 58.1-1
|
||||
- update to 58.1
|
||||
|
||||
* Fri Feb 17 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 58.0-1
|
||||
- update to 58.0
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 57.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Dec 27 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 57.2-1
|
||||
- update to 57.2
|
||||
|
||||
* Sat Nov 05 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 57.1-1
|
||||
- update to 57.1
|
||||
|
||||
* Mon Jul 25 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 56.1-1
|
||||
- update to 56.1
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 56.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu Jul 07 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 56.0-1
|
||||
- update to 56.0
|
||||
|
||||
* Mon Jun 20 2022 Python Maint <python-maint@redhat.com> - 55.0-2
|
||||
- Rebuilt for Python 3.11
|
||||
|
||||
* Thu May 12 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 55.0-1
|
||||
- update to 55.0
|
||||
|
||||
* Mon Apr 04 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 54.3-1
|
||||
- update to 54.3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue