public inbox for gentoo-python@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Subject: Re: [gentoo-python] Alternate solution for 'python', 'python2' and 'pkg-config python' in ebuilds
Date: Fri, 29 Mar 2013 23:38:03 +0100	[thread overview]
Message-ID: <20130329233803.2ba9f24b@pomiocik.lan> (raw)
In-Reply-To: <20130329205702.03f29327@pomiocik.lan>

[-- Attachment #1: Type: text/plain, Size: 3220 bytes --]

On Fri, 29 Mar 2013 20:57:02 +0100
Michał Górny <mgorny@gentoo.org> wrote:

> Does this sound like a good solution? Should I run some tests?

And preceding the warm welcome of the idea, I've prepared a patch
for testing. I will send it in reply, as usual.

The generated tree looks like:

├── pypy-c1.9
│   ├── bin
│   │   ├── 2to3
│   │   ├── python -> /usr/bin/pypy-c1.9
│   │   ├── python2 -> python
│   │   └── python-config
│   └── pkgconfig
├── pypy-c2.0
│   ├── bin
│   │   ├── 2to3
│   │   ├── python -> /usr/bin/pypy-c2.0
│   │   ├── python2 -> python
│   │   └── python-config
│   └── pkgconfig
├── python2.5
│   ├── bin
│   │   ├── 2to3
│   │   ├── python -> /usr/bin/python2.5
│   │   ├── python2 -> python
│   │   └── python-config -> /usr/bin/python2.5-config
│   └── pkgconfig
│       ├── python2.pc -> python.pc
│       └── python.pc -> /dev/null
├── python2.6
│   ├── bin
│   │   ├── 2to3 -> /usr/bin/2to3-2.6
│   │   ├── python -> /usr/bin/python2.6
│   │   ├── python2 -> python
│   │   └── python-config -> /usr/bin/python2.6-config
│   └── pkgconfig
│       ├── python2.pc -> python.pc
│       └── python.pc -> /dev/null
├── python2.7
│   ├── bin
│   │   ├── 2to3 -> /usr/bin/2to3-2.7
│   │   ├── python -> /usr/bin/python2.7
│   │   ├── python2 -> python
│   │   └── python-config -> /usr/bin/python2.7-config
│   └── pkgconfig
│       ├── python2.pc -> python.pc
│       └── python.pc -> /usr/lib64/pkgconfig/python-2.7.pc
├── python3.1
│   ├── bin
│   │   ├── 2to3 -> /usr/bin/2to3-3.1
│   │   ├── python -> /usr/bin/python3.1
│   │   ├── python3 -> python
│   │   └── python-config -> /usr/bin/python3.1-config
│   └── pkgconfig
│       ├── python3.pc -> python.pc
│       └── python.pc -> /usr/lib64/pkgconfig/python-3.1.pc
├── python3.2
│   ├── bin
│   │   ├── 2to3 -> /usr/bin/2to3-3.2
│   │   ├── python -> /usr/bin/python3.2
│   │   ├── python3 -> python
│   │   └── python-config -> /usr/bin/python3.2-config
│   └── pkgconfig
│       ├── python3.pc -> python.pc
│       └── python.pc -> /usr/lib64/pkgconfig/python-3.2.pc
└── python3.3
    ├── bin
    │   ├── 2to3 -> /usr/bin/2to3-3.3
    │   ├── python -> /usr/bin/python3.3
    │   ├── python3 -> python
    │   └── python-config -> /usr/bin/python3.3-config
    └── pkgconfig
        ├── python3.pc -> python.pc
        └── python.pc -> /usr/lib64/pkgconfig/python-3.3.pc

-- 
Best regards,
Michał Górny

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]

  reply	other threads:[~2013-03-29 22:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29 19:57 [gentoo-python] Alternate solution for 'python', 'python2' and 'pkg-config python' in ebuilds Michał Górny
2013-03-29 22:38 ` Michał Górny [this message]
2013-03-29 22:39   ` [gentoo-python] [PATCH] Create a temporary links for Python execs and pkg-config Michał Górny
2013-04-03  0:45     ` Mike Gilbert
2013-04-07 18:18     ` 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=20130329233803.2ba9f24b@pomiocik.lan \
    --to=mgorny@gentoo.org \
    --cc=gentoo-python@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