Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jan 2025 20:32:39 GMT
From:      Kai Knoblich <kai@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 26a27d4727b5 - main - www/py-dj50-django-tree-queries: New port
Message-ID:  <202501172032.50HKWdR0045536@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by kai:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26a27d4727b5df8cb70df5fdc60903746d482592

commit 26a27d4727b5df8cb70df5fdc60903746d482592
Author:     Kai Knoblich <kai@FreeBSD.org>
AuthorDate: 2025-01-17 20:27:54 +0000
Commit:     Kai Knoblich <kai@FreeBSD.org>
CommitDate: 2025-01-17 20:31:48 +0000

    www/py-dj50-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).
    
    MFH:            2025Q1 (needed by www/py-dj50-strawberry-graphql-django)
---
 www/Makefile                              |  1 +
 www/py-dj50-django-tree-queries/Makefile  | 25 +++++++++++++++++++++++++
 www/py-dj50-django-tree-queries/distinfo  |  3 +++
 www/py-dj50-django-tree-queries/pkg-descr |  5 +++++
 4 files changed, 34 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index f4f1f43d0c23..d867dca3e642 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1521,6 +1521,7 @@
     SUBDIR += py-dj50-django-tables2
     SUBDIR += py-dj50-django-taggit
     SUBDIR += py-dj50-django-timezone-field
+    SUBDIR += py-dj50-django-tree-queries
     SUBDIR += py-dj50-djangorestframework
     SUBDIR += py-dj50-drf-spectacular
     SUBDIR += py-dj50-drf-spectacular-sidecar
diff --git a/www/py-dj50-django-tree-queries/Makefile b/www/py-dj50-django-tree-queries/Makefile
new file mode 100644
index 000000000000..e13e89cd6d2a
--- /dev/null
+++ b/www/py-dj50-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}dj50-
+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}django50>=3.2:www/py-django50@${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-dj50-django-tree-queries/distinfo b/www/py-dj50-django-tree-queries/distinfo
new file mode 100644
index 000000000000..e9af148a8406
--- /dev/null
+++ b/www/py-dj50-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-dj50-django-tree-queries/pkg-descr b/www/py-dj50-django-tree-queries/pkg-descr
new file mode 100644
index 000000000000..ac359fa0b83d
--- /dev/null
+++ b/www/py-dj50-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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501172032.50HKWdR0045536>