summaryrefslogtreecommitdiff
path: root/debian/patches/drop-pybind11-from-setup.py.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/drop-pybind11-from-setup.py.patch')
-rw-r--r--debian/patches/drop-pybind11-from-setup.py.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/drop-pybind11-from-setup.py.patch b/debian/patches/drop-pybind11-from-setup.py.patch
new file mode 100644
index 0000000..90dc374
--- /dev/null
+++ b/debian/patches/drop-pybind11-from-setup.py.patch
@@ -0,0 +1,22 @@
+From: Sean Whitton <spwhitton@spwhitton.name>
+Date: Thu, 15 Aug 2019 18:12:41 +0100
+Subject: drop pybind11 from setup.py
+
+We are successfully providing pybind11 as a build-dep but ocrmypdf's
+setup.py fails to detect it for some reason.
+---
+ setup.py | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 59e9b3b..c1f62b2 100644
+--- a/setup.py
++++ b/setup.py
+@@ -138,7 +138,6 @@ setup(
+ setup_requires=[
+ 'setuptools_scm',
+ 'setuptools_scm_git_archive',
+- 'pybind11 >= 2.3.0, < 3',
+ ],
+ use_scm_version=True,
+ tests_require=tests_require,