1 |
commit: c74ae2589a6140d0ae634c3c6a93b49613fc278a |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 4 22:31:32 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 4 22:58:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c74ae258 |
7 |
|
8 |
dev-util/setconf: fix shebang. |
9 |
|
10 |
Gentoo-Bug: https://bugs.gentoo.org/617268 |
11 |
|
12 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
13 |
|
14 |
dev-util/setconf/setconf-0.6.6.ebuild | 17 ++++++++--------- |
15 |
dev-util/setconf/setconf-0.6.7.ebuild | 15 +++++++-------- |
16 |
2 files changed, 15 insertions(+), 17 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/setconf/setconf-0.6.6.ebuild b/dev-util/setconf/setconf-0.6.6.ebuild |
19 |
index 94a64a1fb57..b0646c4fed5 100644 |
20 |
--- a/dev-util/setconf/setconf-0.6.6.ebuild |
21 |
+++ b/dev-util/setconf/setconf-0.6.6.ebuild |
22 |
@@ -1,18 +1,17 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
+# Copyright 1999-2017 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=5 |
28 |
PYTHON_COMPAT=( python{2_7,3_4} ) |
29 |
inherit python-single-r1 |
30 |
|
31 |
-DESCRIPTION="A small python based utility that can be used to change configuration files" |
32 |
+DESCRIPTION="A small python based utility used to change configuration files" |
33 |
HOMEPAGE="http://setconf.roboticoverlords.org/" |
34 |
SRC_URI="http://${PN}.roboticoverlords.org/${P}.tar.xz" |
35 |
|
36 |
LICENSE="GPL-2" |
37 |
SLOT="0" |
38 |
KEYWORDS="~amd64 ~x86" |
39 |
-IUSE="" |
40 |
|
41 |
RDEPEND=${PYTHON_DEPS} |
42 |
|
43 |
@@ -25,16 +24,16 @@ pkg_setup() { |
44 |
|
45 |
src_unpack() { |
46 |
unpack ${A} |
47 |
- cd "${S}" |
48 |
- unpack ./${PN}.1.gz |
49 |
+ cd "${S}" || die |
50 |
+ unpack "./${PN}.1.gz" |
51 |
} |
52 |
|
53 |
src_prepare() { |
54 |
- python_fix_shebang ${PN}.py #462326 |
55 |
+ python_fix_shebang -f "${PN}.py" |
56 |
} |
57 |
|
58 |
src_install() { |
59 |
- dobin ${PN}.py |
60 |
- ln -s ${PN}.py "${ED}"/usr/bin/${PN} |
61 |
- doman ${PN}.1 |
62 |
+ python_doscript "${PN}.py" |
63 |
+ dosym "${PN}.py" "/usr/bin/${PN}" |
64 |
+ doman "${PN}.1" |
65 |
} |
66 |
|
67 |
diff --git a/dev-util/setconf/setconf-0.6.7.ebuild b/dev-util/setconf/setconf-0.6.7.ebuild |
68 |
index bd589375e9c..b0646c4fed5 100644 |
69 |
--- a/dev-util/setconf/setconf-0.6.7.ebuild |
70 |
+++ b/dev-util/setconf/setconf-0.6.7.ebuild |
71 |
@@ -1,4 +1,4 @@ |
72 |
-# Copyright 1999-2015 Gentoo Foundation |
73 |
+# Copyright 1999-2017 Gentoo Foundation |
74 |
# Distributed under the terms of the GNU General Public License v2 |
75 |
|
76 |
EAPI=5 |
77 |
@@ -12,7 +12,6 @@ SRC_URI="http://${PN}.roboticoverlords.org/${P}.tar.xz" |
78 |
LICENSE="GPL-2" |
79 |
SLOT="0" |
80 |
KEYWORDS="~amd64 ~x86" |
81 |
-IUSE="" |
82 |
|
83 |
RDEPEND=${PYTHON_DEPS} |
84 |
|
85 |
@@ -25,16 +24,16 @@ pkg_setup() { |
86 |
|
87 |
src_unpack() { |
88 |
unpack ${A} |
89 |
- cd "${S}" |
90 |
- unpack ./${PN}.1.gz |
91 |
+ cd "${S}" || die |
92 |
+ unpack "./${PN}.1.gz" |
93 |
} |
94 |
|
95 |
src_prepare() { |
96 |
- python_fix_shebang ${PN}.py #462326 |
97 |
+ python_fix_shebang -f "${PN}.py" |
98 |
} |
99 |
|
100 |
src_install() { |
101 |
- python_doscript ${PN}.py |
102 |
- dosym ${PN}.py /usr/bin/${PN} |
103 |
- doman ${PN}.1 |
104 |
+ python_doscript "${PN}.py" |
105 |
+ dosym "${PN}.py" "/usr/bin/${PN}" |
106 |
+ doman "${PN}.1" |
107 |
} |