git: 096daca93276 - main - textproc/py-griffe: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Aug 2023 05:47:45 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=096daca93276d8892f6f3705db4e5b04fb864a89 commit 096daca93276d8892f6f3705db4e5b04fb864a89 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2023-08-31 05:17:47 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2023-08-31 05:43:39 +0000 textproc/py-griffe: New port Signatures for entire Python programs. Extract the structure, the frame, the skeleton of your project, to generate API documentation or find breaking changes in your API. --- textproc/Makefile | 1 + textproc/py-griffe/Makefile | 29 +++++++++++++++++++++++++++++ textproc/py-griffe/distinfo | 3 +++ textproc/py-griffe/pkg-descr | 3 +++ 4 files changed, 36 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 6884daa60d2c..46a80495d365 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1370,6 +1370,7 @@ SUBDIR += py-googletrans SUBDIR += py-grako SUBDIR += py-grapheme + SUBDIR += py-griffe SUBDIR += py-guess-language SUBDIR += py-hashids SUBDIR += py-hexdump diff --git a/textproc/py-griffe/Makefile b/textproc/py-griffe/Makefile new file mode 100644 index 000000000000..bc0ee3246d1c --- /dev/null +++ b/textproc/py-griffe/Makefile @@ -0,0 +1,29 @@ +PORTNAME= griffe +DISTVERSION= 0.35.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Signatures for entire Python programs +WWW= https://github.com/mkdocstrings/griffe + +LICENSE= ISCL +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pdm-backend>0:devel/py-pdm-backend@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4:devel/py-colorama@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jsonschema>=4.17.3:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.4:devel/py-pytest-xdist@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 pytest +# These test relies on files that are not present in the sdist +PYTEST_IGNORED_TESTS= git json_schema + +TEST_ARGS= -n ${MAKE_JOBS_NUMBER} +TEST_ENV= PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-griffe/distinfo b/textproc/py-griffe/distinfo new file mode 100644 index 000000000000..2089203be8c9 --- /dev/null +++ b/textproc/py-griffe/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1693377737 +SHA256 (griffe-0.35.2.tar.gz) = 84ecfe3df17454993b8dd485201566609ac6706a2eb22e3f402da2a39f9f6b5f +SIZE (griffe-0.35.2.tar.gz) = 120285 diff --git a/textproc/py-griffe/pkg-descr b/textproc/py-griffe/pkg-descr new file mode 100644 index 000000000000..f50a8df07db0 --- /dev/null +++ b/textproc/py-griffe/pkg-descr @@ -0,0 +1,3 @@ +Signatures for entire Python programs. Extract the structure, the frame, the +skeleton of your project, to generate API documentation or find breaking +changes in your API.