Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-calculators/units/
Date: Mon, 05 Sep 2016 04:34:18
Message-Id: 1473049579.000d301be46a1df5da1f07b49823176c1ff8980b.jer@gentoo
1 commit: 000d301be46a1df5da1f07b49823176c1ff8980b
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 5 04:26:19 2016 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 5 04:26:19 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000d301b
7
8 sci-calculators/units: Fix whitespace.
9
10 Package-Manager: portage-2.3.0
11
12 sci-calculators/units/units-2.13-r1.ebuild | 16 ++++++++++++----
13 1 file changed, 12 insertions(+), 4 deletions(-)
14
15 diff --git a/sci-calculators/units/units-2.13-r1.ebuild b/sci-calculators/units/units-2.13-r1.ebuild
16 index 33bb1a7..588585b 100644
17 --- a/sci-calculators/units/units-2.13-r1.ebuild
18 +++ b/sci-calculators/units/units-2.13-r1.ebuild
19 @@ -25,14 +25,21 @@ RDEPEND="
20 ${PYTHON_DEPS}
21 dev-python/unidecode[${PYTHON_USEDEP}]
22 dev-python/future[${PYTHON_USEDEP}]
23 - )"
24 -DEPEND="${RDEPEND}"
25 + )
26 +"
27 +DEPEND="
28 + ${RDEPEND}
29 +"
30
31 -PATCHES=( "${FILESDIR}/${P}-fix-python.patch" )
32 +PATCHES=(
33 + "${FILESDIR}"/${P}-fix-python.patch
34 +)
35
36 src_prepare() {
37 default
38 - sed -e "/^outfile/s|'.*'|'${EPREFIX}/usr/share/units/currency.units'|g" \
39 +
40 + sed \
41 + -e "/^outfile/s|'.*'|'${EPREFIX}/usr/share/units/currency.units'|g" \
42 -i units_cur3 || die
43
44 eautoreconf
45 @@ -40,5 +47,6 @@ src_prepare() {
46
47 src_install() {
48 default
49 +
50 use units_cur && python_foreach_impl python_newscript units_cur{3,}
51 }