1 |
Inline the deps, remove unnecessary code. |
2 |
--- |
3 |
gx86/dev-lang/python/python-2.7.3-r3.ebuild | 11 +++-------- |
4 |
1 file changed, 3 insertions(+), 8 deletions(-) |
5 |
|
6 |
diff --git a/gx86/dev-lang/python/python-2.7.3-r3.ebuild b/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
7 |
index 08eabb8..618f7ef 100644 |
8 |
--- a/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
9 |
+++ b/gx86/dev-lang/python/python-2.7.3-r3.ebuild |
10 |
@@ -6,7 +6,7 @@ EAPI="2" |
11 |
WANT_AUTOMAKE="none" |
12 |
WANT_LIBTOOL="none" |
13 |
|
14 |
-inherit autotools eutils flag-o-matic multilib pax-utils python toolchain-funcs |
15 |
+inherit autotools eutils flag-o-matic multilib pax-utils toolchain-funcs |
16 |
|
17 |
MY_P="Python-${PV}" |
18 |
PATCHSET_REVISION="1" |
19 |
@@ -18,7 +18,6 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2 |
20 |
|
21 |
LICENSE="PSF-2" |
22 |
SLOT="2.7" |
23 |
-PYTHON_ABI="${SLOT}" |
24 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" |
25 |
IUSE="-berkdb build doc elibc_uclibc examples gdbm ipv6 +ncurses +readline sqlite +ssl +threads tk +wide-unicode wininst +xml" |
26 |
|
27 |
@@ -56,12 +55,12 @@ DEPEND="${RDEPEND} |
28 |
!sys-devel/gcc[libffi]" |
29 |
RDEPEND+=" !build? ( app-misc/mime-types ) |
30 |
doc? ( dev-python/python-docs:${SLOT} )" |
31 |
+PDEPEND="app-admin/eselect-python |
32 |
+ app-admin/python-updater" |
33 |
|
34 |
S="${WORKDIR}/${MY_P}" |
35 |
|
36 |
pkg_setup() { |
37 |
- python_pkg_setup |
38 |
- |
39 |
if use berkdb; then |
40 |
ewarn "\"bsddb\" module is out-of-date and no longer maintained inside dev-lang/python." |
41 |
ewarn "\"bsddb\" and \"dbhash\" modules have been additionally removed in Python 3." |
42 |
@@ -210,10 +209,6 @@ src_test() { |
43 |
return |
44 |
fi |
45 |
|
46 |
- # Byte compiling should be enabled here. |
47 |
- # Otherwise test_import fails. |
48 |
- python_enable_pyc |
49 |
- |
50 |
# Skip failing tests. |
51 |
local skipped_tests="distutils gdb" |
52 |
|
53 |
-- |
54 |
1.8.0 |