Skip to content

Commit 8f49288

Browse files
committed
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%.
1 parent f946b68 commit 8f49288

4 files changed

Lines changed: 55 additions & 0 deletions

File tree

www/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,6 +1518,7 @@
15181518
SUBDIR += py-dj42-django-tables2
15191519
SUBDIR += py-dj42-django-taggit
15201520
SUBDIR += py-dj42-django-timezone-field
1521+
SUBDIR += py-dj42-django-treebeard
15211522
SUBDIR += py-dj42-djangoql
15221523
SUBDIR += py-dj42-djangorestframework
15231524
SUBDIR += py-dj42-djangorestframework-guardian
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
PORTNAME= django-treebeard
2+
DISTVERSION= 4.7.1
3+
CATEGORIES= www python
4+
MASTER_SITES= PYPI
5+
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}dj42-
6+
7+
MAINTAINER= kai@FreeBSD.org
8+
COMMENT= Efficient tree implementations for Django
9+
WWW= https://github.com/django-treebeard/django-treebeard
10+
11+
LICENSE= APACHE20
12+
LICENSE_FILE= ${WRKSRC}/LICENSE
13+
14+
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=3.2:www/py-django42@${PY_FLAVOR}
15+
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-django>=4.0:devel/py-pytest-django@${PY_FLAVOR}
16+
17+
USES= python
18+
USE_PYTHON= autoplist concurrent distutils pytest
19+
20+
TEST_ENV= DATABASE_ENGINE=sqlite
21+
22+
NO_ARCH= yes
23+
PORTDOCS= *
24+
25+
OPTIONS_DEFINE= DOCS
26+
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django42>=2.2:www/py-django42@${PY_FLAVOR} \
27+
${PYTHON_PKGNAMEPREFIX}graphviz>0:graphics/py-graphviz@${PY_FLAVOR} \
28+
${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR}
29+
DOCS_VARS= PYDISTUTILS_BUILD_TARGET+="build_sphinx -a -E"
30+
31+
post-install-DOCS-on:
32+
@${MKDIR} ${STAGEDIR}${DOCSDIR}
33+
@(cd ${WRKSRC}/build/sphinx/html && \
34+
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} \
35+
"! -name .buildinfo -and ! -name objects.inv")
36+
37+
.include <bsd.port.mk>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
TIMESTAMP = 1706970935
2+
SHA256 (django-treebeard-4.7.1.tar.gz) = 846e462904b437155f76e04907ba4e48480716855f88b898df4122bdcfbd6e98
3+
SIZE (django-treebeard-4.7.1.tar.gz) = 294139
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
django-treebeard is a library that implements efficient tree implementations for
2+
the Django Web Framework 1.8 and later.
3+
4+
Features:
5+
6+
- Flexible: Includes 3 different tree implementations with the same API:
7+
* Adjacency List
8+
* Materialized Path
9+
* Nested Sets
10+
- Fast: Optimized non-naive tree operations
11+
- Easy: Uses Django Model Inheritance with abstract classes to define your own
12+
models.
13+
- Clean: Testable and well tested code base. Code/branch test coverage is
14+
above 96%.

0 commit comments

Comments
 (0)