repo/gentoo:master commit in: dev-python/librt/

Michał Górny <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786169233.67c86265b31cb9eb0685d000dc66586d74f5f209.mgorny@gentoo>
commit:     67c86265b31cb9eb0685d000dc66586d74f5f209
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  8 05:26:02 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug  8 06:07:13 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67c86265

dev-python/librt: Bump to 0.15.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/librt/Manifest            |  2 ++
 dev-python/librt/librt-0.15.0.ebuild | 40 ++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/librt/Manifest b/dev-python/librt/Manifest
index b8bc0f7d5a60..76161788fb36 100644
--- a/dev-python/librt/Manifest
+++ b/dev-python/librt/Manifest
@@ -4,3 +4,5 @@ DIST librt-0.13.0.tar.gz 211402 BLAKE2B 765dad1880048eee8884b87623f664f8b641f418
 DIST librt-0.13.0.tar.gz.provenance 9729 BLAKE2B b6e38cf63e41464b44a0ec3b1264c95d43e4870becbaf0cfd9340e67572f52c2ab326a93dc772b06865dfe2097a9ccdc58f6ddf0a846df2d2f56cbbf1ef721e9 SHA512 51132f126419e1d690390ddc44583eb82de0475a47a86b6af09ea643c63d4028be7ad35f92b55e7d43e9daa8d302b032c7c1d2529a59329166df3f8bf118305f
 DIST librt-0.14.0.tar.gz 214292 BLAKE2B e14d9bc61647011dda30130421fae92d2f8b5821e9eb15980ce5e4778bda733189d15f695c69539bccb513fdfe79abfb66953c169ffcb7021ecbcfa97140997c SHA512 b14202afcc4a318351433333e377673b6f89b2765f589d31a526bc4a73b0b9537ba5c539ecff745d0f57c4f731cbb354e8bc15ba5f0818d0b52d3231cec8db96
 DIST librt-0.14.0.tar.gz.provenance 9639 BLAKE2B d7f2f1dbe90069beb1fc1338768f98c00a4741f7cd0bc43fbe056af3ea4a43c4cecc8f4615a166f125d17eca76a467381ab039c512b6393409ecf066b3c171ab SHA512 7ed201604903030181d56629f9d98fe58aa22112cd15577728869049171c72501e8e8ed9db6323111df4df2f1f496edba2a65c137416b067b454ba56c0044b59
+DIST librt-0.15.0.tar.gz 214338 BLAKE2B 9b5e0ff51afa377aebbff37552bf498269eeab12bd5df39d8c3bb1512d9050280f934e28e9bebbc3007a5dd292a87503e4821860f294f727dda585c992d94b4f SHA512 29ed67971b6c452be6a5b4c60c16f9e9cbb0af4aa6be670bca6072801c6de192a777a1d82ad3c721f0ab8d05cc546899cfdc72a8a666d1dbb8d22d0e13f98a12
+DIST librt-0.15.0.tar.gz.provenance 9733 BLAKE2B 61378ef2ff8a4a2889a6805b97faa71550f0de1878a3732352a5a4bf298cd65f4965ca4d6b606342ebe0f620211151415e5275009ad5b5591f2a46824addeb90 SHA512 99913591daa2988bfbd832d85bcc4dbbdf89e891cc652c579677831499d73278609163f2cf3248c2d07e0e16d334f6b5640256ab272cfb210313e26e94ce56f5

diff --git a/dev-python/librt/librt-0.15.0.ebuild b/dev-python/librt/librt-0.15.0.ebuild
new file mode 100644
index 000000000000..cfbd17eae668
--- /dev/null
+++ b/dev-python/librt/librt-0.15.0.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_{12..15} python3_{14..15}t )
+
+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 ~arm ~arm64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+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
+}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.