Skip to content

Commit a80dee9

Browse files
committed
lang/py-librt: import py-librt-0.7.8
This library contains efficient C implementations of various Python standard library classes and functions. Mypyc can use these fast implementations when compiling Python code to native extension modules.
1 parent 7ef1ce8 commit a80dee9

4 files changed

Lines changed: 43 additions & 0 deletions

File tree

lang/py-librt/DESCR

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
This library contains efficient C implementations of various Python
2+
standard library classes and functions. Mypyc can use these fast
3+
implementations when compiling Python code to native extension
4+
modules.

lang/py-librt/Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# $NetBSD: Makefile,v 1.1 2026/01/25 23:22:07 wiz Exp $
2+
3+
DISTNAME= librt-0.7.8
4+
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5+
CATEGORIES= lang
6+
MASTER_SITES= ${MASTER_SITE_PYPI:=l/librt/}
7+
8+
MAINTAINER= pkgsrc-users@NetBSD.org
9+
HOMEPAGE= https://pypi.org/project/librt/
10+
COMMENT= Mypyc runtime library
11+
LICENSE= mit
12+
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
14+
DEPENDS+= ${PYPKGPREFIX}-mypy_extensions-[0-9]*:../../lang/py-mypy_extensions
15+
16+
do-test:
17+
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} smoke_tests.py
18+
19+
.include "../../lang/python/wheel.mk"
20+
.include "../../mk/bsd.pkg.mk"

lang/py-librt/PLIST

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
@comment $NetBSD: PLIST,v 1.1 2026/01/25 23:22:07 wiz Exp $
2+
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
3+
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
4+
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
5+
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
6+
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
7+
${PYSITELIB}/librt/__init__.pyi
8+
${PYSITELIB}/librt/base64.pyi
9+
${PYSITELIB}/librt/base64.so
10+
${PYSITELIB}/librt/internal.pyi
11+
${PYSITELIB}/librt/internal.so
12+
${PYSITELIB}/librt/py.typed
13+
${PYSITELIB}/librt/strings.pyi
14+
${PYSITELIB}/librt/strings.so

lang/py-librt/distinfo

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
$NetBSD: distinfo,v 1.1 2026/01/25 23:22:07 wiz Exp $
2+
3+
BLAKE2s (librt-0.7.8.tar.gz) = 108e158ac5baeb002140620d967e5fa9aca14f7799f8bd0cb9699c7aacb5e6b0
4+
SHA512 (librt-0.7.8.tar.gz) = bd562ea330a64018281deb6b02a87b54bb98e02b0d615bfba6dee8000a1bfe03c3f8e90835b8f5db3211d480663a1e40af95992a1b60c43a173b0865feba3320
5+
Size (librt-0.7.8.tar.gz) = 148323 bytes

0 commit comments

Comments
 (0)