commit:     5aca2717c2f2bdedf47c1f9d74bda2e9bb4b8ef1
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Jun  4 13:01:13 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Jun  4 13:13:47 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5aca2717

dev-python/gnuplot-py: new package, add 1.8_p8

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/gnuplot-py/Manifest                 |  2 ++
 dev-python/gnuplot-py/gnuplot-py-1.8_p8.ebuild | 44 ++++++++++++++++++++++++++
 dev-python/gnuplot-py/metadata.xml             | 12 +++++++
 3 files changed, 58 insertions(+)

diff --git a/dev-python/gnuplot-py/Manifest b/dev-python/gnuplot-py/Manifest
new file mode 100644
index 000000000..f1f64b9e8
--- /dev/null
+++ b/dev-python/gnuplot-py/Manifest
@@ -0,0 +1,2 @@
+DIST gnuplot-py-1.8.tar.gz 118828 BLAKE2B 
880062169b2fa047d60318cc7dc556c60794bfd81317681395329a56712506f7e406efecb79f37cd98103e76a6feb8b635e55fe056c3ce5bee0c670c8bcaf7a8
 SHA512 
748dc95ea53acd362f67c821a3cc7cf23b6329c2dd13c130c91e1c9f89afe1ffd84619ed321923c65455adf86ee58976dd6dd187881ee3ede5e0f5f551fb027d
+DIST python-gnuplot_1.8-8.debian.tar.xz 13304 BLAKE2B 
2bebf1bc648f90b9679a7499f46f208baaee026aef81ac345f7dbdf7769caedc07668c62a809950d454cad560473438aa2e82a29d21f71e8c87201bf7978a3be
 SHA512 
d2d9466d6d738b8244522572d9e45ae3ea1c0e68c3edb18e13bdca8f630b45466219fe68f874155901020540d801ab5aa025164d28958c440dc37ea4dda098cb

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 000000000..4a0038c7d
--- /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_{8..11} )
+
+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
+}

diff --git a/dev-python/gnuplot-py/metadata.xml 
b/dev-python/gnuplot-py/metadata.xml
new file mode 100644
index 000000000..9f59e8b79
--- /dev/null
+++ b/dev-python/gnuplot-py/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <description>co-maintainers welcome</description>
+               <email>lssndrbarbi...@gmail.com</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="sourceforge">gnuplot-py</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to