Date: Fri, 13 Dec 2024 02:13:36 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 09dfbe6645c9 - main - devel/py-app-model: New port: Generic application schema implemented in python Message-ID: <202412130213.4BD2DakA090648@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=09dfbe6645c92bd9057da914d3929ff5b3fe81f1 commit 09dfbe6645c92bd9057da914d3929ff5b3fe81f1 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-12-13 02:03:13 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-12-13 02:13:30 +0000 devel/py-app-model: New port: Generic application schema implemented in python --- devel/Makefile | 1 + devel/py-app-model/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/py-app-model/distinfo | 3 +++ devel/py-app-model/pkg-descr | 4 ++++ 4 files changed, 42 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 9352a3ff47c2..3904b9655683 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4383,6 +4383,7 @@ SUBDIR += py-apipkg SUBDIR += py-apispec SUBDIR += py-apispec-webframeworks + SUBDIR += py-app-model SUBDIR += py-appdirs SUBDIR += py-applicationinsights SUBDIR += py-apptools diff --git a/devel/py-app-model/Makefile b/devel/py-app-model/Makefile new file mode 100644 index 000000000000..cb311f09bcc3 --- /dev/null +++ b/devel/py-app-model/Makefile @@ -0,0 +1,34 @@ +PORTNAME= app-model +DISTVERSION= 0.3.1 +CATEGORIES= devel science +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Generic application schema implemented in python +WWW= https://app-model.readthedocs.io/en/latest/ \ + https://github.com/pyapp-kit/app-model + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>0:devel/py-hatch-vcs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}in-n-out>=0.1.5:devel/py-in-n-out@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}psygnal>=0.3.4:devel/py-psygnal@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic-compat>=0.1.1:devel/py-pydantic-compat@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pydantic2>=1.8:devel/py-pydantic2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}QtPy>0:devel/py-QtPy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}superqt>0:x11-toolkits/py-superqt@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-qt>0:devel/py-pytest-qt@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # tests crash, see https://github.com/pyapp-kit/app-model/issues/228 + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/py-app-model/distinfo b/devel/py-app-model/distinfo new file mode 100644 index 000000000000..f2f08f230456 --- /dev/null +++ b/devel/py-app-model/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1734026360 +SHA256 (app_model-0.3.1.tar.gz) = 2c883fc2a229a23f7f6697fa4ca6fa981fdafca05f76812bfe71a1de9c229c7b +SIZE (app_model-0.3.1.tar.gz) = 116810 diff --git a/devel/py-app-model/pkg-descr b/devel/py-app-model/pkg-descr new file mode 100644 index 000000000000..7559f1a2473a --- /dev/null +++ b/devel/py-app-model/pkg-descr @@ -0,0 +1,4 @@ +Generic application schema implemented in python. + +This is a schema for declarative organization of application data, such as +menus, keybindings, actions/commands, etc.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412130213.4BD2DakA090648>