Skip to content

Commit d3786cf

Browse files
author
adam
committed
py-typer: added version 0.24.1
Typer is a library for building CLI applications that users will love using and developers will love creating. Based on Python type hints. It's also a command line tool to run scripts, automatically converting them to CLI applications.
1 parent a397c05 commit d3786cf

6 files changed

Lines changed: 104 additions & 1 deletion

File tree

devel/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $NetBSD: Makefile,v 1.4601 2026/03/01 11:56:04 js Exp $
1+
# $NetBSD: Makefile,v 1.4602 2026/03/06 13:48:21 adam Exp $
22
#
33

44
COMMENT= Development utilities
@@ -3254,6 +3254,7 @@ SUBDIR+= py-tubes
32543254
SUBDIR+= py-txaio
32553255
SUBDIR+= py-txrequests
32563256
SUBDIR+= py-typeguard
3257+
SUBDIR+= py-typer
32573258
SUBDIR+= py-types-gdb
32583259
SUBDIR+= py-types-setuptools
32593260
SUBDIR+= py-types-toml

devel/py-typer/ALTERNATIVES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
bin/typer @PREFIX@/bin/typer-@PYVERSSUFFIX@

devel/py-typer/DESCR

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Typer is a library for building CLI applications that users will
2+
love using and developers will love creating. Based on Python type
3+
hints.
4+
5+
It's also a command line tool to run scripts, automatically converting
6+
them to CLI applications.

devel/py-typer/Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# $NetBSD: Makefile,v 1.1 2026/03/06 13:48:21 adam Exp $
2+
3+
DISTNAME= typer-0.24.1
4+
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
5+
CATEGORIES= devel python
6+
MASTER_SITES= ${MASTER_SITE_PYPI:=t/typer/}
7+
8+
MAINTAINER= pkgsrc-users@NetBSD.org
9+
HOMEPAGE= https://github.com/fastapi/typer
10+
COMMENT= Library for building CLI tools
11+
LICENSE= mit
12+
13+
TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend>0:../../devel/py-pdm_backend
14+
DEPENDS+= ${PYPKGPREFIX}-annotated-doc>=0.0.2:../../textproc/py-annotated-doc
15+
DEPENDS+= ${PYPKGPREFIX}-click>=8.2.1:../../devel/py-click
16+
DEPENDS+= ${PYPKGPREFIX}-shellingham>=1.3.0:../../misc/py-shellingham
17+
DEPENDS+= ${PYPKGPREFIX}-rich>=12.3.0:../../comms/py-rich
18+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov
19+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.5:../../devel/py-test-sugar
20+
TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.32.0:../../devel/py-test-xdist
21+
22+
USE_LANGUAGES= # none
23+
24+
# as of 0.24.1
25+
# 21 errors
26+
# due to py-shellingham looking for /proc/R/stat
27+
# https://github.com/sarugaku/shellingham/issues/99
28+
29+
post-install:
30+
cd ${DESTDIR}${PREFIX}/bin && \
31+
${MV} typer typer-${PYVERSSUFFIX} || ${TRUE}
32+
33+
.include "../../lang/python/wheel.mk"
34+
.include "../../mk/bsd.pkg.mk"

devel/py-typer/PLIST

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
@comment $NetBSD: PLIST,v 1.1 2026/03/06 13:48:21 adam Exp $
2+
bin/typer-${PYVERSSUFFIX}
3+
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
4+
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
5+
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
6+
${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
7+
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
8+
${PYSITELIB}/typer/__init__.py
9+
${PYSITELIB}/typer/__init__.pyc
10+
${PYSITELIB}/typer/__init__.pyo
11+
${PYSITELIB}/typer/__main__.py
12+
${PYSITELIB}/typer/__main__.pyc
13+
${PYSITELIB}/typer/__main__.pyo
14+
${PYSITELIB}/typer/_completion_classes.py
15+
${PYSITELIB}/typer/_completion_classes.pyc
16+
${PYSITELIB}/typer/_completion_classes.pyo
17+
${PYSITELIB}/typer/_completion_shared.py
18+
${PYSITELIB}/typer/_completion_shared.pyc
19+
${PYSITELIB}/typer/_completion_shared.pyo
20+
${PYSITELIB}/typer/_types.py
21+
${PYSITELIB}/typer/_types.pyc
22+
${PYSITELIB}/typer/_types.pyo
23+
${PYSITELIB}/typer/_typing.py
24+
${PYSITELIB}/typer/_typing.pyc
25+
${PYSITELIB}/typer/_typing.pyo
26+
${PYSITELIB}/typer/cli.py
27+
${PYSITELIB}/typer/cli.pyc
28+
${PYSITELIB}/typer/cli.pyo
29+
${PYSITELIB}/typer/colors.py
30+
${PYSITELIB}/typer/colors.pyc
31+
${PYSITELIB}/typer/colors.pyo
32+
${PYSITELIB}/typer/completion.py
33+
${PYSITELIB}/typer/completion.pyc
34+
${PYSITELIB}/typer/completion.pyo
35+
${PYSITELIB}/typer/core.py
36+
${PYSITELIB}/typer/core.pyc
37+
${PYSITELIB}/typer/core.pyo
38+
${PYSITELIB}/typer/main.py
39+
${PYSITELIB}/typer/main.pyc
40+
${PYSITELIB}/typer/main.pyo
41+
${PYSITELIB}/typer/models.py
42+
${PYSITELIB}/typer/models.pyc
43+
${PYSITELIB}/typer/models.pyo
44+
${PYSITELIB}/typer/params.py
45+
${PYSITELIB}/typer/params.pyc
46+
${PYSITELIB}/typer/params.pyo
47+
${PYSITELIB}/typer/py.typed
48+
${PYSITELIB}/typer/rich_utils.py
49+
${PYSITELIB}/typer/rich_utils.pyc
50+
${PYSITELIB}/typer/rich_utils.pyo
51+
${PYSITELIB}/typer/testing.py
52+
${PYSITELIB}/typer/testing.pyc
53+
${PYSITELIB}/typer/testing.pyo
54+
${PYSITELIB}/typer/utils.py
55+
${PYSITELIB}/typer/utils.pyc
56+
${PYSITELIB}/typer/utils.pyo

devel/py-typer/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/03/06 13:48:21 adam Exp $
2+
3+
BLAKE2s (typer-0.24.1.tar.gz) = 44c929c0f8f7d61720734e4066d377a9e30078a9a198a9bcc5e1af75627c9209
4+
SHA512 (typer-0.24.1.tar.gz) = 581511a2e0397be85023237161c5683e3ea8cf30208b5090fe4b037fb1d351f3e1e80e33bc0dcf6d116a71926561cfb560b631fffb38195afffcf9a9a1e71439
5+
Size (typer-0.24.1.tar.gz) = 118613 bytes

0 commit comments

Comments
 (0)