diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-misc/gato | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-misc/gato')
-rw-r--r-- | sci-misc/gato/Manifest | 1 | ||||
-rw-r--r-- | sci-misc/gato/gato-1.1.2.ebuild | 52 | ||||
-rw-r--r-- | sci-misc/gato/metadata.xml | 12 |
3 files changed, 65 insertions, 0 deletions
diff --git a/sci-misc/gato/Manifest b/sci-misc/gato/Manifest new file mode 100644 index 000000000000..430af62adae2 --- /dev/null +++ b/sci-misc/gato/Manifest @@ -0,0 +1 @@ +DIST Gato-1.1.2.tar.gz 272060 SHA256 eb700c73cc411be70713d34a936da62fca9c0173f875dba636e726e47dbfcadd SHA512 a0567bc3ddb6060b713f3453f6a89d978da580c97ab28f094b90e82cfc584ba1cd459add0c5f2d32e746fc074ac78b2f3394d752a7bbdf14c8ccdd90b25e5008 WHIRLPOOL 024df3365c169a93cf2850ed571ad04a5e732f0bd3e535bd401881236acf8538aa673ba5dbc6bfa8b40dddab5737de1b863ea2d2029807631114be59c526c550 diff --git a/sci-misc/gato/gato-1.1.2.ebuild b/sci-misc/gato/gato-1.1.2.ebuild new file mode 100644 index 000000000000..89d4077712ef --- /dev/null +++ b/sci-misc/gato/gato-1.1.2.ebuild @@ -0,0 +1,52 @@ +# 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 +} diff --git a/sci-misc/gato/metadata.xml b/sci-misc/gato/metadata.xml new file mode 100644 index 000000000000..bc70ae41110c --- /dev/null +++ b/sci-misc/gato/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-mathematics</herd> + <longdescription lang="en"> + Gato - the Graph Animation Toolbox - is a software which visualizes + algorithms on mathematical graphs. +</longdescription> + <upstream> + <remote-id type="sourceforge">gato</remote-id> + </upstream> +</pkgmetadata> |