git: 60e90ee73cf3 - main - www/py-wagtail-bakery: Add py-wagtail-bakery 0.5.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:24:04 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60e90ee73cf34467548137459bc3128b008d4241

commit 60e90ee73cf34467548137459bc3128b008d4241
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:32 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:54 +0000

    www/py-wagtail-bakery: Add py-wagtail-bakery 0.5.0
    
    Wagtail-bakery is built on top of Django bakery. Please read their documentation
    for detailed configuration and how to build default Django flat files. Yes.
    Wagtail-bakery is not limited to build Wagtail pages specifically, mixed content
    is possible!
---
 www/Makefile                    |  1 +
 www/py-wagtail-bakery/Makefile  | 22 ++++++++++++++++++++++
 www/py-wagtail-bakery/distinfo  |  3 +++
 www/py-wagtail-bakery/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index bf1a68dd1175..aca59ccd9a9d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1813,6 +1813,7 @@
     SUBDIR += py-wagtail
     SUBDIR += py-wagtail-2fa
     SUBDIR += py-wagtail-airtable
+    SUBDIR += py-wagtail-bakery
     SUBDIR += py-waitress
     SUBDIR += py-webargs
     SUBDIR += py-webassets
diff --git a/www/py-wagtail-bakery/Makefile b/www/py-wagtail-bakery/Makefile
new file mode 100644
index 000000000000..deda95a1deb5
--- /dev/null
+++ b/www/py-wagtail-bakery/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	wagtail-bakery
+PORTVERSION=	0.5.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Set of helpers for baking your Django Wagtail site out as flat files
+WWW=		https://github.com/wagtail/wagtail-bakery
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}django-bakery>=0.12.7<0.13:www/py-django-bakery@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wagtail>=2.10:www/py-wagtail@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-wagtail-bakery/distinfo b/www/py-wagtail-bakery/distinfo
new file mode 100644
index 000000000000..1b5834e8f9c2
--- /dev/null
+++ b/www/py-wagtail-bakery/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770953
+SHA256 (wagtail-bakery-0.5.0.tar.gz) = 6a8fd0d4b8aaaa40249a54ece058462065fc250b4c9deee743d63be6aa18acee
+SIZE (wagtail-bakery-0.5.0.tar.gz) = 9288
diff --git a/www/py-wagtail-bakery/pkg-descr b/www/py-wagtail-bakery/pkg-descr
new file mode 100644
index 000000000000..e2583a714785
--- /dev/null
+++ b/www/py-wagtail-bakery/pkg-descr
@@ -0,0 +1,4 @@
+Wagtail-bakery is built on top of Django bakery. Please read their documentation
+for detailed configuration and how to build default Django flat files. Yes.
+Wagtail-bakery is not limited to build Wagtail pages specifically, mixed content
+is possible!