File: use-py3.patch

package info (click to toggle)
python-box 3.4.6-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 344 kB
  • sloc: python: 1,727; makefile: 4
file content (47 lines) | stat: -rw-r--r-- 1,293 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description: Fixed shebangs to python3
 as dh_python3 --shebang=/usr/bin/python3
 was not working everywhere.
Author: Michal Arbet <michal.arbet@ultimum.io>
Forwarded: not-needed
Last-Update: 2020-03-31

diff --git a/box.py b/box.py
index 94e3def..ead3a8e 100644
--- a/box.py
+++ b/box.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: UTF-8 -*-
 #
 # Copyright (c) 2017-2019 - Chris Griffith - MIT License
diff --git a/setup.py b/setup.py
index 5eaef7b..3a76663 100644
--- a/setup.py
+++ b/setup.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 from setuptools import setup
diff --git a/test/test_functional_box.py b/test/test_functional_box.py
index 8db60ab..5f02571 100644
--- a/test/test_functional_box.py
+++ b/test/test_functional_box.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: UTF-8 -*-
 # Test files gathered from json.org and yaml.org
 from __future__ import absolute_import
diff --git a/test/test_unittests_box.py b/test/test_unittests_box.py
index 8dbf6e0..146d73c 100644
--- a/test/test_unittests_box.py
+++ b/test/test_unittests_box.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: UTF-8 -*-
 from __future__ import absolute_import