diff options
author | Naohiro Aota <naota@gentoo.org> | 2012-06-27 21:25:49 +0000 |
---|---|---|
committer | Naohiro Aota <naota@gentoo.org> | 2012-06-27 21:25:49 +0000 |
commit | 8ddffb5be2300f2203cde582b2eab7b7a07bfda2 (patch) | |
tree | 07da76f67094b598b2414588347d42cbba866d83 | |
parent | Upload blender.png to mirrors as blender-2.48a.png.bz2 wrt #370903 (diff) | |
download | gentoo-2-8ddffb5be2300f2203cde582b2eab7b7a07bfda2.tar.gz gentoo-2-8ddffb5be2300f2203cde582b2eab7b7a07bfda2.tar.bz2 gentoo-2-8ddffb5be2300f2203cde582b2eab7b7a07bfda2.zip |
Handle python version peroperly even when python3 is set for system default. Patch by Alexander Sulfrian. #423005; Use vcs-snapshot.eclass to unpack the source.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)
-rw-r--r-- | app-text/landslide/ChangeLog | 10 | ||||
-rw-r--r-- | app-text/landslide/landslide-1.0.0.ebuild | 14 | ||||
-rw-r--r-- | app-text/landslide/landslide-1.0.1.ebuild | 14 |
3 files changed, 24 insertions, 14 deletions
diff --git a/app-text/landslide/ChangeLog b/app-text/landslide/ChangeLog index 9284b2b2fea7..8fa776620cca 100644 --- a/app-text/landslide/ChangeLog +++ b/app-text/landslide/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-text/landslide -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/ChangeLog,v 1.2 2011/11/19 08:56:26 naota Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/ChangeLog,v 1.3 2012/06/27 21:25:49 naota Exp $ + + 27 Jun 2012; Naohiro Aota <naota@gentoo.org> landslide-1.0.0.ebuild, + landslide-1.0.1.ebuild: + Handle python version peroperly even when python3 is set for system default. + Patch by Alexander Sulfrian. #423005; Use vcs-snapshot.eclass to unpack the + source. *landslide-1.0.1 (19 Nov 2011) diff --git a/app-text/landslide/landslide-1.0.0.ebuild b/app-text/landslide/landslide-1.0.0.ebuild index 3dffe65824e8..a65a4b7cca48 100644 --- a/app-text/landslide/landslide-1.0.0.ebuild +++ b/app-text/landslide/landslide-1.0.0.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/landslide-1.0.0.ebuild,v 1.1 2011/09/15 16:20:44 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/landslide-1.0.0.ebuild,v 1.2 2012/06/27 21:25:49 naota Exp $ EAPI=3 -inherit distutils +PYTHON_DEPEND="2" + +inherit distutils python vcs-snapshot DESCRIPTION="Landslide generates a slideshow using the slides that power the html5-slides presentation" HOMEPAGE="https://github.com/adamzap/landslide" @@ -21,7 +23,7 @@ RDEPEND="dev-python/docutils dev-python/markdown dev-python/pygments" -src_unpack() { - unpack ${A} - mv adamzap-landslide-* ${P} || die +pkg_setup() { + python_set_active_version 2 + python_pkg_setup } diff --git a/app-text/landslide/landslide-1.0.1.ebuild b/app-text/landslide/landslide-1.0.1.ebuild index d3b10a99bd69..40018b8e7dfe 100644 --- a/app-text/landslide/landslide-1.0.1.ebuild +++ b/app-text/landslide/landslide-1.0.1.ebuild @@ -1,10 +1,12 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/landslide-1.0.1.ebuild,v 1.1 2011/11/19 08:56:26 naota Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/landslide/landslide-1.0.1.ebuild,v 1.2 2012/06/27 21:25:49 naota Exp $ EAPI=3 -inherit distutils +PYTHON_DEPEND="2" + +inherit distutils python vcs-snapshot DESCRIPTION="Landslide generates a slideshow using the slides that power the html5-slides presentation" HOMEPAGE="https://github.com/adamzap/landslide" @@ -21,7 +23,7 @@ RDEPEND="dev-python/docutils dev-python/markdown dev-python/pygments" -src_unpack() { - unpack ${A} - mv adamzap-landslide-* ${P} || die +pkg_setup() { + python_set_active_version 2 + python_pkg_setup } |