www/py-dj42-django-treebeard: Add py-dj42-django-treebeard 4.7.1 (copied from py-django-treebeard)

django-treebeard is a library that implements efficient tree implementations for
the Django Web Framework 1.8 and later.

Features:

- Flexible: Includes 3 different tree implementations with the same API:
  * Adjacency List
  * Materialized Path
  * Nested Sets
- Fast: Optimized non-naive tree operations
- Easy: Uses Django Model Inheritance with abstract classes to define your own
	models.
- Clean: Testable and well tested code base. Code/branch test coverage is
	 above 96%.
This commit is contained in:
Po-Chuan Hsieh 2024-03-09 21:44:30 +08:00
parent f946b683c3
commit 8f49288172
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
4 changed files with 55 additions and 0 deletions

View File

@ -1518,6 +1518,7 @@
SUBDIR += py-dj42-django-tables2
SUBDIR += py-dj42-django-taggit
SUBDIR += py-dj42-django-timezone-field
SUBDIR += py-dj42-django-treebeard
SUBDIR += py-dj42-djangoql
SUBDIR += py-dj42-djangorestframework
SUBDIR += py-dj42-djangorestframework-guardian

View File

@ -0,0 +1,37 @@
PORTNAME= django-treebeard
DISTVERSION= 4.7.1
CATEGORIES= www python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
MAINTAINER= kai@FreeBSD.org
COMMENT= Efficient tree implementations for Django
WWW= https://github.com/django-treebeard/django-treebeard
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-django>=4.0:devel/py-pytest-django@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist concurrent distutils pytest
TEST_ENV= DATABASE_ENGINE=sqlite
NO_ARCH= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@(cd ${WRKSRC}/build/sphinx/html && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
"! -name .buildinfo -and ! -name objects.inv")
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1706970935
SHA256 (django-treebeard-4.7.1.tar.gz) = 846e462904b437155f76e04907ba4e48480716855f88b898df4122bdcfbd6e98
SIZE (django-treebeard-4.7.1.tar.gz) = 294139

View File

@ -0,0 +1,14 @@
django-treebeard is a library that implements efficient tree implementations for
the Django Web Framework 1.8 and later.
Features:
- Flexible: Includes 3 different tree implementations with the same API:
* Adjacency List
* Materialized Path
* Nested Sets
- Fast: Optimized non-naive tree operations
- Easy: Uses Django Model Inheritance with abstract classes to define your own
models.
- Clean: Testable and well tested code base. Code/branch test coverage is
above 96%.