summaryrefslogtreecommitdiff
path: root/dev-python/nanobind
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-22 06:30:44 +0000
commit5a2cecfc8661e1d3a762adf05cf8eb142cd41710 (patch)
tree341806a72603cc8845e7e1595289e7a8b9570f2a /dev-python/nanobind
parentd2bcdab82e5f5f38a8ab54026e8aa94edb1b77a6 (diff)
gentoo auto-resync : 22:12:2024 - 06:30:44
Diffstat (limited to 'dev-python/nanobind')
-rw-r--r--dev-python/nanobind/Manifest4
-rw-r--r--dev-python/nanobind/nanobind-2.2.0.ebuild70
-rw-r--r--dev-python/nanobind/nanobind-2.4.0.ebuild2
3 files changed, 2 insertions, 74 deletions
diff --git a/dev-python/nanobind/Manifest b/dev-python/nanobind/Manifest
index 7e82f4119a06..698a771eeb0e 100644
--- a/dev-python/nanobind/Manifest
+++ b/dev-python/nanobind/Manifest
@@ -1,5 +1,3 @@
-DIST nanobind-2.2.0.gh.tar.gz 881024 BLAKE2B 06b76c6cd53351ead32532b9013c3e0b4485173c70d12fac903c42b57a4309e49743bb2957c1310ac6d957230336b0c587f64a9d15a9c39b229b839531e1ac5d SHA512 e47c2eab39fc507f5cb1b73f76a2eb9a6d475b56b3628e8372296ed7381844aed56ba7b59fb765651e660688be2762d094ec9368beb70201091f01d27a549a3a
DIST nanobind-2.4.0.gh.tar.gz 890566 BLAKE2B 7ecdd1cb6734d01f24518189cf404b84b050ba20ee264aab2cd8dd99880b819b1be696decb69263c23b9c21b855caa5d7c4a545a6f282145f0434e6cbd31f616 SHA512 b018784f1ea07c6dd76b861a759e373ff78dbf78a278d19aed7bb2725b35fa9fe071ba34db264684ba697f2d8d4d6e64f16693590640ca2877783de981a952ab
-EBUILD nanobind-2.2.0.ebuild 1489 BLAKE2B 06bab4155f8482765e7fa4f9ff02dd50ae9e91f2ecc4039f6e683f04327ee6170e9f8aef1642d83a1298babc127f273bc720c3c57820bb8ed0b983d039f10d26 SHA512 567afd5a5aa638d138227318a933083383a0a678f5be440d37e8a73f50024a32b04914b418eef63a7d0d98959a7b9f8c1d9fec90be4dcb52abe4c9dd473f1aa9
-EBUILD nanobind-2.4.0.ebuild 1490 BLAKE2B f96d33e8096df5f916715befb6f8254f1fa5974925d89c01847c51ac4e6157fb3f113f104af0cf2a5a2eb86b0359a743ef5c94b45063013af9cec83fface514e SHA512 a06fc452a3ba0a42e48f01bd6f30515ba3beb61932554846bb08126774799f7324464be17cc59c019fb008604e6de5ee4deba3c5a377f08f1439d572065e8aa2
+EBUILD nanobind-2.4.0.ebuild 1489 BLAKE2B 06bab4155f8482765e7fa4f9ff02dd50ae9e91f2ecc4039f6e683f04327ee6170e9f8aef1642d83a1298babc127f273bc720c3c57820bb8ed0b983d039f10d26 SHA512 567afd5a5aa638d138227318a933083383a0a678f5be440d37e8a73f50024a32b04914b418eef63a7d0d98959a7b9f8c1d9fec90be4dcb52abe4c9dd473f1aa9
MISC metadata.xml 367 BLAKE2B 915d33ed8f2b0e38faec001e256fc86d393b23b94bae31f2648948339be7c3d6a2b1b2a18063193c9d190cabfdc4c744d6b664c63534b88dc7afc2a2f1ccc688 SHA512 b60a701257bad827d63af141fbc9b4cadadbb397bca054db97c63eba9e174a902afc7785c3f868b6e86ec62f007f7e822d3c5b6dacb107083559b31202cef7a2
diff --git a/dev-python/nanobind/nanobind-2.2.0.ebuild b/dev-python/nanobind/nanobind-2.2.0.ebuild
deleted file mode 100644
index 241a83e2cd29..000000000000
--- a/dev-python/nanobind/nanobind-2.2.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=scikit-build-core
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit cmake distutils-r1
-
-DESCRIPTION="Tiny and efficient C++/Python bindings"
-HOMEPAGE="
- https://github.com/wjakob/nanobind/
- https://pypi.org/project/nanobind/
-"
-SRC_URI="
- https://github.com/wjakob/nanobind/archive/refs/tags/v${PV}.tar.gz
- -> ${P}.gh.tar.gz
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64 ~riscv"
-
-DEPEND="
- >=dev-cpp/robin-map-1.3.0
-"
-RDEPEND="
- ${DEPEND}
-"
-BDEPEND="
- $(python_gen_cond_dep '
- dev-python/typing-extensions[${PYTHON_USEDEP}]
- ' 3.10)
-"
-
-EPYTEST_XDIST=1
-distutils_enable_tests pytest
-
-src_prepare() {
- # https://github.com/scikit-build/scikit-build-core/issues/912
- sed -i -e '/scikit-build-core/s:0\.10:0.8:' pyproject.toml || die
- cmake_src_prepare
- distutils-r1_src_prepare
-}
-
-src_configure() {
- # XXX: nanobind installs a CMake config file which by default passes -Os
- # We currently patch around it in dev-python/pyopencl. In future, we
- # may want to add some override with Gentoo specific environment vars.
- DISTUTILS_ARGS=(
- -DNB_CREATE_INSTALL_RULES=ON
- -DNB_USE_SUBMODULE_DEPS=OFF
- -DNB_TEST=OFF
- )
-}
-
-python_test() {
- local mycmakeargs=(
- -DNB_CREATE_INSTALL_RULES=OFF
- -DNB_USE_SUBMODULE_DEPS=OFF
- -DNB_TEST=ON
- )
- cmake_src_configure
- cmake_src_compile
-
- local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
- cd "${BUILD_DIR}/tests" || die
- epytest
-}
diff --git a/dev-python/nanobind/nanobind-2.4.0.ebuild b/dev-python/nanobind/nanobind-2.4.0.ebuild
index b03c0efda603..241a83e2cd29 100644
--- a/dev-python/nanobind/nanobind-2.4.0.ebuild
+++ b/dev-python/nanobind/nanobind-2.4.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
DEPEND="
>=dev-cpp/robin-map-1.3.0