diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-04 23:32:26 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-04 23:32:26 +0000 |
commit | e2f54b256dbc628b80fec62ee431f98053afb41c (patch) | |
tree | 21d5e543aa50f1bbc33d0034b3b97d11d112225f /media-gfx/skencil | |
parent | Removing older versions (diff) | |
download | gentoo-2-e2f54b256dbc628b80fec62ee431f98053afb41c.tar.gz gentoo-2-e2f54b256dbc628b80fec62ee431f98053afb41c.tar.bz2 gentoo-2-e2f54b256dbc628b80fec62ee431f98053afb41c.zip |
Use Python 2 (bug #313515).
(Portage version: 2.2.0_alpha26_p6/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/skencil')
-rw-r--r-- | media-gfx/skencil/ChangeLog | 6 | ||||
-rw-r--r-- | media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild | 42 |
2 files changed, 30 insertions, 18 deletions
diff --git a/media-gfx/skencil/ChangeLog b/media-gfx/skencil/ChangeLog index f919a653f2fb..7ecd367dbcee 100644 --- a/media-gfx/skencil/ChangeLog +++ b/media-gfx/skencil/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/skencil # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/ChangeLog,v 1.41 2011/03/04 23:31:10 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/ChangeLog,v 1.42 2011/03/04 23:32:26 arfrever Exp $ + + 04 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + skencil-0.6.18_pre20080519.ebuild: + Use Python 2 (bug #313515). 04 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> -skencil-0.6.18_pre20080519-r1.ebuild: diff --git a/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild b/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild index f297c1e2c946..d2c8e75f6614 100644 --- a/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild +++ b/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild @@ -1,30 +1,38 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v 1.10 2010/06/08 14:14:16 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/skencil/skencil-0.6.18_pre20080519.ebuild,v 1.11 2011/03/04 23:32:26 arfrever Exp $ -EAPI=2 +EAPI="3" +PYTHON_DEPEND="2" +PYTHON_USE_WITH="tk" -inherit python multilib eutils +inherit eutils multilib python -IUSE="nls" -S=${WORKDIR}/${PN}-0.6 DESCRIPTION="Interactive X11 vector drawing program" -SRC_URI="mirror://gentoo/${P}.tar.bz2" HOMEPAGE="http://www.skencil.org/" -DEPEND="dev-lang/python[tk] - >=dev-python/imaging-1.1.2-r1 +SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 hppa ppc ppc64 sparc x86" +IUSE="nls" + +DEPEND=">=dev-python/imaging-1.1.2-r1 + dev-python/pyxml dev-python/reportlab dev-lang/tk nls? ( sys-devel/gettext )" -RDEPEND="!elibc_glibc? ( nls? ( sys-devel/gettext ) ) - dev-python/pyxml" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="amd64 hppa ppc ppc64 sparc x86" +RDEPEND="${DEPEND} + !elibc_glibc? ( nls? ( sys-devel/gettext ) )" + +S="${WORKDIR}/${PN}-0.6" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}/skencil-configure-without-nls.diff" epatch "${FILESDIR}/skencil-0.6.17-setup.py.patch" |