dev-python/llvmlite - 0.40.1 (blshkv)

Search

Install

Install this version:

emerge -a =dev-python/llvmlite-0.40.1

Package Information

Description:
A lightweight LLVM python binding for writing JIT compilers
Homepage:
https://llvmlite.readthedocs.io/en/latest/ https://pypi.org/project/llvmlite/
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
0.40.1 8 amd64 0
View Raw Ebuild
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_EXT=1
inherit distutils-r1 pypi

DESCRIPTION="A lightweight LLVM python binding for writing JIT compilers"
HOMEPAGE="https://llvmlite.readthedocs.io/en/latest/ https://pypi.org/project/llvmlite/"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64"

#http://llvmlite.pydata.org/en/latest/admin-guide/install.html
#dev-libs/libedit ?
BDEPEND="sys-devel/llvm:14"
RDEPEND="${BDEPEND}"
DEPEND="${RDEPEND}"

python_compile() {
	export "LLVM_CONFIG=${EPREFIX}/usr/lib/llvm/14/bin/llvm-config"
	distutils-r1_python_compile
}

distutils_enable_tests pytest

Inherited Eclasses

Dependencies

DEPEND

sys-devel/llvm:14

RDEPEND

sys-devel/llvm:14

BDEPEND

sys-devel/llvm:14