Python wrapper for libalpm and python implementation of pacman (pycman). Backported to Python 2.
144 lines
4.3 KiB
Diff
144 lines
4.3 KiB
Diff
From 87a81fa3ab0c00aa6097c9adaed6e3b24b9f0a89 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 ++-
|
|
11 files changed, 22 insertions(+), 11 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>
|
|
--
|
|
2.7.1
|
|
|