]> git.pld-linux.org Git - packages/calibre.git/blob - shebang-python-fix.patch
- rediff patches
[packages/calibre.git] / shebang-python-fix.patch
1 diff -urNp -x '*.orig' calibre-4.20.0.org/recipes/nrc-nl-epub.recipe calibre-4.20.0/recipes/nrc-nl-epub.recipe
2 --- calibre-4.20.0.org/recipes/nrc-nl-epub.recipe       2020-07-03 04:11:13.000000000 +0200
3 +++ calibre-4.20.0/recipes/nrc-nl-epub.recipe   2021-06-23 14:08:48.429265433 +0200
4 @@ -1,4 +1,4 @@
5 -#!/usr/bin/env  python2
6 +#!/usr/bin/env  python
7  # -*- coding: utf-8 -*-
8  # Based on veezh's original recipe and Kovid Goyal's New York Times recipe
9  
10 diff -urNp -x '*.orig' calibre-4.20.0.org/setup/install.py calibre-4.20.0/setup/install.py
11 --- calibre-4.20.0.org/setup/install.py 2021-06-23 14:08:46.395856286 +0200
12 +++ calibre-4.20.0/setup/install.py     2021-06-23 14:08:48.429265433 +0200
13 @@ -20,7 +20,7 @@ from setup import (
14  )
15  
16  HEADER = '''\
17 -#!/usr/bin/env python{py_major_version}
18 +#!/usr/bin/env python
19  
20  """
21  This is the standard runscript for all of calibre's tools.
This page took 0.144439 seconds and 4 git commands to generate.