From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-python@lists.gentoo.org
Cc: python@gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-python] [PATCH 06/10] Stop using python.eclass.
Date: Mon, 26 Nov 2012 22:20:33 +0100 [thread overview]
Message-ID: <1353964837-24198-7-git-send-email-mgorny@gentoo.org> (raw)
In-Reply-To: <1353964837-24198-1-git-send-email-mgorny@gentoo.org>
Inline the deps, remove unnecessary code.
---
gx86/dev-lang/python/python-2.7.3-r3.ebuild | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
index 08eabb8..618f7ef 100644
--- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild
+++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild
@@ -6,7 +6,7 @@ EAPI="2"
WANT_AUTOMAKE="none"
WANT_LIBTOOL="none"
-inherit autotools eutils flag-o-matic multilib pax-utils python toolchain-funcs
+inherit autotools eutils flag-o-matic multilib pax-utils toolchain-funcs
MY_P="Python-${PV}"
PATCHSET_REVISION="1"
@@ -18,7 +18,6 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2
LICENSE="PSF-2"
SLOT="2.7"
-PYTHON_ABI="${SLOT}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
IUSE="-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml"
@@ -56,12 +55,12 @@ DEPEND="${RDEPEND}
!sys-devel/gcc[libffi]"
RDEPEND+=" !build? ( app-misc/mime-types )
doc? ( dev-python/python-docs:${SLOT} )"
+PDEPEND="app-admin/eselect-python
+ app-admin/python-updater"
S="${WORKDIR}/${MY_P}"
pkg_setup() {
- python_pkg_setup
-
if use berkdb; then
ewarn "\"bsddb\" module is out-of-date and no longer maintained inside dev-lang/python."
ewarn "\"bsddb\" and \"dbhash\" modules have been additionally removed in Python 3."
@@ -210,10 +209,6 @@ src_test() {
return
fi
- # Byte compiling should be enabled here.
- # Otherwise test_import fails.
- python_enable_pyc
-
# Skip failing tests.
local skipped_tests="distutils gdb"
--
1.8.0
next prev parent reply other threads:[~2012-11-26 21:24 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-26 21:20 [gentoo-python] python2.7 ebuild patches, split up Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 01/10] python-utils-r1: support all EAPIs Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 02/10] keywords Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 03/10] Package the compiled .pyc & .pyo files Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 04/10] Commonize out $(python_get_libdir) in src_install() Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 05/10] Replace python_get_libdir with inlined path Michał Górny
2012-11-26 21:20 ` Michał Górny [this message]
2012-11-26 21:20 ` [gentoo-python] [PATCH 07/10] Install 'epython' module for python-exec Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 08/10] Clean up DESCRIPTION and whitespace Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 09/10] Clean up the bsddb messages Michał Górny
2012-11-26 21:20 ` [gentoo-python] [PATCH 10/10] Stop passing meaningless EPYTHON to make Michał Górny
2012-11-26 21:54 ` Michał Górny
2012-11-29 19:44 ` [gentoo-python] [PATCH 10/10 updated] Replace static EPYTHON setting with python-any-r1 Michał Górny
2012-11-29 19:58 ` [gentoo-python] " Mike Gilbert
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=1353964837-24198-7-git-send-email-mgorny@gentoo.org \
--to=mgorny@gentoo.org \
--cc=gentoo-python@lists.gentoo.org \
--cc=python@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