SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
devel/py-typing-extensions/Makefile
Normal file
26
devel/py-typing-extensions/Makefile
Normal file
|
@ -0,0 +1,26 @@
|
|||
COMMENT = backported type hints for python >= 3.5
|
||||
|
||||
MODPY_EGG_VERSION = 4.6.1
|
||||
DISTNAME = typing_extensions-${MODPY_EGG_VERSION}
|
||||
PKGNAME = py-${DISTNAME}
|
||||
|
||||
HOMEPAGE = https://github.com/python/typing_extensions/blob/main/README.md
|
||||
|
||||
CATEGORIES = devel
|
||||
|
||||
MAINTAINER = Renaud Allard <renaud@allard.it>
|
||||
|
||||
# PSF
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
MODULES = lang/python
|
||||
|
||||
FLAVORS = python3
|
||||
FLAVOR = python3
|
||||
|
||||
MODPY_PI = Yes
|
||||
MODPY_PYBUILD = flit_core
|
||||
# no tests in pypi distfile
|
||||
NO_TEST = Yes
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/py-typing-extensions/distinfo
Normal file
2
devel/py-typing-extensions/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (typing_extensions-4.6.1.tar.gz) = VYvAxBRfAeZAX0pf29ggUL0iGxGfS/cqlhoc/UcTSdY=
|
||||
SIZE (typing_extensions-4.6.1.tar.gz) = 64249
|
15
devel/py-typing-extensions/pkg/DESCR
Normal file
15
devel/py-typing-extensions/pkg/DESCR
Normal file
|
@ -0,0 +1,15 @@
|
|||
This was originally a backport of the standard library 'typing' module to
|
||||
Python versions older than 3.5.
|
||||
|
||||
Typing defines a standard notation for Python function and variable type
|
||||
annotations. The notation can be used for documenting code in a concise,
|
||||
standard format, and it has been designed to also be used by static and runtime
|
||||
type checkers, static analyzers, IDEs and other tools.
|
||||
|
||||
Today, 'typing_extensions' serves two related purposes:
|
||||
|
||||
- Enable use of new type system features on older Python versions. For example,
|
||||
'typing.TypeGuard' is new in Python 3.10, but 'typing_extensions' allows
|
||||
users on Python 3.6 through 3.9 to use it too.
|
||||
- Enable experimentation with new type system PEPs before they are accepted and
|
||||
added to the 'typing' module.
|
9
devel/py-typing-extensions/pkg/PLIST
Normal file
9
devel/py-typing-extensions/pkg/PLIST
Normal file
|
@ -0,0 +1,9 @@
|
|||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}typing_extensions.${MODPY_PYC_MAGIC_TAG}${MODPY_PYOEXTENSION}
|
||||
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}typing_extensions.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions-${MODPY_EGG_VERSION}.dist-info/
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions-${MODPY_EGG_VERSION}.dist-info/LICENSE
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions-${MODPY_EGG_VERSION}.dist-info/METADATA
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions-${MODPY_EGG_VERSION}.dist-info/RECORD
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions-${MODPY_EGG_VERSION}.dist-info/WHEEL
|
||||
lib/python${MODPY_VERSION}/site-packages/typing_extensions.py
|
Loading…
Add table
Add a link
Reference in a new issue