| |
@@ -2,12 +2,21 @@
|
| |
|
| |
Name: python-%{pypi_name}
|
| |
Version: 5.6.0
|
| |
- Release: 3%{?dist}
|
| |
+ Release: 4%{?dist}
|
| |
Summary: Converting Jupyter Notebooks
|
| |
|
| |
License: BSD and MIT
|
| |
URL: http://jupyter.org
|
| |
Source0: %pypi_source
|
| |
+
|
| |
+ # Compatibility with Inkscape 1.0rc1+
|
| |
+ # https://github.com/jupyter/nbconvert/pull/1247
|
| |
+ Patch1: inkscape-1.0rc1.patch
|
| |
+
|
| |
+ # Python 3.9 compatibility
|
| |
+ Patch2: https://github.com/jupyter/nbconvert/commit/d9a893bf60.patch
|
| |
+ Patch3: https://github.com/jupyter/nbconvert/commit/f072d782dd.patch
|
| |
+
|
| |
BuildArch: noarch
|
| |
|
| |
BuildRequires: python3-pandocfilters
|
| |
@@ -46,6 +55,8 @@
|
| |
#BuildRequires: python3-pebble -- not yet packaged
|
| |
BuildRequires: python3-pytest
|
| |
#BuildRequires: texlive-xetex -- those are failing for now
|
| |
+ BuildRequires: inkscape
|
| |
+ BuildRequires: pandoc
|
| |
%endif
|
| |
|
| |
|
| |
@@ -60,7 +71,8 @@
|
| |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
| |
|
| |
Requires: %{py3_dist setuptools}
|
| |
- %{?python_enable_dependency_generator}
|
| |
+ Recommends: inkscape
|
| |
+ Recommends: pandoc
|
| |
|
| |
%description -n python3-%{pypi_name}
|
| |
|
| |
@@ -75,7 +87,7 @@
|
| |
Documentation for nbconvert
|
| |
|
| |
%prep
|
| |
- %autosetup -n %{pypi_name}-%{version}
|
| |
+ %autosetup -p1 -n %{pypi_name}-%{version}
|
| |
rm -rf %{pypi_name}.egg-info
|
| |
|
| |
%build
|
| |
@@ -120,6 +132,11 @@
|
| |
%endif
|
| |
|
| |
%changelog
|
| |
+ * Sun May 03 2020 Miro Hrončok <mhroncok@redhat.com> - 5.6.0-4
|
| |
+ - Recommend Inkscape for SVG to PDF conversion (#1830647)
|
| |
+ - Fix compatibility with Inkscape 1.0rc1
|
| |
+ - Recommend Pandoc for format conversions
|
| |
+
|
| |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.6.0-3
|
| |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
| |
|
| |