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

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-06-04 15:01:13 +02:00
parent ce0634951e
commit 5aca2717c2
3 changed files with 58 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -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>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">gnuplot-py</remote-id>
</upstream>
</pkgmetadata>