Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 1 | From 7fd00ab8c1b663052d57e735b6b956d5c92fbaed Mon Sep 17 00:00:00 2001 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 2 | From: Changqing Li <changqing.li@windriver.com> |
| 3 | Date: Mon, 9 Mar 2020 13:10:37 +0800 |
| 4 | Subject: [PATCH] sqlparse: change shebang to python3 |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Don't send upstream since upstream still support python2, |
| 9 | we can only make this change after python2 is offcially |
| 10 | dropped. |
| 11 | |
| 12 | Signed-off-by: Changqing Li <changqing.li@windriver.com> |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 13 | Signed-off-by: Leon Anavi <leon.anavi@konsulko.com> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | --- |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 15 | 0001-sqlparse-change-shebang-to-python3.patch | 51 +++++++++++++++++++ |
| 16 | setup.py | 2 +- |
| 17 | sqlparse/__main__.py | 2 +- |
| 18 | sqlparse/cli.py | 2 +- |
| 19 | 4 files changed, 54 insertions(+), 3 deletions(-) |
| 20 | create mode 100644 0001-sqlparse-change-shebang-to-python3.patch |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 21 | |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 22 | diff --git a/0001-sqlparse-change-shebang-to-python3.patch b/0001-sqlparse-change-shebang-to-python3.patch |
| 23 | new file mode 100644 |
| 24 | index 0000000..ad6c50f |
| 25 | --- /dev/null |
| 26 | +++ b/0001-sqlparse-change-shebang-to-python3.patch |
| 27 | @@ -0,0 +1,51 @@ |
| 28 | +From 10c9d3341d64d697f678a64ae707f6bda21565bb Mon Sep 17 00:00:00 2001 |
| 29 | +From: Changqing Li <changqing.li@windriver.com> |
| 30 | +Date: Mon, 9 Mar 2020 13:10:37 +0800 |
| 31 | +Subject: [PATCH] sqlparse: change shebang to python3 |
| 32 | + |
| 33 | +Upstream-Status: Pending |
| 34 | + |
| 35 | +Don't send upstream since upstream still support python2, |
| 36 | +we can only make this change after python2 is offcially |
| 37 | +dropped. |
| 38 | + |
| 39 | +Signed-off-by: Changqing Li <changqing.li@windriver.com> |
| 40 | +--- |
| 41 | + setup.py | 2 +- |
| 42 | + sqlparse/__main__.py | 2 +- |
| 43 | + sqlparse/cli.py | 2 +- |
| 44 | + 3 files changed, 3 insertions(+), 3 deletions(-) |
| 45 | + |
| 46 | +diff --git a/setup.py b/setup.py |
| 47 | +index 345d0ce..ce3abc3 100644 |
| 48 | +--- a/setup.py |
| 49 | ++++ b/setup.py |
| 50 | +@@ -1,4 +1,4 @@ |
| 51 | +-#!/usr/bin/env python |
| 52 | ++#!/usr/bin/env python3 |
| 53 | + # -*- coding: utf-8 -*- |
| 54 | + # |
| 55 | + # Copyright (C) 2009-2018 the sqlparse authors and contributors |
| 56 | +diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py |
| 57 | +index 867d75d..dd0c074 100644 |
| 58 | +--- a/sqlparse/__main__.py |
| 59 | ++++ b/sqlparse/__main__.py |
| 60 | +@@ -1,4 +1,4 @@ |
| 61 | +-#!/usr/bin/env python |
| 62 | ++#!/usr/bin/env python3 |
| 63 | + # -*- coding: utf-8 -*- |
| 64 | + # |
| 65 | + # Copyright (C) 2009-2018 the sqlparse authors and contributors |
| 66 | +diff --git a/sqlparse/cli.py b/sqlparse/cli.py |
| 67 | +index 25555a5..8bf050a 100755 |
| 68 | +--- a/sqlparse/cli.py |
| 69 | ++++ b/sqlparse/cli.py |
| 70 | +@@ -1,4 +1,4 @@ |
| 71 | +-#!/usr/bin/env python |
| 72 | ++#!/usr/bin/env python3 |
| 73 | + # -*- coding: utf-8 -*- |
| 74 | + # |
| 75 | + # Copyright (C) 2009-2018 the sqlparse authors and contributors |
| 76 | +-- |
| 77 | +2.7.4 |
| 78 | + |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 79 | diff --git a/setup.py b/setup.py |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 80 | index ede0aff..dc6a323 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 81 | --- a/setup.py |
| 82 | +++ b/setup.py |
| 83 | @@ -1,4 +1,4 @@ |
| 84 | -#!/usr/bin/env python |
| 85 | +#!/usr/bin/env python3 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 86 | # |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 87 | # Copyright (C) 2009-2020 the sqlparse authors and contributors |
| 88 | # <see AUTHORS file> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 89 | diff --git a/sqlparse/__main__.py b/sqlparse/__main__.py |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 90 | index 2bf2513..6a3a115 100644 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 91 | --- a/sqlparse/__main__.py |
| 92 | +++ b/sqlparse/__main__.py |
| 93 | @@ -1,4 +1,4 @@ |
| 94 | -#!/usr/bin/env python |
| 95 | +#!/usr/bin/env python3 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 96 | # |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 97 | # Copyright (C) 2009-2020 the sqlparse authors and contributors |
| 98 | # <see AUTHORS file> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 99 | diff --git a/sqlparse/cli.py b/sqlparse/cli.py |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 100 | index 7a8aacb..9c727e8 100755 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 101 | --- a/sqlparse/cli.py |
| 102 | +++ b/sqlparse/cli.py |
| 103 | @@ -1,4 +1,4 @@ |
| 104 | -#!/usr/bin/env python |
| 105 | +#!/usr/bin/env python3 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 106 | # |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 107 | # Copyright (C) 2009-2020 the sqlparse authors and contributors |
| 108 | # <see AUTHORS file> |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 109 | -- |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 110 | 2.17.1 |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 111 | |