1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
8 inherit autotools python-single-r1
10 DESCRIPTION="Scripts to prepare and plot VOACAP propagation predictions"
11 HOMEPAGE="https://www.qsl.net/h/hz1jw/pythonprop"
12 SRC_URI="https://github.com/jawatson/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
16 KEYWORDS="~amd64 ~x86"
18 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
22 $(python_gen_cond_dep '
23 dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}]
24 dev-python/matplotlib[${PYTHON_MULTI_USEDEP}]
25 sci-libs/cartopy[${PYTHON_MULTI_USEDEP}]
26 sci-libs/scipy[${PYTHON_MULTI_USEDEP}]
29 sci-electronics/voacapl
32 app-text/gnome-doc-utils
39 # drop building *.pdf files
40 sed -i -e "s#docs/user/help##g" Makefile.am || die
41 # do not call update_destop_database here
42 sed -ie "s/UPDATE_DESKTOP = /UPDATE_DESKTOP = # /g" data/Makefile.am || die
44 sed -ie "s/HamRadio/HamRadio;/g" data/voacapgui.desktop.in || die