170 lines
5.0 KiB
Diff
170 lines
5.0 KiB
Diff
From fc0d9e165ab6c49431ba86eb009a3e1ce5cdd0af Mon Sep 17 00:00:00 2001
|
|
From: Ray Donnelly <mingw.android@gmail.com>
|
|
Date: Fri, 11 Mar 2016 16:52:40 +0000
|
|
Subject: [PATCH 4/5] Python2 compat: python3 -> python, coding: utf-8
|
|
|
|
---
|
|
pycman/__init__.py | 3 ++-
|
|
pycman/action_database.py | 3 ++-
|
|
pycman/action_deptest.py | 3 ++-
|
|
pycman/action_query.py | 3 ++-
|
|
pycman/action_remove.py | 3 ++-
|
|
pycman/action_sync.py | 3 ++-
|
|
pycman/action_upgrade.py | 3 ++-
|
|
pycman/action_version.py | 3 ++-
|
|
pycman/config.py | 3 ++-
|
|
pycman/pkginfo.py | 3 ++-
|
|
pycman/transaction.py | 3 ++-
|
|
scripts/lsoptdepends | 3 ++-
|
|
scripts/pycman | 5 +++--
|
|
13 files changed, 27 insertions(+), 14 deletions(-)
|
|
|
|
diff --git pycman/__init__.py pycman/__init__.py
|
|
index 19e3c9d..b43cf75 100644
|
|
--- pycman/__init__.py
|
|
+++ pycman/__init__.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_database.py pycman/action_database.py
|
|
index 5cecc65..0bd9c5a 100755
|
|
--- pycman/action_database.py
|
|
+++ pycman/action_database.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-deptest - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_deptest.py pycman/action_deptest.py
|
|
index 16a8c2e..52058ed 100755
|
|
--- pycman/action_deptest.py
|
|
+++ pycman/action_deptest.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-deptest - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_query.py pycman/action_query.py
|
|
index 7fb2642..d6e3dc7 100755
|
|
--- pycman/action_query.py
|
|
+++ pycman/action_query.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-query - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_remove.py pycman/action_remove.py
|
|
index 53c6c16..b7f904f 100755
|
|
--- pycman/action_remove.py
|
|
+++ pycman/action_remove.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-remove - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_sync.py pycman/action_sync.py
|
|
index e5845d4..bade0ad 100755
|
|
--- pycman/action_sync.py
|
|
+++ pycman/action_sync.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-sync - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_upgrade.py pycman/action_upgrade.py
|
|
index 4d064fd..9f93a1a 100755
|
|
--- pycman/action_upgrade.py
|
|
+++ pycman/action_upgrade.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-upgrade - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/action_version.py pycman/action_version.py
|
|
index 409137e..8435032 100755
|
|
--- pycman/action_version.py
|
|
+++ pycman/action_version.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman-version - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/config.py pycman/config.py
|
|
index 1543ce1..65028de 100644
|
|
--- pycman/config.py
|
|
+++ pycman/config.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/pkginfo.py pycman/pkginfo.py
|
|
index a120d5f..9efd8d5 100644
|
|
--- pycman/pkginfo.py
|
|
+++ pycman/pkginfo.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman.pkginfo - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git pycman/transaction.py pycman/transaction.py
|
|
index 143d1a3..926aebf 100644
|
|
--- pycman/transaction.py
|
|
+++ pycman/transaction.py
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pycman - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git scripts/lsoptdepends scripts/lsoptdepends
|
|
index c05a96e..42e0747 100755
|
|
--- scripts/lsoptdepends
|
|
+++ scripts/lsoptdepends
|
|
@@ -1,4 +1,5 @@
|
|
-#!/usr/bin/env python3
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
#
|
|
# pyalpm - Python 3 Bindings for libalpm
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
diff --git scripts/pycman scripts/pycman
|
|
index 28827f3..e30173d 100755
|
|
--- scripts/pycman
|
|
+++ scripts/pycman
|
|
@@ -1,5 +1,6 @@
|
|
-#!/usr/bin/env python3
|
|
-#
|
|
+#!/usr/bin/env python
|
|
+# -- coding: utf-8 --
|
|
+#
|
|
# pycman - A Python implementation of Pacman
|
|
# Copyright (C) 2011 Rémy Oudompheng <remy@archlinux.org>
|
|
#
|
|
--
|
|
2.7.1
|
|
|