public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [gentoo-commits] gentoo-x86 commit in app-text/gnome-doc-utils: ChangeLog gnome-doc-utils-0.20.2.ebuild
@ 2010-10-29 19:50 99% Gilles Dartiguelongue (eva)
  0 siblings, 0 replies; 1+ results
From: Gilles Dartiguelongue (eva) @ 2010-10-29 19:50 UTC (permalink / raw
  To: gentoo-commits

eva         10/10/29 19:50:01

  Modified:             ChangeLog gnome-doc-utils-0.20.2.ebuild
  Log:
  Enhance multiple python ABI support, bug #312103.
  
  (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)

Revision  Changes    Path
1.173                app-text/gnome-doc-utils/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?rev=1.173&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?rev=1.173&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/ChangeLog?r1=1.172&r2=1.173

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v
retrieving revision 1.172
retrieving revision 1.173
diff -u -r1.172 -r1.173
--- ChangeLog	17 Oct 2010 15:33:17 -0000	1.172
+++ ChangeLog	29 Oct 2010 19:50:01 -0000	1.173
@@ -1,6 +1,10 @@
 # ChangeLog for app-text/gnome-doc-utils
 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.172 2010/10/17 15:33:17 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/ChangeLog,v 1.173 2010/10/29 19:50:01 eva Exp $
+
+  29 Oct 2010; Gilles Dartiguelongue <eva@gentoo.org>
+  gnome-doc-utils-0.20.2.ebuild:
+  Enhance multiple python ABI support, bug #312103.
 
   17 Oct 2010; Raúl Porcel <armin76@gentoo.org>
   gnome-doc-utils-0.20.1.ebuild:



1.2                  app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild?r1=1.1&r2=1.2

Index: gnome-doc-utils-0.20.2.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- gnome-doc-utils-0.20.2.ebuild	4 Oct 2010 09:19:15 -0000	1.1
+++ gnome-doc-utils-0.20.2.ebuild	29 Oct 2010 19:50:01 -0000	1.2
@@ -1,10 +1,12 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v 1.1 2010/10/04 09:19:15 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-text/gnome-doc-utils/gnome-doc-utils-0.20.2.ebuild,v 1.2 2010/10/29 19:50:01 eva Exp $
 
 EAPI="3"
 GCONF_DEBUG="no"
 PYTHON_DEPEND="2:2.4"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
 
 inherit gnome2 python
 
@@ -37,7 +39,7 @@
 
 pkg_setup() {
 	G2CONF="${G2CONF} --disable-scrollkeeper"
-	python_set_active_version 2
+	python_pkg_setup
 }
 
 src_prepare() {
@@ -46,10 +48,35 @@
 	# disable pyc compiling
 	mv py-compile py-compile.orig
 	ln -s $(type -P true) py-compile
+
+	python_copy_sources
+}
+
+src_configure() {
+	python_execute_function -s gnome2_src_configure
+}
+
+src_compile() {
+	python_execute_function -d -s
+}
+
+src_test() {
+	python_execute_function -d -s
+}
+
+src_install() {
+	installation() {
+		gnome2_src_install
+		python_convert_shebangs $(python_get_version) "${D}"usr/bin/xml2po
+		mv "${D}"usr/bin/xml2po "${D}"usr/bin/xml2po-$(python_get_version)
+	}
+	python_execute_function -s installation
+	python_clean_installation_image
+
+	python_generate_wrapper_scripts -E -f "${D}"usr/bin/xml2po
 }
 
 pkg_postinst() {
-	python_need_rebuild
 	python_mod_optimize xml2po
 	gnome2_pkg_postinst
 }






^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2010-10-29 19:50 99% [gentoo-commits] gentoo-x86 commit in app-text/gnome-doc-utils: ChangeLog gnome-doc-utils-0.20.2.ebuild Gilles Dartiguelongue (eva)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox