commit:     167550990291e1fa70da5849e0fcec9d4cdae83b
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  4 20:28:30 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Nov  4 20:38:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16755099

dev-lang/rust: remove config.env leftovers

we no longer use this file

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 dev-lang/rust/rust-1.64.0-r1.ebuild | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/dev-lang/rust/rust-1.64.0-r1.ebuild 
b/dev-lang/rust/rust-1.64.0-r1.ebuild
index 4ecd5bb436ec..ae62f705a4da 100644
--- a/dev-lang/rust/rust-1.64.0-r1.ebuild
+++ b/dev-lang/rust/rust-1.64.0-r1.ebuild
@@ -622,12 +622,8 @@ src_test() {
        for i in "${tests[@]}"; do
                local t="src/test/${i}"
                einfo "rust_src_test: running ${t}"
-               if ! (
-                               IFS=$'\n'
-                               env $(cat "${S}"/config.env) RUST_BACKTRACE=1 \
-                               "${EPYTHON}" ./x.py test -vv 
--config="${S}"/config.toml \
+               if ! RUST_BACKTRACE=1 "${EPYTHON}" ./x.py test -vv 
--config="${S}"/config.toml \
                                -j$(makeopts_jobs) --no-doc --no-fail-fast 
"${t}"
-                       )
                then
                                failed+=( "${t}" )
                                eerror "rust_src_test: ${t} failed"
@@ -641,11 +637,7 @@ src_test() {
 }
 
 src_install() {
-       (
-       IFS=$'\n'
-       env $(cat "${S}"/config.env) DESTDIR="${D}" \
-               "${EPYTHON}" ./x.py install     -vv --config="${S}"/config.toml 
-j$(makeopts_jobs) || die
-       )
+       DESTDIR="${D}" "${EPYTHON}" ./x.py install -vv 
--config="${S}"/config.toml -j$(makeopts_jobs) || die
 
        # bug #689562, #689160
        rm -v "${ED}/usr/lib/${PN}/${PV}/etc/bash_completion.d/cargo" || die

Reply via email to