Force python2 fixing bug #312241
authorAlfredo Tupone <tupone@gentoo.org>
Thu, 29 Apr 2010 08:11:31 +0000 (08:11 +0000)
committerAlfredo Tupone <tupone@gentoo.org>
Thu, 29 Apr 2010 08:11:31 +0000 (08:11 +0000)
Package-Manager: portage-2.1.8.3/cvs/Linux i686

games-board/pychess/ChangeLog
games-board/pychess/Manifest
games-board/pychess/pychess-0.8.4.ebuild

index dfee18fb4fbd2ce357204e10aabdd8decd0ba5f0..d489803e82177ee26e06b8e3c95a4f926e6822de 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-board/pychess
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pychess/ChangeLog,v 1.6 2009/11/16 22:12:24 maekke Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/pychess/ChangeLog,v 1.7 2010/04/29 08:11:31 tupone Exp $
+
+  29 Apr 2010; Tupone Alfredo <tupone@gentoo.org> pychess-0.8.4.ebuild:
+  Force python2 fixing bug #312241 by arfrever@gentoo.org
 
   16 Nov 2009; Markus Meier <maekke@gentoo.org> pychess-0.8.4.ebuild:
   amd64/x86 stable, bug #292687
index 28911859ab651d1116054d8cc01e5dffc7bc2e16..ff68e889cb2ef023c3ee4db68c6aa24e9b4f0432 100644 (file)
@@ -1,14 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 DIST pychess-0.8.4.tar.gz 1109104 RMD160 e0045dbac93b051f7bdd37548668acc8fdf7bfe6 SHA1 f5d90cb3297f81e63e302e1075df51de95116844 SHA256 05f2bb465d44c022bd474308382f3067d5877a053283756b3324a0a420fbe123
-EBUILD pychess-0.8.4.ebuild 784 RMD160 9ef5b40a444ff09976883c202aba247eef58b0f3 SHA1 5cba5eb19e41e42b84215b592bc6bf9dc80dce09 SHA256 1b63ce90157b6d9604d276fc28b608b99eb87ea17f7947d31fead5bac82be830
-MISC ChangeLog 1009 RMD160 1b3a76027bcbe100d5bb8667b0f6646e13fa86e5 SHA1 1f76fc5e5cc1cb24906c1d4851977c7771539630 SHA256 c88ab8a7f3116a79ad5c2b5e502c8a0feb7f7c421d8403f1cc3a63f6e6666a40
+EBUILD pychess-0.8.4.ebuild 909 RMD160 72f63a69349318ea6d3f5707adecffb773e14e48 SHA1 ce896e5fb0f7670f063c2a2051e0347a3b0e25a5 SHA256 61469ea7046dc399bb8c75ae2a38eb993826df0e9e95946bddc92a72646a13aa
+MISC ChangeLog 1140 RMD160 d46a0aa30897b4262cc98cb9c4fe4584d9ea15af SHA1 12872ee40757b5be63a4887d25b281f95c91a0a6 SHA256 d22a3e5eba8d97e887929e28455aae88cabd2084d69bf3ffacbdfe29ff1c6376
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAksBzmEACgkQkKaRLQcq0GLi0wCgsXGmmBHyzzjeIZ1c/1++h4a6
-Hr8An0G7xB4dllGdzLXuziRY/6OTFniw
-=LR1x
------END PGP SIGNATURE-----
index 356fa6d10347b797a640e5a47aaa512c4c996181..0cdb8ff4e82c8cd6629b7510ff9de581ef355f2d 100644 (file)
@@ -1,6 +1,8 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/pychess/pychess-0.8.4.ebuild,v 1.2 2009/11/16 22:12:24 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/pychess/pychess-0.8.4.ebuild,v 1.3 2010/04/29 08:11:31 tupone Exp $
+PYTHON_DEPEND="2"
+EAPI="2"
 
 inherit python games distutils
 
@@ -21,8 +23,16 @@ DEPEND="dev-python/pygtk
        dev-python/gnome-python-desktop
        x11-themes/gnome-icon-theme"
 
+src_prepare() {
+       python_convert_shebangs -r 2 .
+}
+
+pkg_setup() {
+       python_set_active_version 2
+       games_pkg_setup
+}
+
 src_install() {
-       python_version
        distutils_src_install --install-scripts="${GAMES_BINDIR}"
        dodoc AUTHORS README
        prepgamesdirs