summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2013-02-16 00:24:16 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2013-02-16 00:24:16 +0000
commit5e1289a088413d3ba733858679c840717f463eff (patch)
tree4360d7c8447a808f2d6428524235b23471abf9cc /sys-apps/pyrenamer
parentVersion bump to 0.5.6. (diff)
downloadgentoo-2-5e1289a088413d3ba733858679c840717f463eff.tar.gz
gentoo-2-5e1289a088413d3ba733858679c840717f463eff.tar.bz2
gentoo-2-5e1289a088413d3ba733858679c840717f463eff.zip
Restrict python3 and use python2 even if python3 is set as the main python interpreter. Bug #454860
(Portage version: 2.1.11.52/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2)
Diffstat (limited to 'sys-apps/pyrenamer')
-rw-r--r--sys-apps/pyrenamer/ChangeLog12
-rw-r--r--sys-apps/pyrenamer/pyrenamer-0.6.0-r1.ebuild (renamed from sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild)12
2 files changed, 18 insertions, 6 deletions
diff --git a/sys-apps/pyrenamer/ChangeLog b/sys-apps/pyrenamer/ChangeLog
index 8c396869824b..8598aed9fd48 100644
--- a/sys-apps/pyrenamer/ChangeLog
+++ b/sys-apps/pyrenamer/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/pyrenamer
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/ChangeLog,v 1.2 2010/08/05 21:06:19 hwoarang Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/ChangeLog,v 1.3 2013/02/16 00:24:16 hwoarang Exp $
+
+*pyrenamer-0.6.0-r1 (16 Feb 2013)
+
+ 16 Feb 2013; Markos Chandras <hwoarang@gentoo.org> +pyrenamer-0.6.0-r1.ebuild,
+ -pyrenamer-0.6.0.ebuild:
+ Restrict python3 and use python2 even if python3 is set as the main python
+ interpreter. Bug #454860
05 Aug 2010; Markos Chandras <hwoarang@gentoo.org> pyrenamer-0.6.0.ebuild:
QA fixes thanks to Arfrever
@@ -11,4 +18,3 @@
+pyrenamer-0.6.0.ebuild, +metadata.xml:
Moved from sunrise overlay. Fixed bug #210970. Thanks to Fabiano
Francesconi <fabiano.francesconi@gmail.com> for the sunrise ebuild.
-
diff --git a/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild b/sys-apps/pyrenamer/pyrenamer-0.6.0-r1.ebuild
index 3498a5dd17ad..390de3b7898c 100644
--- a/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild
+++ b/sys-apps/pyrenamer/pyrenamer-0.6.0-r1.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/pyrenamer-0.6.0.ebuild,v 1.2 2010/08/05 21:06:19 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pyrenamer/pyrenamer-0.6.0-r1.ebuild,v 1.1 2013/02/16 00:24:16 hwoarang Exp $
EAPI="3"
PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
inherit python gnome2
@@ -21,10 +23,14 @@ RDEPEND="dev-python/pygtk:2
music? ( || ( dev-python/eyeD3 app-misc/hachoir-metadata ) )"
pkg_setup() {
- python_set_active_version 2
python_pkg_setup
}
+src_prepare() {
+ python_convert_shebangs -r 2 .
+ gnome2_src_prepare
+}
+
pkg_postinst() {
python_mod_optimize ${PN}
}