commit:     df3730b869edcc2d7a8bd560a7f11345b46b5959
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Fri Feb  3 04:58:01 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri Feb  3 05:03:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=df3730b8

dev-python/pygsl: add 2.3.3

Closes: https://bugs.gentoo.org/848273
Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/pygsl/Manifest           |  1 +
 dev-python/pygsl/metadata.xml       | 10 +++++-----
 dev-python/pygsl/pygsl-2.3.3.ebuild | 40 +++++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+), 5 deletions(-)

diff --git a/dev-python/pygsl/Manifest b/dev-python/pygsl/Manifest
index e479405dd..2f7cd1523 100644
--- a/dev-python/pygsl/Manifest
+++ b/dev-python/pygsl/Manifest
@@ -1 +1,2 @@
 DIST pygsl-2.3.0.tar.gz 1096186 BLAKE2B 
9058d7f674ce8d8071e51c80ae7ff2a32909cb495df7f78223f9d98f2a2b6afb32e180ce13a1b413924c7c1a8a1c840d2c1122edbe00a80cb66e27dc752ffaed
 SHA512 
66e466c37d402605e05f0b5b2d7c52c406593d31c2a886934419b45e0b4390259c57e70bce32a46146b7f2ad0b28266f517cdb10fddd73dec7975103bb445d08
+DIST pygsl-2.3.3.gh.tar.gz 1110939 BLAKE2B 
9da5e35a6367a8cc03f836cab5e41d8d6e7c0c3d5bca995e01cf83e308f1922e6fce677977830920bc1184c6ac531f79da21d3941a63a72e16eb13b0faeabe0e
 SHA512 
289713c2ac5d1adb1f5dd4379b704fbcfa56227b0bdbd19166a4c218d7eb9b41cb4927c265862996ae668486733510e56b6a6a0e0046d1040c88e8e854ce4a48

diff --git a/dev-python/pygsl/metadata.xml b/dev-python/pygsl/metadata.xml
index dd07b6e90..14b8e346c 100644
--- a/dev-python/pygsl/metadata.xml
+++ b/dev-python/pygsl/metadata.xml
@@ -1,9 +1,9 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-
 <pkgmetadata>
-       <!-- maintainer-needed -->
-       <upstream>
-               <remote-id type="pypi">pygsl</remote-id>
-       </upstream>
+    <!-- maintainer-needed -->
+    <upstream>
+        <remote-id type="pypi">pygsl</remote-id>
+        <remote-id type ="github">pygsl/pygsl</remote-id>
+    </upstream>
 </pkgmetadata>

diff --git a/dev-python/pygsl/pygsl-2.3.3.ebuild 
b/dev-python/pygsl/pygsl-2.3.3.ebuild
new file mode 100644
index 000000000..2f6daa950
--- /dev/null
+++ b/dev-python/pygsl/pygsl-2.3.3.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python interface for the GNU scientific library (gsl)"
+HOMEPAGE="https://github.com/pygsl/pygsl";
+SRC_URI="https://github.com/pygsl/pygsl/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+
+# Tests are also failing upstream
+# https://github.com/pygsl/pygsl/issues/15
+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 unittest
+
+python_configure() {
+       esetup.py config
+       default
+}
+
+src_install() {
+       use examples && dodoc -r examples
+       distutils-r1_src_install
+}

Reply via email to