diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-17 15:14:43 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-05-17 15:14:43 +0000 |
commit | cd9ec4d554dcb34347875d757a7b5d26d153a74c (patch) | |
tree | 172b5b26c973a54a3eb244a84ed8796b6c23fa3c /dev-lang/python | |
parent | Delete older ebuilds. (diff) | |
download | gentoo-2-cd9ec4d554dcb34347875d757a7b5d26d153a74c.tar.gz gentoo-2-cd9ec4d554dcb34347875d757a7b5d26d153a74c.tar.bz2 gentoo-2-cd9ec4d554dcb34347875d757a7b5d26d153a74c.zip |
Use target pydoc script in pydoc init.d script (bug #361867).
(Portage version: 2.2.0_alpha33_p36/cvs/Linux x86_64)
Diffstat (limited to 'dev-lang/python')
-rw-r--r-- | dev-lang/python/ChangeLog | 8 | ||||
-rwxr-xr-x | dev-lang/python/files/pydoc.init | 11 | ||||
-rw-r--r-- | dev-lang/python/python-2.4.6.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.5.4-r4.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.6.5-r3.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.6.6-r2.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-2.7.1-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-3.1.3-r1.ebuild | 5 | ||||
-rw-r--r-- | dev-lang/python/python-3.2.ebuild | 5 |
9 files changed, 34 insertions, 20 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog index 8b8602202513..0992bb79336d 100644 --- a/dev-lang/python/ChangeLog +++ b/dev-lang/python/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-lang/python # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.534 2011/04/22 18:18:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.535 2011/05/17 15:14:43 arfrever Exp $ + + 17 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + python-2.4.6.ebuild, python-2.5.4-r4.ebuild, python-2.6.5-r3.ebuild, + python-2.6.6-r2.ebuild, python-2.7.1-r1.ebuild, python-3.1.3-r1.ebuild, + python-3.2.ebuild, files/pydoc.init: + Use target pydoc script in pydoc init.d script (bug #361867). 22 Apr 2011; Raúl Porcel <armin76@gentoo.org> python-2.7.1-r1.ebuild: alpha/ia64/m68k/s390/sh stable wrt #358717 diff --git a/dev-lang/python/files/pydoc.init b/dev-lang/python/files/pydoc.init index 19b63e31dff3..f67371d8d9a8 100755 --- a/dev-lang/python/files/pydoc.init +++ b/dev-lang/python/files/pydoc.init @@ -1,21 +1,22 @@ #!/sbin/runscript -# Copyright 1999-2008 Gentoo Technologies, Inc. +# Copyright 1999-2011 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public Licence v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.init,v 1.2 2008/06/30 15:10:28 hawking Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/files/pydoc.init,v 1.3 2011/05/17 15:14:43 arfrever Exp $ depend() { need net } start() { - if [ -z $PYDOC_PORT ] ; then + if [ -z "${PYDOC_PORT}" ]; then eerror "Port not set" return 1 fi - ebegin "Starting pydoc server on port $PYDOC_PORT" + + ebegin "Starting pydoc server on port ${PYDOC_PORT}" start-stop-daemon --start --background --make-pidfile \ --pidfile /var/run/pydoc.pid \ - --startas /usr/bin/pydoc -- -p $PYDOC_PORT + --startas /usr/bin/@PYDOC@ -- -p "${PYDOC_PORT}" eend $? } diff --git a/dev-lang/python/python-2.4.6.ebuild b/dev-lang/python/python-2.4.6.ebuild index a8ecdc02c493..bce28db5be9f 100644 --- a/dev-lang/python/python-2.4.6.ebuild +++ b/dev-lang/python/python-2.4.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.6.ebuild,v 1.46 2011/04/05 06:01:55 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.6.ebuild,v 1.47 2011/05/17 15:14:43 arfrever Exp $ EAPI="1" @@ -255,8 +255,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" } pkg_preinst() { diff --git a/dev-lang/python/python-2.5.4-r4.ebuild b/dev-lang/python/python-2.5.4-r4.ebuild index 23b0bc9f1934..88b3f866eb84 100644 --- a/dev-lang/python/python-2.5.4-r4.ebuild +++ b/dev-lang/python/python-2.5.4-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.28 2011/04/05 06:01:55 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.5.4-r4.ebuild,v 1.29 2011/05/17 15:14:43 arfrever Exp $ EAPI="1" @@ -270,8 +270,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" } pkg_preinst() { diff --git a/dev-lang/python/python-2.6.5-r3.ebuild b/dev-lang/python/python-2.6.5-r3.ebuild index d50b60fbe754..a10641524b21 100644 --- a/dev-lang/python/python-2.6.5-r3.ebuild +++ b/dev-lang/python/python-2.6.5-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.5-r3.ebuild,v 1.13 2011/04/05 06:01:55 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.5-r3.ebuild,v 1.14 2011/05/17 15:14:43 arfrever Exp $ EAPI="2" @@ -259,8 +259,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" # Do not install empty directory. rmdir "${ED}$(python_get_libdir)/lib-old" diff --git a/dev-lang/python/python-2.6.6-r2.ebuild b/dev-lang/python/python-2.6.6-r2.ebuild index 0985977fe614..3da872fdeec1 100644 --- a/dev-lang/python/python-2.6.6-r2.ebuild +++ b/dev-lang/python/python-2.6.6-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.6-r2.ebuild,v 1.9 2011/04/13 15:09:24 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.6.6-r2.ebuild,v 1.10 2011/05/17 15:14:43 arfrever Exp $ EAPI="2" WANT_AUTOMAKE="none" @@ -290,8 +290,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" # Do not install empty directory. rmdir "${ED}$(python_get_libdir)/lib-old" diff --git a/dev-lang/python/python-2.7.1-r1.ebuild b/dev-lang/python/python-2.7.1-r1.ebuild index 02bb7b163281..dddafe504735 100644 --- a/dev-lang/python/python-2.7.1-r1.ebuild +++ b/dev-lang/python/python-2.7.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1-r1.ebuild,v 1.11 2011/04/22 18:18:09 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.7.1-r1.ebuild,v 1.12 2011/05/17 15:14:43 arfrever Exp $ EAPI="2" WANT_AUTOMAKE="none" @@ -312,8 +312,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" # Do not install empty directory. rmdir "${ED}$(python_get_libdir)/lib-old" diff --git a/dev-lang/python/python-3.1.3-r1.ebuild b/dev-lang/python/python-3.1.3-r1.ebuild index 7dedceade501..bd27fe0b051f 100644 --- a/dev-lang/python/python-3.1.3-r1.ebuild +++ b/dev-lang/python/python-3.1.3-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.3-r1.ebuild,v 1.7 2011/04/05 06:01:55 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.3-r1.ebuild,v 1.8 2011/05/17 15:14:43 arfrever Exp $ EAPI="3" WANT_AUTOMAKE="none" @@ -283,8 +283,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" } pkg_preinst() { diff --git a/dev-lang/python/python-3.2.ebuild b/dev-lang/python/python-3.2.ebuild index 8380ebab5e99..cfc7f70cbaf4 100644 --- a/dev-lang/python/python-3.2.ebuild +++ b/dev-lang/python/python-3.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.ebuild,v 1.3 2011/04/05 06:01:55 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.2.ebuild,v 1.4 2011/05/17 15:14:43 arfrever Exp $ EAPI="3" WANT_AUTOMAKE="none" @@ -291,8 +291,9 @@ src_install() { doins -r "${S}/Tools" || die "doins failed" fi - newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed" + newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed" + sed -e "s:@PYDOC@:pydoc${SLOT}:" -i "${ED}etc/init.d/pydoc-${SLOT}" || die "sed failed" } pkg_preinst() { |