dev-python/pygsl: Python interface for the GNU scientific library

Bug: https://bugs.gentoo.org/592982
Bug: https://bugs.gentoo.org/719414
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-11-08 14:42:02 +01:00
parent 32e43c1af0
commit c530b81a13
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST pygsl-2.3.0.tar.gz 1096186 BLAKE2B 9058d7f674ce8d8071e51c80ae7ff2a32909cb495df7f78223f9d98f2a2b6afb32e180ce13a1b413924c7c1a8a1c840d2c1122edbe00a80cb66e27dc752ffaed SHA512 66e466c37d402605e05f0b5b2d7c52c406593d31c2a886934419b45e0b4390259c57e70bce32a46146b7f2ad0b28266f517cdb10fddd73dec7975103bb445d08

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">
<email>andrewammerlaan@riseup.net</email>
<name>Andrew Ammerlaan</name>
</maintainer>
<upstream>
<remote-id type="pypi">pygsl</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,38 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7,8,9} )
inherit distutils-r1
DESCRIPTION="Python interface for the GNU scientific library (gsl)"
HOMEPAGE="http://pygsl.sourceforge.net/ https://pypi.org/project/pygsl/"
SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${P}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
# This is a mess
RESTRICT="test"
IUSE="examples"
DEPEND="
sci-libs/gsl
dev-python/numpy[${PYTHON_USEDEP}]
"
distutils_enable_sphinx doc dev-python/sphinx_rtd_theme
distutils_enable_tests nose
python_configure() {
esetup.py config
default
}
python_install_all() {
use examples && dodoc -r examples
default
}