1 |
commit: 62a3b1acfd7e8d488cb3fa0761e7f810fb208167 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 30 07:42:13 2017 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 27 14:30:45 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=62a3b1ac |
7 |
|
8 |
repoman: Make all shebangs prefix friendly |
9 |
|
10 |
* Simplifies the repoman ebuild, as the |
11 |
prefixifying can be made redundant. |
12 |
* See also: |
13 |
https://blogs.gentoo.org/mgorny/2016/02/08/a-quick-note-on-portable-shebangs/ |
14 |
|
15 |
repoman/bin/repoman | 4 ++-- |
16 |
repoman/pym/repoman/main.py | 4 ++-- |
17 |
repoman/pym/repoman/tests/runTests.py | 4 ++-- |
18 |
repoman/runtests | 4 ++-- |
19 |
4 files changed, 8 insertions(+), 8 deletions(-) |
20 |
|
21 |
diff --git a/repoman/bin/repoman b/repoman/bin/repoman |
22 |
index 7082a968f..7084ff918 100755 |
23 |
--- a/repoman/bin/repoman |
24 |
+++ b/repoman/bin/repoman |
25 |
@@ -1,5 +1,5 @@ |
26 |
-#!/usr/bin/python -bO |
27 |
-# Copyright 1999-2014 Gentoo Foundation |
28 |
+#!/usr/bin/env python |
29 |
+# Copyright 1999-2017 Gentoo Foundation |
30 |
# Distributed under the terms of the GNU General Public License v2 |
31 |
|
32 |
"""Ebuild and tree health checks and maintenance utilities. |
33 |
|
34 |
diff --git a/repoman/pym/repoman/main.py b/repoman/pym/repoman/main.py |
35 |
index 825a82e61..ccc735c7d 100755 |
36 |
--- a/repoman/pym/repoman/main.py |
37 |
+++ b/repoman/pym/repoman/main.py |
38 |
@@ -1,6 +1,6 @@ |
39 |
-#!/usr/bin/python -bO |
40 |
+#!/usr/bin/env python |
41 |
# -*- coding:utf-8 -*- |
42 |
-# Copyright 1999-2015 Gentoo Foundation |
43 |
+# Copyright 1999-2017 Gentoo Foundation |
44 |
# Distributed under the terms of the GNU General Public License v2 |
45 |
|
46 |
from __future__ import print_function, unicode_literals |
47 |
|
48 |
diff --git a/repoman/pym/repoman/tests/runTests.py b/repoman/pym/repoman/tests/runTests.py |
49 |
index 83e3d35f5..759abdd82 100644 |
50 |
--- a/repoman/pym/repoman/tests/runTests.py |
51 |
+++ b/repoman/pym/repoman/tests/runTests.py |
52 |
@@ -1,6 +1,6 @@ |
53 |
-#!/usr/bin/python -bWd |
54 |
+#!/usr/bin/env python |
55 |
# runTests.py -- Portage Unit Test Functionality |
56 |
-# Copyright 2006-2014 Gentoo Foundation |
57 |
+# Copyright 2006-2017 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
|
60 |
import os, sys |
61 |
|
62 |
diff --git a/repoman/runtests b/repoman/runtests |
63 |
index 53eb64510..c1825301a 100755 |
64 |
--- a/repoman/runtests |
65 |
+++ b/repoman/runtests |
66 |
@@ -1,5 +1,5 @@ |
67 |
-#!/usr/bin/python |
68 |
-# Copyright 2010-2015 Gentoo Foundation |
69 |
+#!/usr/bin/env python |
70 |
+# Copyright 2010-2017 Gentoo Foundation |
71 |
# Distributed under the terms of the GNU General Public License v2 |
72 |
# |
73 |
# Note: We don't want to import portage modules directly because we do things |