diff --git a/dev-python/pygsl/Manifest b/dev-python/pygsl/Manifest new file mode 100644 index 0000000000..e479405dd4 --- /dev/null +++ b/dev-python/pygsl/Manifest @@ -0,0 +1 @@ +DIST pygsl-2.3.0.tar.gz 1096186 BLAKE2B 9058d7f674ce8d8071e51c80ae7ff2a32909cb495df7f78223f9d98f2a2b6afb32e180ce13a1b413924c7c1a8a1c840d2c1122edbe00a80cb66e27dc752ffaed SHA512 66e466c37d402605e05f0b5b2d7c52c406593d31c2a886934419b45e0b4390259c57e70bce32a46146b7f2ad0b28266f517cdb10fddd73dec7975103bb445d08 diff --git a/dev-python/pygsl/metadata.xml b/dev-python/pygsl/metadata.xml new file mode 100644 index 0000000000..10f7fabc5d --- /dev/null +++ b/dev-python/pygsl/metadata.xml @@ -0,0 +1,12 @@ + + + + + + andrewammerlaan@riseup.net + Andrew Ammerlaan + + + pygsl + + diff --git a/dev-python/pygsl/pygsl-2.3.0.ebuild b/dev-python/pygsl/pygsl-2.3.0.ebuild new file mode 100644 index 0000000000..9c9c2bc4c2 --- /dev/null +++ b/dev-python/pygsl/pygsl-2.3.0.ebuild @@ -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 +}