sci-calculators/units: Fix whitespace.
authorJeroen Roovers <jer@gentoo.org>
Mon, 5 Sep 2016 04:26:19 +0000 (06:26 +0200)
committerJeroen Roovers <jer@gentoo.org>
Mon, 5 Sep 2016 04:26:19 +0000 (06:26 +0200)
Package-Manager: portage-2.3.0

sci-calculators/units/units-2.13-r1.ebuild

index 33bb1a7c3d12c97043436e4e55022ced6e3238df..588585baffb6b9bbca74c08bb710605c3a7e9ca9 100644 (file)
@@ -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,}
 }