summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-02 16:39:55 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-05-02 16:39:55 +0000
commit4462d25b2f752ba19ae9be62b6d3a8198802a63b (patch)
treef5b5d1f2ef60f1e6875494f411a39293efe49d71 /dev-lang/python
parentwork around addpredict's odd path thing (diff)
downloadhistorical-4462d25b2f752ba19ae9be62b6d3a8198802a63b.tar.gz
historical-4462d25b2f752ba19ae9be62b6d3a8198802a63b.tar.bz2
historical-4462d25b2f752ba19ae9be62b6d3a8198802a63b.zip
Don't use ebeep() (bug #318091).
Diffstat (limited to 'dev-lang/python')
-rw-r--r--dev-lang/python/ChangeLog6
-rw-r--r--dev-lang/python/python-3.1.2-r3.ebuild22
2 files changed, 17 insertions, 11 deletions
diff --git a/dev-lang/python/ChangeLog b/dev-lang/python/ChangeLog
index febe79fa2b07..3002d3048857 100644
--- a/dev-lang/python/ChangeLog
+++ b/dev-lang/python/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/python
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.465 2010/05/01 21:54:37 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/ChangeLog,v 1.466 2010/05/02 16:39:55 arfrever Exp $
+
+ 02 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ python-3.1.2-r3.ebuild:
+ Don't use ebeep() (bug #318091).
*python-3.1.2-r3 (01 May 2010)
diff --git a/dev-lang/python/python-3.1.2-r3.ebuild b/dev-lang/python/python-3.1.2-r3.ebuild
index 0ff22b475bb0..7e220966ade8 100644
--- a/dev-lang/python/python-3.1.2-r3.ebuild
+++ b/dev-lang/python/python-3.1.2-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.2-r3.ebuild,v 1.2 2010/05/01 22:25:51 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/python/python-3.1.2-r3.ebuild,v 1.3 2010/05/02 16:39:55 arfrever Exp $
EAPI="3"
@@ -165,10 +165,6 @@ src_configure() {
--with-system-ffi
}
-src_compile() {
- emake EXTRA_CFLAGS="${CFLAGS}" || die "emake failed"
-}
-
src_test() {
# Tests will not work when cross compiling.
if tc-is-cross-compiler; then
@@ -204,7 +200,7 @@ src_test() {
done
elog "If you would like to run them, you may:"
- elog "cd ${EPREFIX}$(python_get_libdir)/test"
+ elog "cd '${EPREFIX}$(python_get_libdir)/test'"
elog "and run the tests separately."
python_disable_pyc
@@ -233,13 +229,15 @@ src_install() {
prep_ml_includes $(python_get_includedir)
+ dodoc Misc/{ACKS,HISTORY,NEWS} || die "dodoc failed"
+
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins -r "${S}/Tools" || die "doins failed"
fi
- newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT}
- newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT}
+ newinitd "${FILESDIR}/pydoc.init" pydoc-${SLOT} || die "newinitd failed"
+ newconfd "${FILESDIR}/pydoc.conf" pydoc-${SLOT} || die "newconfd failed"
}
pkg_preinst() {
@@ -272,7 +270,6 @@ pkg_postinst() {
ewarn "It is recommended to currently have Python wrapper configured to use Python 2."
ewarn "Having Python wrapper configured to use Python 3 is unsupported."
ewarn
- ebeep 6
fi
if [[ "${python_updater_warning}" == "1" ]]; then
@@ -284,7 +281,12 @@ pkg_postinst() {
ewarn
ewarn "\e[1;31m************************************************************************\e[0m"
ewarn
- ebeep 12
+
+ local n
+ for ((n = 0; n < 12; n++)); do
+ echo -ne "\a"
+ sleep 1
+ done
fi
}