anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / tools / misc / pandoc-secnos / patch / fix-manifest.patch
blob782e5b5e07c7c9eb3a9e75f5708a3e66486854cc
1 From 165ee1f4c1208636254392335d34934dc50d273e Mon Sep 17 00:00:00 2001
2 From: ppenguin <hieronymusv@gmail.com>
3 Date: Tue, 15 Mar 2022 23:15:07 +0100
4 Subject: [PATCH] fix setup.py to work in nixpkgs
6 ---
7 setup.py | 13 ++-----------
8 1 file changed, 2 insertions(+), 11 deletions(-)
10 diff --git a/setup.py b/setup.py
11 index d705846..d7345a2 100644
12 --- a/setup.py
13 +++ b/setup.py
14 @@ -42,10 +42,10 @@
16 author='Thomas J. Duck',
17 author_email='tomduck@tomduck.ca',
18 - description='Equation number filter for pandoc',
19 + description='Section number filter for pandoc',
20 long_description=DESCRIPTION,
21 license='GPL',
22 - keywords='pandoc equation numbers filter',
23 + keywords='pandoc section numbers filter',
24 url='https://github.com/tomduck/pandoc-secnos',
25 download_url='https://github.com/tomduck/pandoc-secnos/tarball/' + \
26 __version__,
27 @@ -63,12 +63,3 @@
28 'Programming Language :: Python'
32 -# Check that the pandoc-secnos script is on the PATH
33 -if not shutil.which('pandoc-secnos'):
34 - msg = """
35 - ERROR: `pandoc-secnos` script not found. This will need to
36 - be corrected. If you need help, please file an Issue at
37 - https://github.com/tomduck/pandoc-secnos/issues.\n"""
38 - print(textwrap.dedent(msg))
39 - sys.exit(-1)