From: "Michał Górny" <mgorny@gentoo.org>
To: Mike Gilbert <floppym@gentoo.org>
Cc: gentoo-python <gentoo-python@lists.gentoo.org>
Subject: Re: [gentoo-python] python_get_version replacement
Date: Mon, 26 Aug 2013 22:21:11 +0200 [thread overview]
Message-ID: <20130826222111.5959fbf4@gentoo.org> (raw)
In-Reply-To: <CAJ0EP432n_s-Nn=+ChK=WVuxMsbv14pOtY7xwqSzQffho_UCVQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 729 bytes --]
Dnia 2013-08-25, o godz. 21:51:17
Mike Gilbert <floppym@gentoo.org> napisał(a):
> I just committed this somewhat ugly code in twisted-core-13.0.0-r2.ebuild.
>
> # Bug 299736
> local pyver=$("${PYTHON}" -c 'import sys; print("%d.%d" %
> sys.version_info[:2])')
> touch "${D%/}${PYTHON_SITEDIR}/Twisted-${PV}-py${pyver}.egg-info"
>
> This takes the place of a python_get_version -l call from the old python.eclass.
>
> Is this something that we should provide in the new eclasses?
I don't really feel like we should be touching egg-info like this.
By the way, doesn't the 'bundle' egg-info imply pulling in all Twisted
packages rather than -core itself?
--
Best regards,
Michał Górny
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 966 bytes --]
next prev parent reply other threads:[~2013-08-26 20:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-26 1:51 [gentoo-python] python_get_version replacement Mike Gilbert
2013-08-26 20:21 ` Michał Górny [this message]
2013-08-26 21:11 ` Mike Gilbert
2013-08-26 21:22 ` 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=20130826222111.5959fbf4@gentoo.org \
--to=mgorny@gentoo.org \
--cc=floppym@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