public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/python-docs: python-docs-2.6.2-r1.ebuild python-docs-2.5.4-r1.ebuild python-docs-3.1.1.ebuild python-docs-2.4.4-r1.ebuild
@ 2009-09-27 18:39 Arfrever Frehtes Taifersar Arahesis (arfrever)
  0 siblings, 0 replies; only message in thread
From: Arfrever Frehtes Taifersar Arahesis (arfrever) @ 2009-09-27 18:39 UTC (permalink / raw
  To: gentoo-commits

arfrever    09/09/27 18:39:53

  Modified:             python-docs-2.6.2-r1.ebuild
                        python-docs-2.5.4-r1.ebuild
                        python-docs-3.1.1.ebuild
                        python-docs-2.4.4-r1.ebuild
  Log:
  Synchronize code with dev-lang/python.
  (Portage version: 14444-svn/cvs/Linux x86_64)

Revision  Changes    Path
1.11                 dev-python/python-docs/python-docs-2.6.2-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?rev=1.11&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?rev=1.11&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild?r1=1.10&r2=1.11

Index: python-docs-2.6.2-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- python-docs-2.6.2-r1.ebuild	27 Sep 2009 14:28:56 -0000	1.10
+++ python-docs-2.6.2-r1.ebuild	27 Sep 2009 18:39:53 -0000	1.11
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v 1.10 2009/09/27 14:28:56 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.6.2-r1.ebuild,v 1.11 2009/09/27 18:39:53 arfrever Exp $
 
 DESCRIPTION="HTML documentation for Python"
 HOMEPAGE="http://www.python.org/doc/"
@@ -24,12 +24,22 @@
 	doenvd "60python-docs-${SLOT}"
 }
 
+eselect_python_update() {
+	local ignored_python_slots
+	[[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
+
+	# Create python2 symlink.
+	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
+
+	eselect python update ${ignored_python_slots}
+}
+
 pkg_postinst() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 }
 
 pkg_postrm() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 
 	if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
 		rm -f "${ROOT}etc/env.d/65python-docs"



1.4                  dev-python/python-docs/python-docs-2.5.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild?r1=1.3&r2=1.4

Index: python-docs-2.5.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-docs-2.5.4-r1.ebuild	24 Aug 2009 01:54:57 -0000	1.3
+++ python-docs-2.5.4-r1.ebuild	27 Sep 2009 18:39:53 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v 1.3 2009/08/24 01:54:57 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.5.4-r1.ebuild,v 1.4 2009/09/27 18:39:53 arfrever Exp $
 
 DESCRIPTION="HTML documentation for Python"
 HOMEPAGE="http://www.python.org/doc/"
@@ -29,12 +29,22 @@
 	doenvd "60python-docs-${SLOT}"
 }
 
+eselect_python_update() {
+	local ignored_python_slots
+	[[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
+
+	# Create python2 symlink.
+	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
+
+	eselect python update ${ignored_python_slots}
+}
+
 pkg_postinst() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 }
 
 pkg_postrm() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 
 	if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
 		rm -f "${ROOT}etc/env.d/65python-docs"



1.2                  dev-python/python-docs/python-docs-3.1.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild?r1=1.1&r2=1.2

Index: python-docs-3.1.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- python-docs-3.1.1.ebuild	24 Aug 2009 02:00:05 -0000	1.1
+++ python-docs-3.1.1.ebuild	27 Sep 2009 18:39:53 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v 1.1 2009/08/24 02:00:05 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-3.1.1.ebuild,v 1.2 2009/09/27 18:39:53 arfrever Exp $
 
 DESCRIPTION="HTML documentation for Python"
 HOMEPAGE="http://www.python.org/doc/"
@@ -24,13 +24,22 @@
 	doenvd "60python-docs-${SLOT}"
 }
 
+eselect_python_update() {
+	local ignored_python_slots
+	[[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
+
+	# Create python3 symlink.
+	eselect python update > /dev/null
+
+	eselect python update ${ignored_python_slots}
+}
+
 pkg_postinst() {
-	:
-#	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 }
 
 pkg_postrm() {
-#	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 
 	if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
 		rm -f "${ROOT}etc/env.d/65python-docs"



1.4                  dev-python/python-docs/python-docs-2.4.4-r1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild?r1=1.3&r2=1.4

Index: python-docs-2.4.4-r1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- python-docs-2.4.4-r1.ebuild	24 Aug 2009 01:54:57 -0000	1.3
+++ python-docs-2.4.4-r1.ebuild	27 Sep 2009 18:39:53 -0000	1.4
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v 1.3 2009/08/24 01:54:57 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-docs/python-docs-2.4.4-r1.ebuild,v 1.4 2009/09/27 18:39:53 arfrever Exp $
 
 DESCRIPTION="HTML documentation for Python"
 HOMEPAGE="http://www.python.org/doc/"
@@ -36,12 +36,22 @@
 	doenvd "60python-docs-${SLOT}"
 }
 
+eselect_python_update() {
+	local ignored_python_slots
+	[[ "$(eselect python show)" == "python2."* ]] && ignored_python_slots="--ignore 3.0 --ignore 3.1 --ignore 3.2"
+
+	# Create python2 symlink.
+	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2 > /dev/null
+
+	eselect python update ${ignored_python_slots}
+}
+
 pkg_postinst() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 }
 
 pkg_postrm() {
-	eselect python update --ignore 3.0 --ignore 3.1 --ignore 3.2
+	eselect_python_update
 
 	if ! has_version "<dev-python/python-docs-${SLOT}_alpha" && ! has_version ">=dev-python/python-docs-${SLOT%.*}.$((${SLOT#*.}+1))_alpha"; then
 		rm -f "${ROOT}etc/env.d/65python-docs"






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-27 18:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-27 18:39 [gentoo-commits] gentoo-x86 commit in dev-python/python-docs: python-docs-2.6.2-r1.ebuild python-docs-2.5.4-r1.ebuild python-docs-3.1.1.ebuild python-docs-2.4.4-r1.ebuild Arfrever Frehtes Taifersar Arahesis (arfrever)

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