From 9878c542ece140c3ccfb0b8501f4cb68fbeee767 Mon Sep 17 00:00:00 2001 From: René 'Necoro' Neumann Date: Tue, 22 Jul 2008 13:29:43 +0200 Subject: Some stuff for bugs --- .../bicyclerepair/bicyclerepair-0.7.1.ebuild | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild (limited to 'dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild') diff --git a/dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild b/dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild new file mode 100644 index 0000000..3be0982 --- /dev/null +++ b/dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/bicyclerepair/bicyclerepair-0.7.1.ebuild,v 1.11 2007/07/04 19:16:33 hawking Exp $ + +inherit distutils + +DESCRIPTION="Bicycle Repair Man is the Python Refactoring Browser," +HOMEPAGE="http://bicyclerepair.sourceforge.net/" +SRC_URI="mirror://sourceforge/bicyclerepair/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="x86 ~ppc" +IUSE="" +DEPEND="virtual/python" + +src_install() { + DOCS="DESIGN" + distutils_src_install + rm -f ${D}/usr/bin/bikeemacs.bat +} + +pkg_postinst() { + # Enable IDLE integration if Python was compiled with tcltk. + PYTHON_VER=$(python -V 2>&1 | sed -e 's:Python \([0-9].[0-9]\).*:\1:') + config_txt=/usr/lib/python${PYTHON_VER}/tools/idle/config.txt + if [ -f "${config_txt}" ]; then + if [ -z "`grep BicycleRepairMan_Idle ${config_txt}`" ]; then + elog "Appending BicycleRepairman to IDLE.." + echo "[BicycleRepairMan_Idle]" >> ${config_txt} + fi + fi +} -- cgit v1.2.3-70-g09d2