Skip to content

Commit 272a438

Browse files
committed
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).
1 parent 5ad4766 commit 272a438

File tree

4 files changed

+34
-0
lines changed

4 files changed

+34
-0
lines changed

‎www/Makefile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1628,6 +1628,7 @@
16281628
SUBDIR += py-django-templatetag-sugar
16291629
SUBDIR += py-django-timezone-field
16301630
SUBDIR += py-django-tinymce
1631+
SUBDIR += py-django-tree-queries
16311632
SUBDIR += py-django-treebeard
16321633
SUBDIR += py-django-unfold
16331634
SUBDIR += py-django-voting
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
PORTNAME= django-tree-queries
2+
DISTVERSION= 0.19.0
3+
CATEGORIES= www python
4+
MASTER_SITES= PYPI
5+
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
6+
DISTNAME= django_tree_queries-${DISTVERSION}
7+
8+
MAINTAINER= kai@FreeBSD.org
9+
COMMENT= Tree queries with explicit opt-in, without configurability
10+
WWW= https://github.com/feincms/django-tree-queries
11+
12+
LICENSE= BSD3CLAUSE
13+
LICENSE_FILE= ${WRKSRC}/LICENSE
14+
15+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
16+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=4.2:www/py-django42@${PY_FLAVOR}
17+
18+
USES= python
19+
USE_PYTHON= autoplist pep517
20+
21+
CONFLICTS_INSTALL= ${PYTHON_PKGNAMEPREFIX}*${PORTNAME}
22+
23+
NO_ARCH= yes
24+
25+
.include <bsd.port.mk>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1736247584
2+
SHA256 (django_tree_queries-0.19.0.tar.gz) = d1325e75f96e90b86c4316a3d63498101ec05703f4e629786b561e8aaab0e4a7
3+
SIZE (django_tree_queries-0.19.0.tar.gz) = 11541
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Query Django model trees using adjacency lists and recursive common table
2+
expressions.
3+
4+
Supports PostgreSQL, sqlite3 (3.8.3 or higher) and MariaDB (10.2.2 or higher)
5+
and MySQL (8.0 or higher, if running without ONLY_FULL_GROUP_BY).

0 commit comments

Comments
 (0)