diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-11-25 22:39:15 +0000 |
commit | d934827bf44b7cfcf6711964418148fa60877668 (patch) | |
tree | 0625f358789b5e015e49db139cc1dbc9be00428f /sci-visualization/pythonprop/pythonprop-0.30.ebuild | |
parent | 2e34d110f164bf74d55fced27fe0000201b3eec5 (diff) |
gentoo resync : 25.11.2020
Diffstat (limited to 'sci-visualization/pythonprop/pythonprop-0.30.ebuild')
-rw-r--r-- | sci-visualization/pythonprop/pythonprop-0.30.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/sci-visualization/pythonprop/pythonprop-0.30.ebuild b/sci-visualization/pythonprop/pythonprop-0.30.ebuild new file mode 100644 index 000000000000..38ac7c2ed83e --- /dev/null +++ b/sci-visualization/pythonprop/pythonprop-0.30.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit autotools python-single-r1 + +DESCRIPTION="Scripts to prepare and plot VOACAP propagation predictions" +HOMEPAGE="https://www.qsl.net/h/hz1jw/pythonprop" +SRC_URI="https://github.com/jawatson/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_MULTI_USEDEP}] + dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] + sci-libs/cartopy[${PYTHON_MULTI_USEDEP}] + dev-python/scipy[${PYTHON_MULTI_USEDEP}] + ') + dev-python/cairocffi + sci-electronics/voacapl +" +DEPEND="${RDEPEND} + app-text/yelp-tools + app-text/rarian +" + +src_prepare() { + eapply_user + + # drop building *.pdf files + sed -i -e "s#docs/user/help##g" Makefile.am || die + # do not call update_destop_database here + sed -ie "s/UPDATE_DESKTOP = /UPDATE_DESKTOP = # /g" data/Makefile.am || die + # fix Desktop Entry + sed -ie "s/HamRadio/HamRadio;/g" data/voacapgui.desktop.in || die + eautoreconf +} + +src_install() { + default + python_optimize +} |