diff options
Diffstat (limited to 'dev-python/librt/librt-0.7.4.ebuild')
| -rw-r--r-- | dev-python/librt/librt-0.7.4.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/librt/librt-0.7.4.ebuild b/dev-python/librt/librt-0.7.4.ebuild new file mode 100644 index 000000000000..82cc8f38ad7c --- /dev/null +++ b/dev-python/librt/librt-0.7.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYPI_VERIFY_REPO=https://github.com/mypyc/librt +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Mypyc runtime library" +HOMEPAGE=" + https://github.com/mypyc/librt/ + https://pypi.org/project/librt/ +" + +LICENSE="MIT PSF-2.4" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64 ~riscv" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +} |
