commit: e315d95c5a297695af1830d681e8240a608b6edc
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 22 12:23:08 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 22 12:59:14 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e315d95c
dev-python/array-api-compat: New package, v1.12.0
New dependency of >=dev-python/gfloat-0.5.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/array-api-compat/Manifest | 1 +
.../array-api-compat-1.12.0.ebuild | 34 ++++++++++++++++++++++
dev-python/array-api-compat/metadata.xml | 12 ++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-python/array-api-compat/Manifest
b/dev-python/array-api-compat/Manifest
new file mode 100644
index 000000000000..2515cb847e11
--- /dev/null
+++ b/dev-python/array-api-compat/Manifest
@@ -0,0 +1 @@
+DIST array_api_compat-1.12.0.tar.gz 99883 BLAKE2B
d95f8dd57c83cd72a007a3065efdac69bf8c15ccc7a47516d51340c2bd91eb127072d8b5c31a85c8e9b77afcf9e64f8bef539fae3ddf726973a74424dd68bd1b
SHA512
93d309b1212671986cf588d537638d001345a64733b5ffb503e5aded451be0f12e185447a3c3ca5aa0b074494e644a9d4d56309ac90b19259c4ed5939c08f1b5
diff --git a/dev-python/array-api-compat/array-api-compat-1.12.0.ebuild
b/dev-python/array-api-compat/array-api-compat-1.12.0.ebuild
new file mode 100644
index 000000000000..988ff7a899bb
--- /dev/null
+++ b/dev-python/array-api-compat/array-api-compat-1.12.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Array API standard compatibility wrapper over NumPy and others"
+HOMEPAGE="
+ https://github.com/data-apis/array-api-compat/
+ https://pypi.org/project/array-api-compat/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-python/setuptools-scm[${PYTHON_USEDEP}]
+ test? (
+ >=dev-python/numpy-1.22[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+EPYTEST_IGNORE=(
+ # err, what?
+ tests/test_vendoring.py
+)
diff --git a/dev-python/array-api-compat/metadata.xml
b/dev-python/array-api-compat/metadata.xml
new file mode 100644
index 000000000000..ab4a42da2847
--- /dev/null
+++ b/dev-python/array-api-compat/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>[email protected]</email>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="github">data-apis/array-api-compat</remote-id>
+ <remote-id type="pypi">array-api-compat</remote-id>
+ </upstream>
+</pkgmetadata>