1 |
Thomas Sachau yazmış: |
2 |
> Ali Polatel (hawking) schrieb: |
3 |
> > use threads \ |
4 |
> > && myconf="${myconf} --with-threads" \ |
5 |
> > || myconf="${myconf} --without-threads" |
6 |
> |
7 |
> What about an econf option $(use_with threads)? |
8 |
> |
9 |
> > econf \ |
10 |
> > --with-fpectl \ |
11 |
> > --enable-shared \ |
12 |
> > `use_enable ipv6` \ |
13 |
> > --infodir='${prefix}'/share/info \ |
14 |
> > --mandir='${prefix}'/share/man \ |
15 |
> > --with-libc='' \ |
16 |
> > ${myconf} || die |
17 |
> |
18 |
> "|| die" could be dropped |
19 |
> |
20 |
> > src_install() { |
21 |
> > dodir /usr |
22 |
> |
23 |
> Will the install fail without a /usr dir? |
24 |
> |
25 |
> > src_configure |
26 |
> > make DESTDIR="${D}" altinstall maninstall || die |
27 |
> |
28 |
> Why not emake? |
29 |
> |
30 |
> > if use examples ; then |
31 |
> > mkdir -p "${D}"/usr/share/doc/${P}/examples |
32 |
> > cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples |
33 |
> > fi |
34 |
> |
35 |
> what about this: |
36 |
> insinto /usr/share/doc/${P}/examples |
37 |
> doins -r Tools |
38 |
> |
39 |
> > python_mod_cleanup /usr/lib/python${PYVER} |
40 |
> > [[ "$(get_libdir)" == "lib" ]] || \ |
41 |
> > python_mod_cleanup /usr/$(get_libdir)/python${PYVER} |
42 |
> |
43 |
> Why not remove the first 2 lines? |
44 |
> |
45 |
> > python_mod_optimize -x "(site-packages|test)" \ |
46 |
> > /usr/lib/python${PYVER} |
47 |
> > [[ "$(get_libdir)" == "lib" ]] || \ |
48 |
> > python_mod_optimize -x "(site-packages|test)" \ |
49 |
> > /usr/$(get_libdir)/python${PYVER} |
50 |
> |
51 |
> the same here |
52 |
> |
53 |
> |
54 |
|
55 |
+*python-2.6-r1 (06 Oct 2008) |
56 |
+ |
57 |
+ 06 Oct 2008; Ali Polatel <hawking@g.o> -python-2.6.ebuild, |
58 |
+ +python-2.6-r1.ebuild: |
59 |
+ Revbump. Use use_with for threads, remove die from econf, use emake |
60 |
+ instead of make, remove redundant python_mod_{cleanup,optimize}. Drop old. |
61 |
+ |
62 |
|
63 |
Thanks! |
64 |
|
65 |
> -- |
66 |
> Thomas Sachau |
67 |
> |
68 |
> Gentoo Linux Developer |
69 |
> |
70 |
|
71 |
-- |
72 |
Regards, |
73 |
Ali Polatel |