Gentoo Archives: gentoo-commits

From: "Hanno Boeck (hanno)" <hanno@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/skencil: ChangeLog skencil-0.6.18_pre20080519.ebuild skencil-0.6.18_pre20080519-r1.ebuild
Date: Fri, 21 Nov 2008 12:33:01
Message-Id: E1L3VBy-0002Vl-GG@stork.gentoo.org
1 hanno 08/11/21 12:32:58
2
3 Modified: ChangeLog skencil-0.6.18_pre20080519.ebuild
4 Added: skencil-0.6.18_pre20080519-r1.ebuild
5 Log:
6 skencil: accidently added a stable EAPI=2 ebuild, restored the old one and added the new eapi stuff in an -r1
7 ebuild
8 (Portage version: 2.2_rc14/cvs/Linux 2.6.28-rc5 x86_64)
9
10 Revision Changes Path
11 1.38 media-gfx/skencil/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/ChangeLog?rev=1.38&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/ChangeLog?rev=1.38&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/ChangeLog?r1=1.37&r2=1.38
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/skencil/ChangeLog,v
20 retrieving revision 1.37
21 retrieving revision 1.38
22 diff -u -r1.37 -r1.38
23 --- ChangeLog 16 Nov 2008 23:27:17 -0000 1.37
24 +++ ChangeLog 21 Nov 2008 12:32:58 -0000 1.38
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-gfx/skencil
27 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/ChangeLog,v 1.37 2008/11/16 23:27:17 hanno Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/ChangeLog,v 1.38 2008/11/21 12:32:58 hanno Exp $
30 +
31 +*skencil-0.6.18_pre20080519-r1 (21 Nov 2008)
32 +
33 + 21 Nov 2008; Hanno Boeck <hanno@g.o>
34 + skencil-0.6.18_pre20080519.ebuild, +skencil-0.6.18_pre20080519-r1.ebuild:
35 + Restore ebuild without EAPI=2, add new, unstable-keyworded one with EAPI=2
36 + features.
37
38 16 Nov 2008; Hanno Boeck <hanno@g.o>
39 skencil-0.6.18_pre20080519.ebuild:
40
41
42
43 1.9 media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild?rev=1.9&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild?rev=1.9&content-type=text/plain
47 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild?r1=1.8&r2=1.9
48
49 Index: skencil-0.6.18_pre20080519.ebuild
50 ===================================================================
51 RCS file: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v
52 retrieving revision 1.8
53 retrieving revision 1.9
54 diff -u -r1.8 -r1.9
55 --- skencil-0.6.18_pre20080519.ebuild 16 Nov 2008 23:27:17 -0000 1.8
56 +++ skencil-0.6.18_pre20080519.ebuild 21 Nov 2008 12:32:58 -0000 1.9
57 @@ -1,8 +1,6 @@
58 # Copyright 1999-2008 Gentoo Foundation
59 # Distributed under the terms of the GNU General Public License v2
60 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v 1.8 2008/11/16 23:27:17 hanno Exp $
61 -
62 -EAPI=2
63 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v 1.9 2008/11/21 12:32:58 hanno Exp $
64
65 inherit python multilib eutils
66
67 @@ -11,8 +9,7 @@
68 DESCRIPTION="Interactive X11 vector drawing program"
69 SRC_URI="mirror://gentoo/${P}.tar.bz2"
70 HOMEPAGE="http://www.skencil.org/"
71 -DEPEND="dev-lang/python[tk]
72 - >=dev-python/imaging-1.1.2-r1
73 +DEPEND=">=dev-python/imaging-1.1.2-r1
74 dev-python/reportlab
75 dev-lang/tk
76 nls? ( sys-devel/gettext )"
77 @@ -22,6 +19,10 @@
78 LICENSE="GPL-2"
79 KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
80
81 +pkg_setup() {
82 + python_tkinter_exists
83 +}
84 +
85 src_unpack() {
86 unpack ${A}
87 cd "${S}"
88
89
90
91 1.1 media-gfx/skencil/skencil-0.6.18_pre20080519-r1.ebuild
92
93 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519-r1.ebuild?rev=1.1&view=markup
94 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519-r1.ebuild?rev=1.1&content-type=text/plain
95
96 Index: skencil-0.6.18_pre20080519-r1.ebuild
97 ===================================================================
98 # Copyright 1999-2008 Gentoo Foundation
99 # Distributed under the terms of the GNU General Public License v2
100 # $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519-r1.ebuild,v 1.1 2008/11/21 12:32:58 hanno Exp $
101
102 EAPI=2
103
104 inherit python multilib eutils
105
106 IUSE="nls"
107 S=${WORKDIR}/${PN}-0.6
108 DESCRIPTION="Interactive X11 vector drawing program"
109 SRC_URI="mirror://gentoo/${P}.tar.bz2"
110 HOMEPAGE="http://www.skencil.org/"
111 DEPEND="dev-lang/python[tk]
112 >=dev-python/imaging-1.1.2-r1
113 dev-python/reportlab
114 dev-lang/tk
115 nls? ( sys-devel/gettext )"
116 RDEPEND="!elibc_glibc? ( nls? ( sys-devel/gettext ) )
117 dev-python/pyxml"
118 SLOT="0"
119 LICENSE="GPL-2"
120 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
121
122 src_unpack() {
123 unpack ${A}
124 cd "${S}"
125 epatch "${FILESDIR}/skencil-configure-without-nls.diff"
126 epatch "${FILESDIR}/skencil-0.6.17-setup.py.patch"
127
128 # Fix hardcoded libdir
129 sed -i -e "s:lib/:$(get_libdir)/:" \
130 -e "s:lib':$(get_libdir)':" \
131 "${S}"/{Pax,Filter,Sketch/Modules}/Makefile.pre.in \
132 "${S}"/Plugins/Objects/Lib/multilinetext/{TextEditor,styletext}.py \
133 "${S}"/setup.py || die "sed failed"
134 }
135
136 src_compile() {
137 ./setup.py configure `use_with nls` || die
138 BLDSHARED='gcc -shared' ./setup.py build || die
139 }
140
141 src_install () {
142 ./setup.py install --prefix=/usr --dest-dir="${D}"
143 assert "setup.py install failed"
144
145 newdoc Pax/README README.pax
146 newdoc Filter/README README.filter
147 dodoc Examples Doc Misc
148 dodoc README INSTALL BUGS CREDITS TODO PROJECTS FAQ NEWS
149 }