1
0

dev-python/llvmlite: new package, add 9999

This commit is contained in:
Ryan Fox 2022-10-02 10:28:18 -07:00
parent a046376201
commit 5df6e6ef17
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 1104 additions and 0 deletions

View File

@ -0,0 +1,3 @@
AUX llvmlite-9999-830.patch 45913 BLAKE2B 086bd23a287238197906a1c85b63d2eeadcd56cab70e918f32f82f9e47cb710b060317656f39509162919dfa5b1c41e22dd78cdf9403d01361490bfb46a5fb0b SHA512 22d5edc9adb9050fc57d56df6e44f0c02765d11d460cc59ba69fa41d14273ec5e5d476049bb5afcf0ee616ab553dd95977e82cfc1430a85690c908be9d3e97c2
EBUILD llvmlite-9999.ebuild 840 BLAKE2B 9946594da07688154f02649946979e5256d4dc309bb8707b8258833be464bd6b4a01974325b6699da37c1188756f6d36402e77b809c29e505df73c81a58d629c SHA512 d97f7b95c7cd97072d1154e23a8dfedb063ef4bcad9339c05755a694be37d68d7a989a2826ab6e0cc663bf0fe43463b78c2b14380606093b16573dd30120d468
MISC metadata.xml 367 BLAKE2B 90089234b5aa1e0ced1e8c5ee6f011209b3e09fb9943bfeffa433fc933398a4f4fe12e0ac74e3f17c1f11331bb39fabc38c9268743e3096cf4cd2b906ba90d42 SHA512 4e4f263e8efc77f803291c78d3dd98c096e584e918c79cba9c8a929bb36939efbe7a0f1fb299806980143c23fb1144b08051dd553a80a889a5c53406d32d72b4

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,35 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/numba/llvmlite.git"
else
SRC_URI="https://github.com/numba/llvmlite/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
KEYWORDS="~amd64"
fi
DESCRIPTION="Lightweight LLVM bindings for Python"
HOMEPAGE="https://llvmlite.pydata.org/"
LICENSE="BSD-2"
SLOT="0"
RESTRICT="test"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="sys-devel/llvm:14"
# It's bad practice to ship unreleased patches, but this is too convenient.
PATCHES=( "${FILESDIR}/${P}-830.patch" )
python_compile() {
export "LLVM_CONFIG=${EPREFIX}/usr/lib/llvm/14/bin/llvm-config"
distutils-r1_python_compile
}

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
<upstream>
<remote-id type="pypi">llvmlite</remote-id>
<remote-id type="github">numba/llvmlite</remote-id>
</upstream>
</pkgmetadata>