blob: 9aa40748d29da17f1470faab39e643e1093e5ebf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
DESCRIPTION="An offline viewer for different map providers"
HOMEPAGE="https://code.google.com/p/gmapcatcher/"
SRC_URI="https://gmapcatcher.googlecode.com/files/mapcatcher_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/gtk+:2
dev-python/pygtk[${PYTHON_USEDEP}]
dev-python/pygobject[${PYTHON_USEDEP}]
dev-python/pycairo[${PYTHON_USEDEP}]
virtual/python-imaging[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
S=${WORKDIR}/mapcatcher-${PV}
PATCHES=("${FILESDIR}"/${P}-setuppy-docs.patch)
src_prepare() {
sed -i -e "/Version=/d" -e "s/Application;//" gmapcatcher.desktop || die
distutils-r1_src_prepare
}
|