diff options
author | Maxim Koltsov <maksbotan@gentoo.org> | 2013-04-16 16:12:46 +0000 |
---|---|---|
committer | Maxim Koltsov <maksbotan@gentoo.org> | 2013-04-16 16:12:46 +0000 |
commit | 7bb065d3f02debdd3b0cd6e481ff2eb8e74c3241 (patch) | |
tree | 4f195c98144a65bb095d8d3c1bb9026fde0b020e /app-misc | |
parent | added current EULA (license) for folding-at-home (consulted ulm) (diff) | |
download | gentoo-2-7bb065d3f02debdd3b0cd6e481ff2eb8e74c3241.tar.gz gentoo-2-7bb065d3f02debdd3b0cd6e481ff2eb8e74c3241.tar.bz2 gentoo-2-7bb065d3f02debdd3b0cd6e481ff2eb8e74c3241.zip |
Port to python-single-r1 eclass, thanks to Nikoli.
(Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/metromap/ChangeLog | 10 | ||||
-rw-r--r-- | app-misc/metromap/metromap-0.1.4-r1.ebuild | 33 |
2 files changed, 40 insertions, 3 deletions
diff --git a/app-misc/metromap/ChangeLog b/app-misc/metromap/ChangeLog index 73ce46c2cf89..b0de94b65d37 100644 --- a/app-misc/metromap/ChangeLog +++ b/app-misc/metromap/ChangeLog @@ -1,10 +1,14 @@ # ChangeLog for app-misc/metromap -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/ChangeLog,v 1.1 2012/05/21 19:40:55 maksbotan Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/ChangeLog,v 1.2 2013/04/16 16:12:46 maksbotan Exp $ + +*metromap-0.1.4-r1 (16 Apr 2013) + + 16 Apr 2013; Maxim Koltsov <maksbotan@gentoo.org> +metromap-0.1.4-r1.ebuild: + Port to python-single-r1 eclass, thanks to Nikoli. *metromap-0.1.4 (21 May 2012) 21 May 2012; Maxim Koltsov <maksbotan@gentoo.org> +metadata.xml, +metromap-0.1.4.ebuild: Add app-misc/metromap, bug #260757. Thanks to Nikoli - diff --git a/app-misc/metromap/metromap-0.1.4-r1.ebuild b/app-misc/metromap/metromap-0.1.4-r1.ebuild new file mode 100644 index 000000000000..53ba480d7b17 --- /dev/null +++ b/app-misc/metromap/metromap-0.1.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/metromap/metromap-0.1.4-r1.ebuild,v 1.1 2013/04/16 16:12:46 maksbotan Exp $ + +EAPI="5" + +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit python-single-r1 + +DESCRIPTION="Metromap is simple pygtk+2 programm for finding paths in metro(subway) maps." +HOMEPAGE="http://metromap.antex.ru/" +SRC_URI="http://metromap.antex.ru/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/pygtk-2.8:2[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +src_prepare() { + python_fix_shebang . + sed -e 's,Gtk;,GTK;,' -i metromap.desktop || die +} + +src_compile() { :; } + +src_install() { + emake DESTDIR="${ED}"/usr install + python_optimize "${ED}"/usr/share/metromap/modules/ +} |