pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Mar  6 13:48:21 UTC 2026

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/py-typer: ALTERNATIVES DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.4601 -r1.4602 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-typer/ALTERNATIVES \
    pkgsrc/devel/py-typer/DESCR pkgsrc/devel/py-typer/Makefile \
    pkgsrc/devel/py-typer/PLIST pkgsrc/devel/py-typer/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.4601 pkgsrc/devel/Makefile:1.4602
--- pkgsrc/devel/Makefile:1.4601        Sun Mar  1 11:56:04 2026
+++ pkgsrc/devel/Makefile       Fri Mar  6 13:48:21 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4601 2026/03/01 11:56:04 js Exp $
+# $NetBSD: Makefile,v 1.4602 2026/03/06 13:48:21 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -3254,6 +3254,7 @@ SUBDIR+=  py-tubes
 SUBDIR+=       py-txaio
 SUBDIR+=       py-txrequests
 SUBDIR+=       py-typeguard
+SUBDIR+=       py-typer
 SUBDIR+=       py-types-gdb
 SUBDIR+=       py-types-setuptools
 SUBDIR+=       py-types-toml

Added files:

Index: pkgsrc/devel/py-typer/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-typer/ALTERNATIVES:1.1
--- /dev/null   Fri Mar  6 13:48:21 2026
+++ pkgsrc/devel/py-typer/ALTERNATIVES  Fri Mar  6 13:48:21 2026
@@ -0,0 +1 @@
+bin/typer @PREFIX@/bin/typer-@PYVERSSUFFIX@
Index: pkgsrc/devel/py-typer/DESCR
diff -u /dev/null pkgsrc/devel/py-typer/DESCR:1.1
--- /dev/null   Fri Mar  6 13:48:21 2026
+++ pkgsrc/devel/py-typer/DESCR Fri Mar  6 13:48:21 2026
@@ -0,0 +1,6 @@
+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.
Index: pkgsrc/devel/py-typer/Makefile
diff -u /dev/null pkgsrc/devel/py-typer/Makefile:1.1
--- /dev/null   Fri Mar  6 13:48:21 2026
+++ pkgsrc/devel/py-typer/Makefile      Fri Mar  6 13:48:21 2026
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1 2026/03/06 13:48:21 adam Exp $
+
+DISTNAME=      typer-0.24.1
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=t/typer/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/fastapi/typer
+COMMENT=       Library for building CLI tools
+LICENSE=       mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-pdm_backend>0:../../devel/py-pdm_backend
+DEPENDS+=      ${PYPKGPREFIX}-annotated-doc>=0.0.2:../../textproc/py-annotated-doc
+DEPENDS+=      ${PYPKGPREFIX}-click>=8.2.1:../../devel/py-click
+DEPENDS+=      ${PYPKGPREFIX}-shellingham>=1.3.0:../../misc/py-shellingham
+DEPENDS+=      ${PYPKGPREFIX}-rich>=12.3.0:../../comms/py-rich
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=4.0.0:../../devel/py-test-cov
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-sugar>=0.9.5:../../devel/py-test-sugar
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=1.32.0:../../devel/py-test-xdist
+
+USE_LANGUAGES= # none
+
+# as of 0.24.1
+# 21 errors
+# due to py-shellingham looking for /proc/R/stat
+# https://github.com/sarugaku/shellingham/issues/99
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} typer typer-${PYVERSSUFFIX} || ${TRUE}
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-typer/PLIST
diff -u /dev/null pkgsrc/devel/py-typer/PLIST:1.1
--- /dev/null   Fri Mar  6 13:48:21 2026
+++ pkgsrc/devel/py-typer/PLIST Fri Mar  6 13:48:21 2026
@@ -0,0 +1,56 @@
+@comment $NetBSD: PLIST,v 1.1 2026/03/06 13:48:21 adam Exp $
+bin/typer-${PYVERSSUFFIX}
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/typer/__init__.py
+${PYSITELIB}/typer/__init__.pyc
+${PYSITELIB}/typer/__init__.pyo
+${PYSITELIB}/typer/__main__.py
+${PYSITELIB}/typer/__main__.pyc
+${PYSITELIB}/typer/__main__.pyo
+${PYSITELIB}/typer/_completion_classes.py
+${PYSITELIB}/typer/_completion_classes.pyc
+${PYSITELIB}/typer/_completion_classes.pyo
+${PYSITELIB}/typer/_completion_shared.py
+${PYSITELIB}/typer/_completion_shared.pyc
+${PYSITELIB}/typer/_completion_shared.pyo
+${PYSITELIB}/typer/_types.py
+${PYSITELIB}/typer/_types.pyc
+${PYSITELIB}/typer/_types.pyo
+${PYSITELIB}/typer/_typing.py
+${PYSITELIB}/typer/_typing.pyc
+${PYSITELIB}/typer/_typing.pyo
+${PYSITELIB}/typer/cli.py
+${PYSITELIB}/typer/cli.pyc
+${PYSITELIB}/typer/cli.pyo
+${PYSITELIB}/typer/colors.py
+${PYSITELIB}/typer/colors.pyc
+${PYSITELIB}/typer/colors.pyo
+${PYSITELIB}/typer/completion.py
+${PYSITELIB}/typer/completion.pyc
+${PYSITELIB}/typer/completion.pyo
+${PYSITELIB}/typer/core.py
+${PYSITELIB}/typer/core.pyc
+${PYSITELIB}/typer/core.pyo
+${PYSITELIB}/typer/main.py
+${PYSITELIB}/typer/main.pyc
+${PYSITELIB}/typer/main.pyo
+${PYSITELIB}/typer/models.py
+${PYSITELIB}/typer/models.pyc
+${PYSITELIB}/typer/models.pyo
+${PYSITELIB}/typer/params.py
+${PYSITELIB}/typer/params.pyc
+${PYSITELIB}/typer/params.pyo
+${PYSITELIB}/typer/py.typed
+${PYSITELIB}/typer/rich_utils.py
+${PYSITELIB}/typer/rich_utils.pyc
+${PYSITELIB}/typer/rich_utils.pyo
+${PYSITELIB}/typer/testing.py
+${PYSITELIB}/typer/testing.pyc
+${PYSITELIB}/typer/testing.pyo
+${PYSITELIB}/typer/utils.py
+${PYSITELIB}/typer/utils.pyc
+${PYSITELIB}/typer/utils.pyo
Index: pkgsrc/devel/py-typer/distinfo
diff -u /dev/null pkgsrc/devel/py-typer/distinfo:1.1
--- /dev/null   Fri Mar  6 13:48:21 2026
+++ pkgsrc/devel/py-typer/distinfo      Fri Mar  6 13:48:21 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/03/06 13:48:21 adam Exp $
+
+BLAKE2s (typer-0.24.1.tar.gz) = 44c929c0f8f7d61720734e4066d377a9e30078a9a198a9bcc5e1af75627c9209
+SHA512 (typer-0.24.1.tar.gz) = 581511a2e0397be85023237161c5683e3ea8cf30208b5090fe4b037fb1d351f3e1e80e33bc0dcf6d116a71926561cfb560b631fffb38195afffcf9a9a1e71439
+Size (typer-0.24.1.tar.gz) = 118613 bytes



Home | Main Index | Thread Index | Old Index