From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH python-r1 6/8] Reuse _python_ln_rel in distutils-r1.
Date: Sat, 27 Oct 2012 13:02:49 +0200 [thread overview]
Message-ID: <1351335771-3618-6-git-send-email-mgorny@gentoo.org> (raw)
In-Reply-To: <1351335771-3618-1-git-send-email-mgorny@gentoo.org>
---
gx86/eclass/distutils-r1.eclass | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/gx86/eclass/distutils-r1.eclass b/gx86/eclass/distutils-r1.eclass
index ce1b6f4..e83a85a 100644
--- a/gx86/eclass/distutils-r1.eclass
+++ b/gx86/eclass/distutils-r1.eclass
@@ -266,22 +266,8 @@ distutils-r1_python_install_all() {
debug-print "${FUNCNAME}: found executable at ${f#${D}/}"
local wrapf=${f%-${EPYTHON}}
- debug-print "${FUNCNAME}: will link wrapper to ${wrapf#${D}/}"
- local wrapfrom
- case "${f#${D}/}" in
- usr/bin*)
- wrapfrom=
- ;;
- usr/sbin*)
- wrapfrom=../bin/
- ;;
- *)
- wrapfrom=../usr/bin/
- ;;
- esac
- debug-print "${FUNCNAME}: (from ${wrapfrom}python-exec)"
-
- ln -s ${wrapfrom}python-exec "${wrapf}" || die
+
+ _python_ln_rel "${ED}"/usr/bin/python-exec "${wrapf}" || die
fi
done
}
--
1.7.12.4
next prev parent reply other threads:[~2012-10-27 11:05 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-27 11:02 [gentoo-dev] [PATCH python-r1 1/8] python_export: support obtaining site-packages directory Michał Górny
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 2/8] Add getter-style wrappers for python_export() Michał Górny
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 3/8] Add python_export_best() to obtain best impl info Michał Górny
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 4/8] Introduce functions to replicate Python scripts Michał Górny
2012-10-27 13:27 ` Reinis Danne
2012-10-27 14:08 ` Michał Górny
2012-10-27 14:31 ` Reinis Danne
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 5/8] Convert x11-misc/redshift to python-r1 (example) Michał Górny
2012-10-29 15:25 ` Ian Stakenvicius
2012-10-29 15:42 ` Michał Górny
2012-10-29 15:47 ` Ian Stakenvicius
2012-10-29 16:14 ` Michał Górny
2012-10-27 11:02 ` Michał Górny [this message]
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 7/8] Use python_export_best() in distutils-r1 Michał Górny
2012-10-27 11:02 ` [gentoo-dev] [PATCH python-r1 8/8] Use find instead of hard-coded path list when looking for scripts Michał Górny
2012-10-27 14:16 ` [gentoo-dev] [PATCH python-r1] Depend on python-exec in python-r1 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1351335771-3618-6-git-send-email-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox