commit:     66b303efcba00239cbca5affc29f92b1288a1fb3
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
AuthorDate: Sun May  4 14:39:54 2025 +0000
Commit:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> 
de>
CommitDate: Tue May  6 14:20:47 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=66b303ef

dev-python/numdifftools: new package, add 0.9.41

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>

 dev-python/numdifftools/metadata.xml               | 19 +++++++++++++++++
 dev-python/numdifftools/numdifftools-0.9.41.ebuild | 24 ++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/numdifftools/metadata.xml 
b/dev-python/numdifftools/metadata.xml
new file mode 100644
index 000000000..e2c848a26
--- /dev/null
+++ b/dev-python/numdifftools/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Gentoo Science Project</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>Alexander Puck Neuwirth</name>
+       </maintainer>
+       <longdescription lang="en">
+               The numdifftools library is a suite of tools written in _Python 
to solve automatic numerical differentiation problems in one or more variables. 
Finite differences are used in an adaptive manner, coupled with a Richardson 
extrapolation methodology to provide a maximally accurate result. The user can 
configure many options like; changing the order of the method or the 
extrapolation, even allowing the user to specify whether complex-step, central, 
forward or backward differences are used.
+       </longdescription>
+       <upstream>
+               <remote-id type="pypi">numdifftools</remote-id>
+               <remote-id type="github">pbrod/numdifftools</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-python/numdifftools/numdifftools-0.9.41.ebuild 
b/dev-python/numdifftools/numdifftools-0.9.41.ebuild
new file mode 100644
index 000000000..e5535f20d
--- /dev/null
+++ b/dev-python/numdifftools/numdifftools-0.9.41.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{11..13} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1 pypi
+
+DESCRIPTION="Solve automatic numerical differentiation problems in one or more 
variables"
+HOMEPAGE="
+       https://github.com/pbord/numdifftools
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       >=dev-python/numpy-1.24[${PYTHON_USEDEP}]
+       >=dev-python/scipy-1.10[${PYTHON_USEDEP}]
+"
+# fail for some reason...
+RESTRICT="test"

Reply via email to