dev-python/cuda-python - 13.5.0 (stuff)

Search

Install

Install this version:

emerge -a =dev-python/cuda-python-13.5.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-python/cuda-python-13.5.0

Or alternatively:

emerge --autounmask-write -a =dev-python/cuda-python-13.5.0

Package Information

Description:
Metapackage pulling cuda-bindings and cuda-pathfinder
Homepage:
https://github.com/NVIDIA/cuda-python https://nvidia.github.io/cuda-python/ https://pypi.org/project/cuda-python/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
13.5.0 8 ~amd64 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=no
PYTHON_COMPAT=( python3_{12..14} )

inherit distutils-r1

MY_WHEEL="${PN//-/_}-${PV}-py3-none-any.whl"

DESCRIPTION="Metapackage pulling cuda-bindings and cuda-pathfinder"
HOMEPAGE="
	https://github.com/NVIDIA/cuda-python
	https://nvidia.github.io/cuda-python/
	https://pypi.org/project/cuda-python/
"
SRC_URI="
	https://files.pythonhosted.org/packages/1f/35/b8f202f657a692cbd37bcdb0d95ad21c10df5c71777a6603576b302bb8f1/${MY_WHEEL}
"
S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
# Install the empty metadata wheel instead of fetching the monorepo; its sole
# purpose is to pull the CUDA Python components.
RDEPEND="
	~dev-python/cuda-bindings-${PV}[${PYTHON_USEDEP}]
	>=dev-python/cuda-core-1.2.0[${PYTHON_USEDEP}]
	<dev-python/cuda-core-1.3[${PYTHON_USEDEP}]
	>=dev-python/cuda-pathfinder-1.1[${PYTHON_USEDEP}]
	<dev-python/cuda-pathfinder-2[${PYTHON_USEDEP}]
"

BDEPEND+="
	$(python_gen_cond_dep '
		dev-python/installer[${PYTHON_USEDEP}]
	')
"

src_unpack() {
	mkdir -p "${S}/wheel" || die
	cp "${DISTDIR}/${MY_WHEEL}" "${S}/wheel/" || die
}

python_install() {
	${EPYTHON} -m installer --destdir="${D}" "${S}/wheel/${MY_WHEEL}" || die
}

Inherited Eclasses

Dependencies

RDEPEND

	~dev-python/cuda-bindings-13.5.0[]
	>=dev-python/cuda-core-1.2.0[]
	<dev-python/cuda-core-1.3[]
	>=dev-python/cuda-pathfinder-1.1[]
	<dev-python/cuda-pathfinder-2[]

BDEPEND

	$(python_gen_cond_dep '
		dev-python/installer[${PYTHON_USEDEP}]
	')

Manifest for 13.5.0

Type File Size Source URLs
DIST cuda_python-13.5.0-py3-none-any.whl 7595 bytes https://files.pythonhosted.org/packages/1f/35/b8f202f657a692cbd37bcdb0d95ad21c10df5c71777a6603576b302bb8f1/cuda_python-13.5.0-py3-none-any.whl