pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang
Module Name: pkgsrc
Committed By: adam
Date: Tue Jan 30 21:04:34 UTC 2024
Modified Files:
pkgsrc/lang: Makefile
Added Files:
pkgsrc/lang/py-annotated-types: DESCR Makefile PLIST distinfo
Log Message:
py-annotated-types: added version 0.6.0
PEP-593 added typing.Annotated as a way of adding context-specific metadata to
existing types, and specifies that Annotated[T, x] should be treated as T by
any tool or library without special logic for x.
This package provides metadata objects which can be used to represent common
constraints such as upper and lower bounds on scalar values and collection
sizes, a Predicate marker for runtime checks, and descriptions of how we intend
these metadata to be interpreted. In some cases, we also note alternative
representations which do not require this package.
To generate a diff of this commit:
cvs rdiff -u -r1.717 -r1.718 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/py-annotated-types/DESCR \
pkgsrc/lang/py-annotated-types/Makefile \
pkgsrc/lang/py-annotated-types/PLIST \
pkgsrc/lang/py-annotated-types/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.717 pkgsrc/lang/Makefile:1.718
--- pkgsrc/lang/Makefile:1.717 Fri Jan 26 13:13:45 2024
+++ pkgsrc/lang/Makefile Tue Jan 30 21:04:34 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.717 2024/01/26 13:13:45 wiz Exp $
+# $NetBSD: Makefile,v 1.718 2024/01/30 21:04:34 adam Exp $
#
COMMENT= Programming languages
@@ -233,6 +233,7 @@ SUBDIR+= picoc
SUBDIR+= pict
SUBDIR+= polyml
SUBDIR+= purescript
+SUBDIR+= py-annotated-types
SUBDIR+= py-asttokens
SUBDIR+= py-basicproperty
SUBDIR+= py-byterun
Added files:
Index: pkgsrc/lang/py-annotated-types/DESCR
diff -u /dev/null pkgsrc/lang/py-annotated-types/DESCR:1.1
--- /dev/null Tue Jan 30 21:04:35 2024
+++ pkgsrc/lang/py-annotated-types/DESCR Tue Jan 30 21:04:34 2024
@@ -0,0 +1,9 @@
+PEP-593 added typing.Annotated as a way of adding context-specific metadata to
+existing types, and specifies that Annotated[T, x] should be treated as T by
+any tool or library without special logic for x.
+
+This package provides metadata objects which can be used to represent common
+constraints such as upper and lower bounds on scalar values and collection
+sizes, a Predicate marker for runtime checks, and descriptions of how we intend
+these metadata to be interpreted. In some cases, we also note alternative
+representations which do not require this package.
Index: pkgsrc/lang/py-annotated-types/Makefile
diff -u /dev/null pkgsrc/lang/py-annotated-types/Makefile:1.1
--- /dev/null Tue Jan 30 21:04:35 2024
+++ pkgsrc/lang/py-annotated-types/Makefile Tue Jan 30 21:04:34 2024
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2024/01/30 21:04:34 adam Exp $
+
+DISTNAME= annotated_types-0.6.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
+CATEGORIES= lang python
+MASTER_SITES= ${MASTER_SITE_PYPI:=a/annotated-types/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/annotated-types/annotated-types
+COMMENT= Reusable constraint types to use with typing.Annotated
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-hatchling-[0-9]*:../../devel/py-hatchling
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+.include "../../lang/python/pyversion.mk"
+.if ${PYTHON_VERSION} < 309
+DEPENDS+= ${PYPKGPREFIX}-typing-extensions>=4.0.0:../../devel/py-typing-extensions
+.endif
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/py-annotated-types/PLIST
diff -u /dev/null pkgsrc/lang/py-annotated-types/PLIST:1.1
--- /dev/null Tue Jan 30 21:04:35 2024
+++ pkgsrc/lang/py-annotated-types/PLIST Tue Jan 30 21:04:34 2024
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2024/01/30 21:04:34 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
+${PYSITELIB}/annotated_types/__init__.py
+${PYSITELIB}/annotated_types/__init__.pyc
+${PYSITELIB}/annotated_types/__init__.pyo
+${PYSITELIB}/annotated_types/py.typed
+${PYSITELIB}/annotated_types/test_cases.py
+${PYSITELIB}/annotated_types/test_cases.pyc
+${PYSITELIB}/annotated_types/test_cases.pyo
Index: pkgsrc/lang/py-annotated-types/distinfo
diff -u /dev/null pkgsrc/lang/py-annotated-types/distinfo:1.1
--- /dev/null Tue Jan 30 21:04:35 2024
+++ pkgsrc/lang/py-annotated-types/distinfo Tue Jan 30 21:04:34 2024
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2024/01/30 21:04:34 adam Exp $
+
+BLAKE2s (annotated_types-0.6.0.tar.gz) = 43bcd5b5e66102afb7063039f880c1ba439c813375ffd81318a1437a03b54a76
+SHA512 (annotated_types-0.6.0.tar.gz) = 6b7f6fa23f47758d955822564227173951d6ddd854397b0c996bb6adeadd9caebfab6d193595be17003c1ef0e81a6bd8e20ec8221a70ffa35f9a4414300e788d
+Size (annotated_types-0.6.0.tar.gz) = 14670 bytes
Home |
Main Index |
Thread Index |
Old Index