Gentoo Archives: gentoo-dev

From: Thomas Sachau <tommy@g.o>
To: gentoo-dev@l.g.o, hawking@g.o
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in dev-lang/python: ChangeLog python-2.6.ebuild python-2.5.2-r6.ebuild
Date: Sun, 05 Oct 2008 19:27:33
Message-Id: 48E91514.5030509@gentoo.org
1 Ali Polatel (hawking) schrieb:
2 > use threads \
3 > && myconf="${myconf} --with-threads" \
4 > || myconf="${myconf} --without-threads"
5
6 What about an econf option $(use_with threads)?
7
8 > econf \
9 > --with-fpectl \
10 > --enable-shared \
11 > `use_enable ipv6` \
12 > --infodir='${prefix}'/share/info \
13 > --mandir='${prefix}'/share/man \
14 > --with-libc='' \
15 > ${myconf} || die
16
17 "|| die" could be dropped
18
19 > src_install() {
20 > dodir /usr
21
22 Will the install fail without a /usr dir?
23
24 > src_configure
25 > make DESTDIR="${D}" altinstall maninstall || die
26
27 Why not emake?
28
29 > if use examples ; then
30 > mkdir -p "${D}"/usr/share/doc/${P}/examples
31 > cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples
32 > fi
33
34 what about this:
35 insinto /usr/share/doc/${P}/examples
36 doins -r Tools
37
38 > python_mod_cleanup /usr/lib/python${PYVER}
39 > [[ "$(get_libdir)" == "lib" ]] || \
40 > python_mod_cleanup /usr/$(get_libdir)/python${PYVER}
41
42 Why not remove the first 2 lines?
43
44 > python_mod_optimize -x "(site-packages|test)" \
45 > /usr/lib/python${PYVER}
46 > [[ "$(get_libdir)" == "lib" ]] || \
47 > python_mod_optimize -x "(site-packages|test)" \
48 > /usr/$(get_libdir)/python${PYVER}
49
50 the same here
51
52
53 --
54 Thomas Sachau
55
56 Gentoo Linux Developer

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies