commit: d533068cd63829419eedb0e1801865ac578d9784 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Jan 15 06:29:08 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Jan 15 07:14:20 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d533068c
dev-python/librt: Bump to 0.7.8 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/librt/Manifest | 2 ++ dev-python/librt/librt-0.7.8.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 2 files changed, 42 insertions(+) diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest index 418d8f5dd2ed..a5143a217e42 100644 --- a/dev-python/librt/Manifest +++ b/dev-python/librt/Manifest @@ -1,2 +1,4 @@ DIST librt-0.7.7.tar.gz 145910 BLAKE2B caa7341ee7d9ef87d37ea727813f3a81ff99bc11bf02d09bf1a4c048b42ee2839d7a0773f354dd712db6f430eec001dad5ccca8cb97efe7603f1a8267854b642 SHA512 b55bc822407465652e77e6314ac62856fbdf6077601ca6b10cc2e5490f20a8c84445d29c6187331f163c52a4cf30a96c32dd8b3a2c9da36cfa2a20432d2ae8c9 DIST librt-0.7.7.tar.gz.provenance 9266 BLAKE2B 4a8d904ca34afbdd2b00d54986d8ab8395e11c150747f1b515824555516f78656191960606a62d97ccdc687d33f1706b3884a14e62e9c919d594a8f4f236c63c SHA512 b3c6d193fed94332517801e2b2758db6056b2b5501cafaf67c92a58ff8417edba50feb909c4ea956a349f4698c230c1f112c9273a05576aa9bc0c0a86dcf8b5f +DIST librt-0.7.8.tar.gz 148323 BLAKE2B 9aab34a9170f32dca52cab0fa9bee432978661e0bd4ded83b084a13d58983278db27d3c5282c55ab0125d759a6f5471dd4ca8f092bf5b8651408514f567a8a73 SHA512 bd562ea330a64018281deb6b02a87b54bb98e02b0d615bfba6dee8000a1bfe03c3f8e90835b8f5db3211d480663a1e40af95992a1b60c43a173b0865feba3320 +DIST librt-0.7.8.tar.gz.provenance 9219 BLAKE2B 4cfcce07ef22e57af3cc6688fc176fa1acabebefcf2334c80c7213431947be181ef1784272990a7d294070502aaa529fa6a7fcfbe64490d945a0e547f56ba15c SHA512 59e411c757a18d28c4a3cc43030557ab1f854293eb6696e4c9547eefd3aa76a369bb695acf924e6d03de44f221e026222088d60763495a68594c6512f99263a8 diff --git a/dev-python/librt/librt-0.7.8.ebuild b/dev-python/librt/librt-0.7.8.ebuild new file mode 100644 index 000000000000..bd8e035f98d0 --- /dev/null +++ b/dev-python/librt/librt-0.7.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 2025-2026 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 ~s390" + +BDEPEND=" + test? ( + dev-python/mypy-extensions[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_compile() { + # setuptools is broken for C extensions, bug #907718, bug #967476 etc. + distutils-r1_python_compile -j1 +} + +python_test() { + rm -rf librt || die + epytest smoke_tests.py +}
