Don't use ebeep() (bug #318091).
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Sun, 2 May 2010 16:39:55 +0000 (16:39 +0000)
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
Sun, 2 May 2010 16:39:55 +0000 (16:39 +0000)
dev-lang/python/ChangeLog
dev-lang/python/python-3.1.2-r3.ebuild

index febe79fa2b071a434b070605c89af826716a091b..3002d304885797758d9e71303a3f7a53f572447f 100644 (file)
@@ -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)
 
index 0ff22b475bb055640c6649afb494afc3cc4e76f2..7e220966ade8c425295827e4fc56328df7974abc 100644 (file)
@@ -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
 }