diff --git a/devel/py-types-ujson/Makefile b/devel/py-types-ujson/Makefile new file mode 100644 index 000000000000..e6f0d07ea44d --- /dev/null +++ b/devel/py-types-ujson/Makefile @@ -0,0 +1,21 @@ +PORTNAME= types-ujson +DISTVERSION= 5.10.0.20240515 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Typing stubs for ujson +WWW= https://github.com/python/typeshed + +LICENSE= APACHE20 + +USES= python +USE_PYTHON= distutils +NO_ARCH= yes + +PLIST_FILES= %%PYTHON_SITELIBDIR%%/ujson-stubs/METADATA.toml \ + %%PYTHON_SITELIBDIR%%/ujson-stubs/__init__.pyi \ + %%PYTHON_SITELIBDIR%%/ujson-stubs/py.typed + +.include diff --git a/devel/py-types-ujson/distinfo b/devel/py-types-ujson/distinfo new file mode 100644 index 000000000000..c9b22d941483 --- /dev/null +++ b/devel/py-types-ujson/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1737924152 +SHA256 (types-ujson-5.10.0.20240515.tar.gz) = ceae7127f0dafe4af5dd0ecf98ee13e9d75951ef963b5c5a9b7ea92e0d71f0d7 +SIZE (types-ujson-5.10.0.20240515.tar.gz) = 3571 diff --git a/devel/py-types-ujson/pkg-descr b/devel/py-types-ujson/pkg-descr new file mode 100644 index 000000000000..d111cdd9dac8 --- /dev/null +++ b/devel/py-types-ujson/pkg-descr @@ -0,0 +1,3 @@ +This is a PEP 561 type stub package for the `ujson` package. +It can be used by type-checking tools like mypy, pyright, pytype, +PyCharm, etc. to check code that uses `ujson`.