diff --git a/.gitignore b/.gitignore index 024caf3..bb00dd4 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,4 @@ /pikepdf-2.15.1.tar.gz /pikepdf-2.16.1.tar.gz /pikepdf-3.0.0b1.tar.gz +/pikepdf-3.0.0b2.tar.gz diff --git a/0001-Relax-some-requirements.patch b/0001-Relax-some-requirements.patch deleted file mode 100644 index cc9d867..0000000 --- a/0001-Relax-some-requirements.patch +++ /dev/null @@ -1,51 +0,0 @@ -From 3173e74284fc8182c8ca75c281ed2d65844a4e84 Mon Sep 17 00:00:00 2001 -From: Elliott Sales de Andrade -Date: Wed, 23 Dec 2020 05:26:27 -0500 -Subject: [PATCH] Relax some requirements. - -Signed-off-by: Elliott Sales de Andrade ---- - pyproject.toml | 1 - - requirements/test.txt | 1 - - setup.cfg | 1 - - 3 files changed, 3 deletions(-) - -diff --git a/pyproject.toml b/pyproject.toml -index e0680bf..59a3e2d 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -4,7 +4,6 @@ requires-python = ">=3.6" - [build-system] - requires = [ - "setuptools >= 50", -- "wheel >= 0.35", - "setuptools_scm[toml] >= 4.1", - "setuptools_scm_git_archive", - "pybind11 >= 2.6.0, <= 2.8.0" -diff --git a/requirements/test.txt b/requirements/test.txt -index 085bcaf..be85560 100644 ---- a/requirements/test.txt -+++ b/requirements/test.txt -@@ -5,7 +5,6 @@ Pillow >= 7, < 9 - psutil >= 5, < 6 - pybind11 >= 2.6.0 - pytest >= 6, < 7 --pytest-cov >= 2.10.1, < 3 - pytest-forked - pytest-xdist >= 1.28, < 3 - pytest-timeout >= 1.4.2 -diff --git a/setup.cfg b/setup.cfg -index afb14c5..66574a0 100644 ---- a/setup.cfg -+++ b/setup.cfg -@@ -68,7 +68,6 @@ test = - psutil >= 5, < 6 - pybind11 - pytest >= 6, < 7 -- pytest-cov >= 2.10.1, < 3 - pytest-forked - pytest-xdist >= 1.28, < 3 - pytest-timeout >= 1.4.2 --- -2.31.1 - diff --git a/python-pikepdf.spec b/python-pikepdf.spec index 7e7308b..4ebdb59 100644 --- a/python-pikepdf.spec +++ b/python-pikepdf.spec @@ -2,13 +2,12 @@ Name: python-%{srcname} Version: 3.0.0 -Release: %autorelease -p -e b1 +Release: %autorelease -p -e b2 Summary: Read and write PDFs with Python, powered by qpdf License: MPLv2.0 URL: https://github.com/pikepdf/pikepdf -Source0: %pypi_source %{srcname} %{version}b1 -Patch0001: 0001-Relax-some-requirements.patch +Source0: %pypi_source %{srcname} %{version}b2 BuildRequires: gcc-c++ BuildRequires: qpdf-devel >= 10.3.2 @@ -40,10 +39,10 @@ Documentation for pikepdf %prep -%autosetup -n %{srcname}-%{version}b1 -p1 +%autosetup -n %{srcname}-%{version}b2 -p1 -# Remove bundled egg-info -rm -rf src/%{srcname}.egg-info +# Drop coverage requirements +sed -i -e '/coverage/d' -e '/pytest-cov/d' setup.cfg # We don't build docs against the installed version, so force the version. sed -i -e "s/release = .\+/release = '%{version}'/g" docs/conf.py diff --git a/sources b/sources index b0655d8..a5b05db 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pikepdf-3.0.0b1.tar.gz) = cc6ebb67bbab34b49dfe1a739a7c37cf2297ae33f5df025a86fd109e0fe2934641f7026d4dba2027f251dd434932ddfb2086a5786bd42b2642890d8f84bea854 +SHA512 (pikepdf-3.0.0b2.tar.gz) = e897595ec53225fc0e6909b3b4e492deea1e25001acddc571dfda9512bfb924739621a008f5f1df142cad61c71be72d4c3ba7881d74c54d4973f08ab0ac46f44