Skip to content

Commit

Permalink
dev-python/numba: add ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
mschubert committed Jan 25, 2025
1 parent 41facde commit 39d87c8
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/numba/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST numba-0.61.0.gh.tar.gz 2884884 BLAKE2B fecfc6ce22ea2ff58d393410d1bdee6cb39101126e249ccb91bbddc62566667845ed8374450a05f9a761d7c2034de855e2e89668ef1f7602587e3250aa747e17 SHA512 74c12099965b8f2f4782c1fb55383a5867af852833647c6bd772b3f281ad04fcf4622ee9f3afd4535735ee99f16c3ddddfb826184cee8112e33e533b94d8ccef
16 changes: 16 additions & 0 deletions dev-python/numba/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?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>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">numba/numba</remote-id>
<remote-id type="pypi">numba</remote-id>
</upstream>
</pkgmetadata>
27 changes: 27 additions & 0 deletions dev-python/numba/numba-0.61.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1

DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
HOMEPAGE="https://numba.pydata.org/"
SRC_URI="https://github.com/numba/numba/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"

RDEPEND="
dev-python/llvmlite[$PYTHON_USEDEP]
<=dev-python/numpy-2.1[$PYTHON_USEDEP]
"
DEPEND="${RDEPEND}"

RESTRICT="test" # tests need to be run from "${BUILD_DIR}/build/lib.linux-x86_64-cpython-312"
distutils_enable_tests pytest

0 comments on commit 39d87c8

Please sign in to comment.