summaryrefslogtreecommitdiff
path: root/dev-python/librt/librt-0.6.3.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/librt/librt-0.6.3.ebuild')
-rw-r--r--dev-python/librt/librt-0.6.3.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/librt/librt-0.6.3.ebuild b/dev-python/librt/librt-0.6.3.ebuild
new file mode 100644
index 000000000000..31bb1f89658a
--- /dev/null
+++ b/dev-python/librt/librt-0.6.3.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"
+
+BDEPEND="
+ test? (
+ dev-python/mypy-extensions[${PYTHON_USEDEP}]
+ )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+python_test() {
+ rm -rf librt || die
+ epytest smoke_tests.py
+}