summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2020-03-30 07:48:22 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2020-03-30 07:52:46 +0200
commit512444f70287565a3fb9e8c6e4c0f1f649c756bd (patch)
tree5ebc17130e62c3acf59ed214e7334617ee511701
parentsci-electronics/klayout: use ruby25 (diff)
downloadgentoo-512444f70287565a3fb9e8c6e4c0f1f649c756bd.tar.gz
gentoo-512444f70287565a3fb9e8c6e4c0f1f649c756bd.tar.bz2
gentoo-512444f70287565a3fb9e8c6e4c0f1f649c756bd.zip
sci-visualization/pythonprop: Version bump
New version supports Python3 and replaces dependency on dev-python/basemap with sci-libs/cartopy. Bug: https://bugs.gentoo.org/705646 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
-rw-r--r--sci-visualization/pythonprop/Manifest1
-rw-r--r--sci-visualization/pythonprop/pythonprop-0.29.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/sci-visualization/pythonprop/Manifest b/sci-visualization/pythonprop/Manifest
index dd8d779c858..0bf09c1d281 100644
--- a/sci-visualization/pythonprop/Manifest
+++ b/sci-visualization/pythonprop/Manifest
@@ -1,2 +1,3 @@
DIST pythonprop-0.13.tar.gz 217721 BLAKE2B bd22106e528267ea49e1f68e22ad03958bd064aa4009a5da01a7943dedc7f4e84b8e8dfe8bfc80bc0fe248457cdef69df1d471017c9626757a764aad52e1ccb3 SHA512 b637f48369c926c8dd680a433d46236dc4fa70be79b2325d8f82e320b2d75b1e6d7d992bd81022d27fb6ab118d92178c7ad5ad94f6011a396e4a28d7431bbf2b
DIST pythonprop-0.18.tar.gz 1158035 BLAKE2B 3a01eb72ccfc3d0ebc356c4518d570544cedb01c5dff02ba55dd6be02b529bb4e6cf53346f74ac0dc21cf0662b107f58a064a704c124024c98419f330846868a SHA512 2ca796f215e5aab33bee7dd161358c3065b464587597363dee9f03758cf666cca1b70f5b83e8ac266e21f77b806711cb6f48a1d7c3cd0b97f1461e897f5f9f80
+DIST pythonprop-0.29.tar.gz 586118 BLAKE2B ac018f147206b59fbd2295e6e72d6e1a801d6456d8a9784bdb2511b0d9dcecfa455363826680051c90e0fcc83fdc95a16c91df120efb2e70456958276967dec7 SHA512 2fbbffedc9e010fdebeed7a84d23c599a2532ae0b67e6a2ba2da6bea0dc0496cb1f71ac54650285ed35196f33e689fc3d967e3bd7c4fb16832fc484a6b777fcb
diff --git a/sci-visualization/pythonprop/pythonprop-0.29.ebuild b/sci-visualization/pythonprop/pythonprop-0.29.ebuild
new file mode 100644
index 00000000000..d5c64040e9a
--- /dev/null
+++ b/sci-visualization/pythonprop/pythonprop-0.29.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+
+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/matplotlib[${PYTHON_MULTI_USEDEP}]
+ sci-libs/cartopy[${PYTHON_MULTI_USEDEP}]
+ ')
+ dev-python/cairocffi
+ sci-electronics/voacapl
+"
+DEPEND="${RDEPEND}
+ app-text/gnome-doc-utils
+ 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
+}