commit:     88c2204f0f1dcc0a803fdbcf32ffc3e08a43eae7
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Thu Apr 10 12:04:17 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Sat Apr 19 09:49:30 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=88c2204f

dev-python/array-api-compat: add ebuild

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 .../array-api-compat-1.11.2.ebuild                 | 22 ++++++++++++++++++++++
 dev-python/array-api-compat/metadata.xml           | 12 ++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/array-api-compat/array-api-compat-1.11.2.ebuild 
b/dev-python/array-api-compat/array-api-compat-1.11.2.ebuild
new file mode 100644
index 000000000..343c8a356
--- /dev/null
+++ b/dev-python/array-api-compat/array-api-compat-1.11.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit pypi distutils-r1
+
+DESCRIPTION="Compatibility layer for NumPy to support the Array API"
+HOMEPAGE="https://github.com/data-apis/array-api-compat";
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~amd64-linux"
+
+DEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
+
+# relative import error, dev-python/jax ebuild not avail
+RESTRICT="test"
+distutils_enable_tests pytest

diff --git a/dev-python/array-api-compat/metadata.xml 
b/dev-python/array-api-compat/metadata.xml
new file mode 100644
index 000000000..d50ba3dd3
--- /dev/null
+++ b/dev-python/array-api-compat/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>[email protected]</email>
+    <name>Michael Schubert</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">data-apis/array-api-compat</remote-id>
+    <remote-id type="pypi">array-api-compat</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to