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).
This commit is contained in:
Kai Knoblich 2025-01-07 19:57:07 +01:00
parent 5ad476659d
commit 272a438347
4 changed files with 34 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -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

View file

@ -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).