1 |
commit: d1d3eef2eccc25444da4f05b1cae90dccf402b80 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 12:07:17 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 12:07:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1d3eef2 |
7 |
|
8 |
sci-calculators/units: Fix unwanted double hyphen in USE flag name |
9 |
|
10 |
Package-Manager: Portage-3.0.8, Repoman-3.0.1 |
11 |
Fixes: 249a76e82566d2597d8a5f5c1445f49bce6e54e4 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
sci-calculators/units/metadata.xml | 2 +- |
15 |
sci-calculators/units/units-2.16-r1.ebuild | 10 +++++----- |
16 |
sci-calculators/units/units-2.18.ebuild | 10 +++++----- |
17 |
sci-calculators/units/units-2.19-r1.ebuild | 10 +++++----- |
18 |
sci-calculators/units/units-2.20.ebuild | 8 ++++---- |
19 |
5 files changed, 20 insertions(+), 20 deletions(-) |
20 |
|
21 |
diff --git a/sci-calculators/units/metadata.xml b/sci-calculators/units/metadata.xml |
22 |
index f0a40a93849..b411ce91602 100644 |
23 |
--- a/sci-calculators/units/metadata.xml |
24 |
+++ b/sci-calculators/units/metadata.xml |
25 |
@@ -6,6 +6,6 @@ |
26 |
<name>Jeroen Roovers</name> |
27 |
</maintainer> |
28 |
<use> |
29 |
-<flag name="units--cur">Install the units_cur python script that updates currencies</flag> |
30 |
+<flag name="units-cur">Install the units_cur python script that updates currencies</flag> |
31 |
</use> |
32 |
</pkgmetadata> |
33 |
|
34 |
diff --git a/sci-calculators/units/units-2.16-r1.ebuild b/sci-calculators/units/units-2.16-r1.ebuild |
35 |
index b6e116cc86e..6bea3362ca4 100644 |
36 |
--- a/sci-calculators/units/units-2.16-r1.ebuild |
37 |
+++ b/sci-calculators/units/units-2.16-r1.ebuild |
38 |
@@ -12,12 +12,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
39 |
LICENSE="FDL-1.3 GPL-3" |
40 |
SLOT="0" |
41 |
KEYWORDS="~alpha amd64 ~arm hppa ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
42 |
-IUSE="+units--cur" |
43 |
-REQUIRED_USE="units--cur? ( ${PYTHON_REQUIRED_USE} )" |
44 |
+IUSE="+units-cur" |
45 |
+REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" |
46 |
|
47 |
RDEPEND=" |
48 |
sys-libs/readline:= |
49 |
- units--cur? ( |
50 |
+ units-cur? ( |
51 |
${PYTHON_DEPS} |
52 |
$(python_gen_cond_dep ' |
53 |
dev-python/future[${PYTHON_MULTI_USEDEP}] |
54 |
@@ -30,7 +30,7 @@ DEPEND=" |
55 |
" |
56 |
|
57 |
pkg_setup() { |
58 |
- use units--cur && python-single-r1_pkg_setup |
59 |
+ use units-cur && python-single-r1_pkg_setup |
60 |
} |
61 |
|
62 |
src_configure() { |
63 |
@@ -49,7 +49,7 @@ src_install() { |
64 |
# we're intentionally delaying this since 'make install' would |
65 |
# get confused if we shove 'units_cur' there, and there is no real |
66 |
# need to add more complexity for it |
67 |
- if use units--cur; then |
68 |
+ if use units-cur; then |
69 |
sed \ |
70 |
-e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ |
71 |
-e 's|^#!|&/usr/bin/python|g' \ |
72 |
|
73 |
diff --git a/sci-calculators/units/units-2.18.ebuild b/sci-calculators/units/units-2.18.ebuild |
74 |
index b110fbdd91b..8f8ba8b7c38 100644 |
75 |
--- a/sci-calculators/units/units-2.18.ebuild |
76 |
+++ b/sci-calculators/units/units-2.18.ebuild |
77 |
@@ -12,12 +12,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
78 |
LICENSE="FDL-1.3 GPL-3" |
79 |
SLOT="0" |
80 |
KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
81 |
-IUSE="+units--cur" |
82 |
-REQUIRED_USE="units--cur? ( ${PYTHON_REQUIRED_USE} )" |
83 |
+IUSE="+units-cur" |
84 |
+REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" |
85 |
|
86 |
RDEPEND=" |
87 |
sys-libs/readline:= |
88 |
- units--cur? ( |
89 |
+ units-cur? ( |
90 |
${PYTHON_DEPS} |
91 |
$(python_gen_cond_dep ' |
92 |
dev-python/future[${PYTHON_MULTI_USEDEP}] |
93 |
@@ -33,7 +33,7 @@ PATCHES=( |
94 |
) |
95 |
|
96 |
pkg_setup() { |
97 |
- use units--cur && python-single-r1_pkg_setup |
98 |
+ use units-cur && python-single-r1_pkg_setup |
99 |
} |
100 |
|
101 |
src_configure() { |
102 |
@@ -54,7 +54,7 @@ src_install() { |
103 |
# we're intentionally delaying this since 'make install' would |
104 |
# get confused if we shove 'units_cur' there, and there is no real |
105 |
# need to add more complexity for it |
106 |
- if use units--cur; then |
107 |
+ if use units-cur; then |
108 |
sed \ |
109 |
-e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ |
110 |
-e 's|^#!|&/usr/bin/python|g' \ |
111 |
|
112 |
diff --git a/sci-calculators/units/units-2.19-r1.ebuild b/sci-calculators/units/units-2.19-r1.ebuild |
113 |
index 08fba4f5f9b..b68b04a87f9 100644 |
114 |
--- a/sci-calculators/units/units-2.19-r1.ebuild |
115 |
+++ b/sci-calculators/units/units-2.19-r1.ebuild |
116 |
@@ -12,12 +12,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
117 |
LICENSE="FDL-1.3 GPL-3" |
118 |
SLOT="0" |
119 |
KEYWORDS="~alpha amd64 ~arm hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" |
120 |
-IUSE="+units--cur" |
121 |
-REQUIRED_USE="units--cur? ( ${PYTHON_REQUIRED_USE} )" |
122 |
+IUSE="+units-cur" |
123 |
+REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" |
124 |
|
125 |
RDEPEND=" |
126 |
sys-libs/readline:= |
127 |
- units--cur? ( |
128 |
+ units-cur? ( |
129 |
${PYTHON_DEPS} |
130 |
$(python_gen_cond_dep ' |
131 |
dev-python/future[${PYTHON_MULTI_USEDEP}] |
132 |
@@ -36,7 +36,7 @@ DOCS=( |
133 |
) |
134 |
|
135 |
pkg_setup() { |
136 |
- use units--cur && python-single-r1_pkg_setup |
137 |
+ use units-cur && python-single-r1_pkg_setup |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
@@ -55,7 +55,7 @@ src_install() { |
142 |
# we're intentionally delaying this since 'make install' would |
143 |
# get confused if we shove 'units_cur' there, and there is no real |
144 |
# need to add more complexity for it |
145 |
- if use units--cur; then |
146 |
+ if use units-cur; then |
147 |
sed \ |
148 |
-e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ |
149 |
-e 's|^#!|&/usr/bin/python|g' \ |
150 |
|
151 |
diff --git a/sci-calculators/units/units-2.20.ebuild b/sci-calculators/units/units-2.20.ebuild |
152 |
index a601e8f3fc0..40e4195d89a 100644 |
153 |
--- a/sci-calculators/units/units-2.20.ebuild |
154 |
+++ b/sci-calculators/units/units-2.20.ebuild |
155 |
@@ -12,12 +12,12 @@ SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
156 |
LICENSE="FDL-1.3 GPL-3" |
157 |
SLOT="0" |
158 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" |
159 |
-IUSE="+units--cur" |
160 |
-REQUIRED_USE="units--cur? ( ${PYTHON_REQUIRED_USE} )" |
161 |
+IUSE="+units-cur" |
162 |
+REQUIRED_USE="units-cur? ( ${PYTHON_REQUIRED_USE} )" |
163 |
|
164 |
RDEPEND=" |
165 |
sys-libs/readline:= |
166 |
- units--cur? ( |
167 |
+ units-cur? ( |
168 |
${PYTHON_DEPS} |
169 |
$(python_gen_cond_dep ' |
170 |
dev-python/future[${PYTHON_USEDEP}] |
171 |
@@ -50,7 +50,7 @@ src_compile() { |
172 |
src_install() { |
173 |
default |
174 |
|
175 |
- if use units--cur; then |
176 |
+ if use units-cur; then |
177 |
sed \ |
178 |
-e "/^outfile/s|'.*'|'/usr/share/units/currency.units'|g" \ |
179 |
-e 's|^#!|&/usr/bin/python|g' \ |