summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2007-10-25 23:53:30 +0000
committerJeroen Roovers <jer@gentoo.org>2007-10-25 23:53:30 +0000
commitf15cf117a6f7c51913dc920363c9aa3489b39c20 (patch)
treeaed936812eea003080ecf62ba9cfb5b29c7214c4 /dev-lang/python
parentSecurity Fix, see bug #195996 (diff)
downloadgentoo-2-f15cf117a6f7c51913dc920363c9aa3489b39c20.tar.gz
gentoo-2-f15cf117a6f7c51913dc920363c9aa3489b39c20.tar.bz2
gentoo-2-f15cf117a6f7c51913dc920363c9aa3489b39c20.zip
Stable for HPPA (bug #192876). Fixed quoting issues.
(Portage version: 2.1.3.16)
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/ChangeLog5
-rw-r--r--dev-lang/python/python-2.4.4-r6.ebuild40
2 files changed, 24 insertions, 21 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index e8d62b974f70..6e98502ec332 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/python
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.287 2007/10/25 19:22:48 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.288 2007/10/25 23:53:30 jer Exp $
+
+ 25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.4.4-r6.ebuild:
+ Stable for HPPA (bug #192876). Fixed quoting issues.
25 Oct 2007; Jeroen Roovers <jer@gentoo.org> python-2.3.6-r3.ebuild:
Stable for HPPA (bug #192876).
diff --git a/dev-lang/python/python-2.4.4-r6.ebuild b/dev-lang/python/python-2.4.4-r6.ebuild
index a0c4c831fc61..fdeacfa31cab 100644
--- a/dev-lang/python/python-2.4.4-r6.ebuild
+++ b/dev-lang/python/python-2.4.4-r6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r6.ebuild,v 1.5 2007/10/25 19:07:24 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-2.4.4-r6.ebuild,v 1.6 2007/10/25 23:53:30 jer Exp $
# NOTE about python-portage interactions :
# - Do not add a pkg_setup() check for a certain version of portage
@@ -23,7 +23,7 @@ SRC_URI="http://www.python.org/ftp/python/${PV}/${MY_P}.tar.bz2
LICENSE="PSF-2.2"
SLOT="2.4"
-KEYWORDS="alpha amd64 ~arm ~hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ~m68k ~mips ~ppc ppc64 ~s390 ~sh sparc ~sparc-fbsd x86 ~x86-fbsd"
IUSE="ncurses gdbm ssl readline tk berkdb bootstrap ipv6 build ucs2 doc nocxx nothreads examples"
DEPEND=">=sys-libs/zlib-1.1.3
@@ -55,12 +55,12 @@ PROVIDE="virtual/python"
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
if tc-is-cross-compiler ; then
[[ $(python -V 2>&1) != "Python ${PV}" ]] && \
die "Crosscompiling requires the same host and build versions."
- epatch ${FILESDIR}/python-2.4.4-test-cross.patch
+ epatch "${FILESDIR}"/python-2.4.4-test-cross.patch
else
rm "${WORKDIR}/${PV}"/*_all_crosscompile.patch
fi
@@ -78,7 +78,7 @@ src_unpack() {
# fix os.utime() on hppa. utimes it not supported but unfortunately
# reported as working - gmsoft (22 May 04)
# PLEASE LEAVE THIS FIX FOR NEXT VERSIONS AS IT'S A CRITICAL FIX !!!
- [ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i ${S}/configure
+ [ "${ARCH}" = "hppa" ] && sed -e 's/utimes //' -i "${S}"/configure
eautoreconf
}
@@ -175,25 +175,25 @@ src_install() {
# install our own custom python-config
exeinto /usr/bin
- newexe ${FILESDIR}/python-config-${PYVER}-r1 python-config-${PYVER}
+ newexe "${FILESDIR}"/python-config-${PYVER}-r1 python-config-${PYVER}
# Use correct libdir in python-config
dosed "s:/usr/lib/:/usr/$(get_libdir)/:" /usr/bin/python-config-${PYVER}
if use build ; then
- rm -rf ${D}/usr/$(get_libdir)/python${PYVER}/{test,encodings,email,lib-tk,bsddb/test}
+ rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/{test,encodings,email,lib-tk,bsddb/test}
else
- use elibc_uclibc && rm -rf ${D}/usr/$(get_libdir)/python${PYVER}/{test,bsddb/test}
- use berkdb || rm -rf ${D}/usr/$(get_libdir)/python${PYVER}/bsddb
- use tk || rm -rf ${D}/usr/$(get_libdir)/python${PYVER}/lib-tk
+ use elibc_uclibc && rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/{test,bsddb/test}
+ use berkdb || rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/bsddb
+ use tk || rm -rf "${D}"/usr/$(get_libdir)/python${PYVER}/lib-tk
fi
# Fix slotted collisions
- mv ${D}/usr/bin/pydoc ${D}/usr/bin/pydoc${PYVER}
- mv ${D}/usr/bin/idle ${D}/usr/bin/idle${PYVER}
- mv ${D}/usr/share/man/man1/python.1 \
- ${D}/usr/share/man/man1/python${PYVER}.1
- rm -f ${D}/usr/bin/smtpd.py
+ mv "${D}"/usr/bin/pydoc "${D}"/usr/bin/pydoc${PYVER}
+ mv "${D}"/usr/bin/idle "${D}"/usr/bin/idle${PYVER}
+ mv "${D}"/usr/share/man/man1/python.1 \
+ "${D}"/usr/share/man/man1/python${PYVER}.1
+ rm -f "${D}"/usr/bin/smtpd.py
prep_ml_includes usr/include/python${PYVER}
@@ -203,7 +203,7 @@ src_install() {
# seems like the build do not install Makefile.pre.in anymore
# it probably shouldn't - use DistUtils, people!
insinto /usr/$(get_libdir)/python${PYVER}/config
- doins ${S}/Makefile.pre.in
+ doins "${S}"/Makefile.pre.in
# While we're working on the config stuff... Let's fix the OPT var
# so that it doesn't have any opts listed in it. Prevents the problem
@@ -212,8 +212,8 @@ src_install() {
/usr/$(get_libdir)/python${PYVER}/config/Makefile
if use examples ; then
- mkdir -p ${D}/usr/share/doc/${P}/examples
- cp -r ${S}/Tools ${D}/usr/share/doc/${P}/examples
+ mkdir -p "${D}"/usr/share/doc/${P}/examples
+ cp -r "${S}"/Tools "${D}"/usr/share/doc/${P}/examples
fi
}
@@ -293,14 +293,14 @@ src_test() {
local skip_tests="cookielib distutils global hotshot mimetools minidom mmap posix sax strptime subprocess syntax tcl time urllib urllib2"
for test in ${skip_tests} ; do
- mv ${S}/Lib/test/test_${test}.py ${T}
+ mv "${S}"/Lib/test/test_${test}.py "${T}"
done
# rerun failed tests in verbose mode (regrtest -w)
EXTRATESTOPTS="-w" make test || die "make test failed"
for test in ${skip_tests} ; do
- mv ${T}/test_${test}.py ${S}/Lib/test/test_${test}.py
+ mv "${T}"/test_${test}.py "${S}"/Lib/test/test_${test}.py
done
elog "Portage skipped the following tests which aren't able to run from emerge:"