|
|
55a0212 |
|
|
|
55a0212 |
%global pypi_name pydyf
|
|
|
55a0212 |
|
|
|
55a0212 |
Name: python-pydyf
|
|
|
3a8249d |
Version: 0.10.0
|
|
|
019aabd |
Release: 1%{?dist}
|
|
|
ff4abb3 |
Summary: Low-level PDF creator
|
|
|
55a0212 |
# The test suite is released under the AGPL but we are not shipping any test
|
|
|
55a0212 |
# code in the "binary" (noarch) RPM so we can just use the 3-clause BSD.
|
|
|
ff4abb3 |
License: BSD-3-Clause
|
|
|
55a0212 |
URL: https://www.courtbouillon.org/pydyf
|
|
|
55a0212 |
Source0: %{pypi_source}
|
|
|
55a0212 |
# remove some dependency/pytest options which are mostly useful for developers
|
|
|
55a0212 |
# (e.g. style checks) but may cause unnecessary issues for distro-level testing
|
|
|
55a0212 |
Patch0: %{name}-no-developer-testing-options.patch
|
|
|
55a0212 |
|
|
|
55a0212 |
BuildArch: noarch
|
|
|
55a0212 |
|
|
|
55a0212 |
BuildRequires: python3-devel
|
|
|
55a0212 |
BuildRequires: pyproject-rpm-macros
|
|
|
55a0212 |
# used as "build-backend" in pyproject.toml but not detected by Fedora's
|
|
|
55a0212 |
# macros to generate build requirements
|
|
|
9e0d502 |
BuildRequires: python3dist(flit-core)
|
|
|
55a0212 |
# test suite calls the "gs" binary to verify outputs, not detectable by
|
|
|
55a0212 |
# Fedora's macros
|
|
|
55a0212 |
BuildRequires: ghostscript
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%description
|
|
|
55a0212 |
pydyf is a low-level PDF generator written in Python and based on PDF
|
|
|
55a0212 |
specification 1.7.
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%package -n python3-%{pypi_name}
|
|
|
55a0212 |
Summary: %{summary}
|
|
|
55a0212 |
|
|
|
55a0212 |
%description -n python3-%{pypi_name}
|
|
|
55a0212 |
pydyf is a low-level PDF generator written in Python and based on PDF
|
|
|
55a0212 |
specification 1.7.
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%prep
|
|
|
55a0212 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
55a0212 |
|
|
|
55a0212 |
%generate_buildrequires
|
|
|
55a0212 |
%pyproject_buildrequires -r -x test
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%build
|
|
|
55a0212 |
%pyproject_wheel
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%install
|
|
|
55a0212 |
%pyproject_install
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%check
|
|
|
55a0212 |
%pytest
|
|
|
55a0212 |
|
|
|
55a0212 |
%files -n python3-%{pypi_name}
|
|
|
55a0212 |
%license LICENSE
|
|
|
55a0212 |
%doc README.rst
|
|
|
55a0212 |
%{python3_sitelib}/%{pypi_name}/
|
|
|
55a0212 |
%{python3_sitelib}/%{pypi_name}-%{version}.dist-info/
|
|
|
55a0212 |
|
|
|
55a0212 |
|
|
|
55a0212 |
%changelog
|
|
|
3a8249d |
* Tue Apr 30 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.10.0-1
|
|
|
3a8249d |
- update to 0.10.0
|
|
|
3a8249d |
|
|
|
019aabd |
* Mon Feb 26 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.9.0-1
|
|
|
019aabd |
- update to 0.9.0
|
|
|
019aabd |
|
|
|
9e0d502 |
* Thu Jan 25 2024 Felix Schwarz <fschwarz@fedoraproject.org> - 0.8.0-3
|
|
|
9e0d502 |
- use just flit-core as build dependency
|
|
|
9e0d502 |
|
|
|
c2b3a1c |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2
|
|
|
c2b3a1c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c2b3a1c |
|
|
|
759b2a1 |
* Thu Oct 05 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 0.8.0-1
|
|
|
759b2a1 |
- update to 0.8.0
|
|
|
759b2a1 |
|
|
|
6786bb1 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-2
|
|
|
6786bb1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
6786bb1 |
|
|
|
6072cc4 |
* Thu Jul 06 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 0.7.0-1
|
|
|
6072cc4 |
- update to 0.7.0
|
|
|
6072cc4 |
|
|
|
45e3508 |
* Thu Jun 29 2023 Python Maint <python-maint@redhat.com> - 0.6.0-3
|
|
|
45e3508 |
- Rebuilt for Python 3.12
|
|
|
45e3508 |
|
|
|
ff4abb3 |
* Fri Apr 14 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 0.6.0-2
|
|
|
ff4abb3 |
- SPDX migration
|
|
|
ff4abb3 |
|
|
|
a1f4eb3 |
* Wed Mar 29 2023 Felix Schwarz <fschwarz@fedoraproject.org> - 0.6.0-1
|
|
|
a1f4eb3 |
- update to 0.6.0
|
|
|
a1f4eb3 |
|
|
|
cc51cbf |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
cc51cbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
cc51cbf |
|
|
|
62155b6 |
* Wed Oct 12 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.5.0-1
|
|
|
62155b6 |
- update to 0.5.0
|
|
|
62155b6 |
|
|
|
e4f9b75 |
* Mon Sep 19 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.3.0-1
|
|
|
e4f9b75 |
- update to 0.3.0
|
|
|
e4f9b75 |
|
|
|
c30df5c |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
|
|
|
c30df5c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
c30df5c |
|
|
|
3a77734 |
* Thu Jul 07 2022 Felix Schwarz <fschwarz@fedoraproject.org> - 0.2.0-1
|
|
|
3a77734 |
- update to 0.2.0
|
|
|
3a77734 |
|
|
|
8244195 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.0.3-3
|
|
|
8244195 |
- Rebuilt for Python 3.11
|
|
|
8244195 |
|
|
|
7755bfd |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.3-2
|
|
|
7755bfd |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
7755bfd |
|
|
|
bdb4f44 |
* Sun Aug 01 2021 Felix Schwarz <fschwarz@fedoraproject.org> - 0.0.3-1
|
|
|
bdb4f44 |
- update to 0.0.3
|
|
|
bdb4f44 |
|
|
|
a1f334f |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.0.2-4
|
|
|
a1f334f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
a1f334f |
|
|
|
ba3a741 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.0.2-3
|
|
|
ba3a741 |
- Rebuilt for Python 3.10
|
|
|
ba3a741 |
|
|
|
55a0212 |
* Sun Apr 18 2021 Felix Schwarz <fschwarz@fedoraproject.org> 0.0.2-2
|
|
|
55a0212 |
- updated according to review comments
|
|
|
55a0212 |
|
|
|
55a0212 |
* Sun Apr 18 2021 Felix Schwarz <fschwarz@fedoraproject.org> 0.0.2-1
|
|
|
55a0212 |
- initial package
|
|
|
55a0212 |
|