Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libcaca: ChangeLog libcaca-0.99_beta18.ebuild
Date: Sun, 08 Apr 2012 11:03:43
Message-Id: 20120408110333.5E8672004B@flycatcher.gentoo.org
1 radhermit 12/04/08 11:03:33
2
3 Modified: ChangeLog libcaca-0.99_beta18.ebuild
4 Log:
5 Fix python support.
6
7 (Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.99 media-libs/libcaca/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/ChangeLog?rev=1.99&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/ChangeLog?rev=1.99&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/ChangeLog?r1=1.98&r2=1.99
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v
19 retrieving revision 1.98
20 retrieving revision 1.99
21 diff -u -r1.98 -r1.99
22 --- ChangeLog 8 Apr 2012 08:56:25 -0000 1.98
23 +++ ChangeLog 8 Apr 2012 11:03:33 -0000 1.99
24 @@ -1,6 +1,9 @@
25 # ChangeLog for media-libs/libcaca
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.98 2012/04/08 08:56:25 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/ChangeLog,v 1.99 2012/04/08 11:03:33 radhermit Exp $
29 +
30 + 08 Apr 2012; Tim Harder <radhermit@g.o> libcaca-0.99_beta18.ebuild:
31 + Fix python support.
32
33 *libcaca-0.99_beta18 (08 Apr 2012)
34
35
36
37
38 1.2 media-libs/libcaca/libcaca-0.99_beta18.ebuild
39
40 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild?rev=1.2&view=markup
41 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild?rev=1.2&content-type=text/plain
42 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild?r1=1.1&r2=1.2
43
44 Index: libcaca-0.99_beta18.ebuild
45 ===================================================================
46 RCS file: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild,v
47 retrieving revision 1.1
48 retrieving revision 1.2
49 diff -u -r1.1 -r1.2
50 --- libcaca-0.99_beta18.ebuild 8 Apr 2012 08:56:25 -0000 1.1
51 +++ libcaca-0.99_beta18.ebuild 8 Apr 2012 11:03:33 -0000 1.2
52 @@ -1,12 +1,15 @@
53 # Copyright 1999-2012 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 -# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild,v 1.1 2012/04/08 08:56:25 radhermit Exp $
56 +# $Header: /var/cvsroot/gentoo-x86/media-libs/libcaca/libcaca-0.99_beta18.ebuild,v 1.2 2012/04/08 11:03:33 radhermit Exp $
57
58 EAPI=4
59 -PYTHON_DEPEND="*"
60 +PYTHON_DEPEND="python? 2"
61 +SUPPORT_PYTHON_ABIS="1"
62 +RESTRICT_PYTHON_ABIS="3.*"
63 PYTHON_MODNAME="caca"
64 +DISTUTILS_SETUP_FILES=("python|setup.py")
65
66 -inherit autotools flag-o-matic mono multilib java-pkg-opt-2 python
67 +inherit autotools flag-o-matic mono multilib java-pkg-opt-2 distutils
68
69 MY_P=${P/_/.}
70
71 @@ -81,14 +84,15 @@
72 use mono && export CSC=gmcs #329651
73 export VARTEXFONTS="${T}/fonts" #44128
74
75 + # python bindings are built via distutils
76 econf \
77 + --disable-python \
78 $(use_enable static-libs static) \
79 $(use_enable slang) \
80 $(use_enable ncurses) \
81 $(use_enable X x11) $(use_with X x) --x-libraries=/usr/$(get_libdir) \
82 $(use_enable opengl gl) \
83 $(use_enable mono csharp) \
84 - $(use_enable python) \
85 $(use_enable java) \
86 $(use_enable cxx) \
87 $(use_enable ruby) \
88 @@ -96,9 +100,21 @@
89 $(use_enable doc)
90 }
91
92 +src_compile() {
93 + default
94 +
95 + if use python ; then
96 + distutils_src_compile
97 + fi
98 +}
99 +
100 src_install() {
101 default
102
103 + if use python ; then
104 + distutils_src_install
105 + fi
106 +
107 if use java; then
108 java-pkg_newjar java/libjava.jar
109 fi