diff options
Diffstat (limited to 'graphics/unpaper/unpaper-7.0.0-no-sphinx.patch')
-rw-r--r-- | graphics/unpaper/unpaper-7.0.0-no-sphinx.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch b/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch new file mode 100644 index 0000000000..40f9718102 --- /dev/null +++ b/graphics/unpaper/unpaper-7.0.0-no-sphinx.patch @@ -0,0 +1,21 @@ +diff -Naur unpaper-7.0.0.orig/meson.build unpaper-7.0.0/meson.build +--- unpaper-7.0.0.orig/meson.build 2023-08-12 12:37:30.389999033 -0400 ++++ unpaper-7.0.0/meson.build 2023-08-12 12:37:57.307998930 -0400 +@@ -36,17 +36,6 @@ + install : true, + ) + +-sphinx = find_program('sphinx-build', required: true, version: '>= 3.4') +- +-custom_target( +- 'man', +- command: [sphinx, '-b', 'man', join_paths(meson.source_root(), 'doc'), '@OUTDIR@'], +- input: ['doc/conf.py', 'doc/index.rst', 'doc/unpaper.1.rst'], +- output: 'unpaper.1', +- install: true, +- install_dir: join_paths(get_option('prefix'), get_option('mandir'), 'man1'), +-) +- + pymod = import('python') + python = pymod.find_installation(required: false, modules: ['pytest', 'PIL'], disabler: true) + |