summaryrefslogtreecommitdiff
path: root/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild')
-rw-r--r--dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild b/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild
new file mode 100644
index 000000000000..ff11369568c8
--- /dev/null
+++ b/dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYPN="python-gnuplot"
+MYPV="$(ver_cut 1-2)"
+MYP="${PN}-${MYPV}"
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+
+inherit distutils-r1
+
+DESCRIPTION="A python wrapper for Gnuplot"
+HOMEPAGE="http://gnuplot-py.sourceforge.net/"
+SRC_URI="
+ mirror://sourceforge/${PN}/${MYP}.tar.gz
+ mirror://debian/pool/main/p/${MYPN}/${MYPN}_${PV//_p/-}.debian.tar.xz
+"
+S="${WORKDIR}/${MYP}"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="
+ ${DEPEND}
+ sci-visualization/gnuplot
+"
+
+DOCS="ANNOUNCE.txt CREDITS.txt FAQ.txt NEWS.txt TODO.txt"
+PATCHES=(
+ "${WORKDIR}/debian/patches/00-python3-port.patch"
+ "${WORKDIR}/debian/patches/fix-privacy-breach.patch"
+ "${WORKDIR}/debian/patches/00-remove-version-import.patch"
+ "${WORKDIR}/debian/patches/fix-python-name.patch"
+ "${WORKDIR}/debian/patches/fix-malfuction-mouse-keys.patch"
+ "${WORKDIR}/debian/patches/fix-string-exceptions.patch"
+)
+
+python_install_all() {
+ HTML_DOCS=( doc/Gnuplot/*.html )
+ einstalldocs
+}