git: 272a438347ca - main - www/py-django-tree-queries: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 07 Jan 2025 19:13:02 UTC
The branch main has been updated by kai: URL: https://cgit.FreeBSD.org/ports/commit/?id=272a438347ca15887acec762dd8ca2447fce7482 commit 272a438347ca15887acec762dd8ca2447fce7482 Author: Kai Knoblich <kai@FreeBSD.org> AuthorDate: 2025-01-07 18:57:07 +0000 Commit: Kai Knoblich <kai@FreeBSD.org> CommitDate: 2025-01-07 19:11:47 +0000 www/py-django-tree-queries: New port Query Django model trees using adjacency lists and recursive common table expressions. Supports PostgreSQL, sqlite3 (3.8.3 or higher) and MariaDB (10.2.2 or higher) and MySQL (8.0 or higher, if running without ONLY_FULL_GROUP_BY). --- www/Makefile | 1 + www/py-django-tree-queries/Makefile | 25 +++++++++++++++++++++++++ www/py-django-tree-queries/distinfo | 3 +++ www/py-django-tree-queries/pkg-descr | 5 +++++ 4 files changed, 34 insertions(+) diff --git a/www/Makefile b/www/Makefile index ef553563de15..d865f377e2c3 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1628,6 +1628,7 @@ SUBDIR += py-django-templatetag-sugar SUBDIR += py-django-timezone-field SUBDIR += py-django-tinymce + SUBDIR += py-django-tree-queries SUBDIR += py-django-treebeard SUBDIR += py-django-unfold SUBDIR += py-django-voting diff --git a/www/py-django-tree-queries/Makefile b/www/py-django-tree-queries/Makefile new file mode 100644 index 000000000000..128a298f3514 --- /dev/null +++ b/www/py-django-tree-queries/Makefile @@ -0,0 +1,25 @@ +PORTNAME= django-tree-queries +DISTVERSION= 0.19.0 +CATEGORIES= www python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= django_tree_queries-${DISTVERSION} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Tree queries with explicit opt-in, without configurability +WWW= https://github.com/feincms/django-tree-queries + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist pep517 + +CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME} + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/py-django-tree-queries/distinfo b/www/py-django-tree-queries/distinfo new file mode 100644 index 000000000000..e9af148a8406 --- /dev/null +++ b/www/py-django-tree-queries/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1736247584 +SHA256 (django_tree_queries-0.19.0.tar.gz) = d1325e75f96e90b86c4316a3d63498101ec05703f4e629786b561e8aaab0e4a7 +SIZE (django_tree_queries-0.19.0.tar.gz) = 11541 diff --git a/www/py-django-tree-queries/pkg-descr b/www/py-django-tree-queries/pkg-descr new file mode 100644 index 000000000000..ac359fa0b83d --- /dev/null +++ b/www/py-django-tree-queries/pkg-descr @@ -0,0 +1,5 @@ +Query Django model trees using adjacency lists and recursive common table +expressions. + +Supports PostgreSQL, sqlite3 (3.8.3 or higher) and MariaDB (10.2.2 or higher) +and MySQL (8.0 or higher, if running without ONLY_FULL_GROUP_BY).