From: | "Federico Ferri (mescalinum)" <mescalinum@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-tcltk/tclpython: ChangeLog tclpython-4.1-r1.ebuild tclpython-4.1.ebuild |
Date: | Thu, 16 Apr 2009 19:13:21 |
Message-Id: | E1LuX1S-00074z-AB@stork.gentoo.org |
1 | mescalinum 09/04/16 19:13:18 |
2 | |
3 | Modified: ChangeLog |
4 | Added: tclpython-4.1-r1.ebuild |
5 | Removed: tclpython-4.1.ebuild |
6 | Log: |
7 | Correct usage of `python-config`. Fixes bug #247190. |
8 | (Portage version: 2.2_rc28/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.9 dev-tcltk/tclpython/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclpython/ChangeLog?rev=1.9&view=markup |
14 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclpython/ChangeLog?rev=1.9&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclpython/ChangeLog?r1=1.8&r2=1.9 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-tcltk/tclpython/ChangeLog,v |
20 | retrieving revision 1.8 |
21 | retrieving revision 1.9 |
22 | diff -u -r1.8 -r1.9 |
23 | --- ChangeLog 22 Feb 2007 01:33:03 -0000 1.8 |
24 | +++ ChangeLog 16 Apr 2009 19:13:18 -0000 1.9 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-tcltk/tclpython |
27 | -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclpython/ChangeLog,v 1.8 2007/02/22 01:33:03 peper Exp $ |
29 | +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclpython/ChangeLog,v 1.9 2009/04/16 19:13:18 mescalinum Exp $ |
31 | + |
32 | +*tclpython-4.1-r1 (16 Apr 2009) |
33 | + |
34 | + 16 Apr 2009; Federico Ferri <mescalinum@g.o> |
35 | + +tclpython-4.1-r1.ebuild: |
36 | + Correct usage of `python-config`. Fixes bug #247190. |
37 | |
38 | 22 Feb 2007; Piotr JaroszyĆski <peper@g.o> ChangeLog: |
39 | Transition to Manifest2. |
40 | |
41 | |
42 | |
43 | 1.1 dev-tcltk/tclpython/tclpython-4.1-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclpython/tclpython-4.1-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-tcltk/tclpython/tclpython-4.1-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: tclpython-4.1-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2009 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclpython/tclpython-4.1-r1.ebuild,v 1.1 2009/04/16 19:13:18 mescalinum Exp $ |
53 | |
54 | inherit distutils toolchain-funcs |
55 | |
56 | DESCRIPTION="a Python package for Tcl" |
57 | HOMEPAGE="http://jfontain.free.fr/tclpython.htm" |
58 | SRC_URI="http://jfontain.free.fr/${P}.tar.bz2" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~amd64 ~ppc ~x86" |
63 | IUSE="" |
64 | |
65 | DEPEND=">=dev-lang/tcl-8.0 |
66 | >=virtual/python-2.2" |
67 | |
68 | src_compile() { |
69 | distutils_python_version |
70 | $(tc-getCC) -shared -o tclpython.so.${PV} -fPIC ${CFLAGS} -Wall \ |
71 | -I/usr/include/python${PYVER} tcl{python,thread}.c \ |
72 | `python-config --libs` -lpthread -lutil || die |
73 | } |
74 | |
75 | src_install() { |
76 | exeinto /usr/lib/tclpython |
77 | doexe tclpython.so.${PV} || die "lib" |
78 | doexe pkgIndex.tcl || die "tcl" |
79 | |
80 | dodoc CHANGES INSTALL README |
81 | dohtml tclpython.htm |
82 | cd ${D}/usr/lib/tclpython |
83 | ln -sf tclpython.so.${PV} tclpython.so |
84 | } |