diff --git a/dev-python/llvmlite/Manifest b/dev-python/llvmlite/Manifest new file mode 100644 index 0000000000..9832d1fd36 --- /dev/null +++ b/dev-python/llvmlite/Manifest @@ -0,0 +1,4 @@ +DIST llvmlite-0.46.0-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 56275175 BLAKE2B f924c0901b196721a350ebaf6bc13c9d75f0395c02245f5c4e689991823bc3f113e5fb9fc8a09e06b6bea2b48a8c7861b3e273c169f5f68150d3dab03539dfd0 SHA512 cfa1ec557b5c0968bd223a777d21a484fab9f3332f66a749882cb5b7a40007ecfd29c8473e8112bbcd4c4d3643ce3dc2e1d010c85d56323546286ef425b55265 +DIST llvmlite-0.46.0-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 56275176 BLAKE2B ad590b7fbd75c897f8ad955657b9049f8d2a03f157c9a9b73a512100b5816bb7f84ae364f33491fc3186e38817cac217de98e88e8b027b86372bb5e1dab7c02d SHA512 a198cc1197a2659b311aea6e0a11953dd918e042d82e408e7985802317e7bb09efdba404a48f6baa6bd0dcca75962f4339ba89e55ce8edf6d63321cfea7fc0f5 +DIST llvmlite-0.46.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 56275176 BLAKE2B 3145ac56cc2f0b2154938595bd75a045ec84b9a3dd382ff5afdaa48e97619614f03d656cdad9a8b2b01e802b2a5c41450550f4988e96ecaa7cbabca4fe272ade SHA512 5ec358a8eab6aedd21b1db3afebbcf78bf0cd6ea96282e3a6c65fe37636c92b99c76bc8022998cd7f60ed78ea9230e565b954b23f6b512d36f59ecbabe4b2ee9 +DIST llvmlite-0.46.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl 56275173 BLAKE2B 9dfdb70a3678fec9f76826a106b7c9cd3884cf434bd7a06c3ac32f7c86bb18d5a40b316d95d016532bac8e8e026bd3b573dd4d0fe377fda91c824502586d97e6 SHA512 9aa56709fe08d3388f2434948f178de5d33f79ff637ef86bf10264ca390974cbf7e6a0dcc99f66754d53d5258a0f7793dd8c9d9096c18c2243892f4acd74f3e6 diff --git a/dev-python/llvmlite/llvmlite-0.46.0.ebuild b/dev-python/llvmlite/llvmlite-0.46.0.ebuild new file mode 100644 index 0000000000..64798de70a --- /dev/null +++ b/dev-python/llvmlite/llvmlite-0.46.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..14} ) +DISTUTILS_USE_PEP517=standalone +DISTUTILS_EXT=1 +inherit distutils-r1 pypi + +DESCRIPTION="Lightweight LLVM Python binding for writing JIT compilers" +HOMEPAGE=" + https://github.com/numba/llvmlite + https://pypi.org/project/llvmlite/ +" + +SRC_URI=" + python_targets_python3_11? ( + $(pypi_wheel_url ${PN} ${PV} "cp311" "cp311-manylinux2014_x86_64.manylinux_2_17_x86_64") + ) + python_targets_python3_12? ( + $(pypi_wheel_url ${PN} ${PV} "cp312" "cp312-manylinux2014_x86_64.manylinux_2_17_x86_64") + ) + python_targets_python3_13? ( + $(pypi_wheel_url ${PN} ${PV} "cp313" "cp313-manylinux2014_x86_64.manylinux_2_17_x86_64") + ) + python_targets_python3_14? ( + $(pypi_wheel_url ${PN} ${PV} "cp314" "cp314-manylinux2014_x86_64.manylinux_2_17_x86_64") + ) +" + +S="${WORKDIR}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RESTRICT="bindist mirror strip test" + +QA_PREBUILT="*" + +python_compile() { + local pyver="${EPYTHON/python/}" + pyver="${pyver/./}" + local pytag="cp${pyver}" + local abitag="${pytag}-manylinux2014_x86_64.manylinux_2_17_x86_64" + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/$(pypi_wheel_name "${PN}" "${PV}" "${pytag}" "${abitag}")" +} diff --git a/dev-python/llvmlite/metadata.xml b/dev-python/llvmlite/metadata.xml new file mode 100644 index 0000000000..6ea861040e --- /dev/null +++ b/dev-python/llvmlite/metadata.xml @@ -0,0 +1,22 @@ + + + + + vowstar@gmail.com + Huang Rui + + + numba/llvmlite + llvmlite + + + llvmlite is a lightweight LLVM Python binding for writing JIT compilers. + It provides a small subset of the LLVM C++ API wrapped in a Pythonic + interface. This is a prebuilt binary package from PyPI wheels. + + + llvmlite是一个轻量级的LLVM Python绑定,用于编写JIT编译器。它提供了LLVM + C++ API的一小部分子集,封装在Python风格的接口中。这是一个来自PyPI wheel + 的预构建二进制包。 + +