commit: 000d301be46a1df5da1f07b49823176c1ff8980b
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 5 04:26:19 2016 +0000
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Mon Sep 5 04:26:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=000d301b
sci-calculators/units: Fix whitespace.
Package-Manager: portage-2.3.0
sci-calculators/units/units-2.13-r1.ebuild | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/sci-calculators/units/units-2.13-r1.ebuild
b/sci-calculators/units/units-2.13-r1.ebuild
index 33bb1a7..588585b 100644
--- a/sci-calculators/units/units-2.13-r1.ebuild
+++ b/sci-calculators/units/units-2.13-r1.ebuild
@@ -25,14 +25,21 @@ RDEPEND="
${PYTHON_DEPS}
dev-python/unidecode[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
- )"
-DEPEND="${RDEPEND}"
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
-PATCHES=( "${FILESDIR}/${P}-fix-python.patch" )
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-python.patch
+)
src_prepare() {
default
- sed -e "/^outfile/s|'.*'|'${EPREFIX}/usr/share/units/currency.units'|g"
\
+
+ sed \
+ -e
"/^outfile/s|'.*'|'${EPREFIX}/usr/share/units/currency.units'|g" \
-i units_cur3 || die
eautoreconf
@@ -40,5 +47,6 @@ src_prepare() {
src_install() {
default
+
use units_cur && python_foreach_impl python_newscript units_cur{3,}
}