commit:     c530b81a138d15a0008f49e834ae9395f1639d0e
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sun Nov  8 13:42:02 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sun Nov  8 13:42:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c530b81a

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 <AT> riseup.net>

 dev-python/pygsl/Manifest           |  1 +
 dev-python/pygsl/metadata.xml       | 12 ++++++++++++
 dev-python/pygsl/pygsl-2.3.0.ebuild | 38 +++++++++++++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-python/pygsl/Manifest b/dev-python/pygsl/Manifest
new file mode 100644
index 00000000..e479405d
--- /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 00000000..10f7fabc
--- /dev/null
+++ b/dev-python/pygsl/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">
+               <email>andrewammerl...@riseup.net</email>
+               <name>Andrew Ammerlaan</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">pygsl</remote-id>
+       </upstream>
+</pkgmetadata>

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 00000000..9c9c2bc4
--- /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
+}

Reply via email to