diff options
Diffstat (limited to 'sci-misc/gato/gato-1.1.2.ebuild')
-rw-r--r-- | sci-misc/gato/gato-1.1.2.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/sci-misc/gato/gato-1.1.2.ebuild b/sci-misc/gato/gato-1.1.2.ebuild deleted file mode 100644 index 89d4077712ef..000000000000 --- a/sci-misc/gato/gato-1.1.2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=4 - -PYTHON_DEPEND="2" -PYTHON_USE_WITH="tk" - -inherit eutils python - -MYP="Gato-${PV}" - -DESCRIPTION="Graph Animation Toolbox" -HOMEPAGE="http://gato.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${MYP}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -S="${WORKDIR}/${MYP}" - -pkg_setup() { - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - # change TKinter call to avoid crashing of X - sed -i \ - -e 's:self.overrideredirect(1):self.overrideredirect(0):' \ - "${S}"/GatoDialogs.py || die "failed to patch GatoDialogs.py" -} - -src_install() { - # install python code - local instdir=$(python_get_sitedir)/${PN} - insinto ${instdir} - doins *.py - fperms 755 ${instdir}/{Gato,Gred}.py - python_convert_shebangs -r 2 "${ED}" - - # create symlinks - dosym ${instdir}/Gato.py /usr/bin/gato - dosym ${instdir}/Gred.py /usr/bin/gred - - # install data files - insinto /usr/share/${PN} - doins BFS.* DFS.* sample.cat -} |