aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 18:35:32 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-03-21 19:19:54 +0000
commit60e90ee73cf34467548137459bc3128b008d4241 (patch)
treefa01d6b5544446158e2eea1443776a88177d18ee
parent89da83603b1f2bc5f15e5a6e1db2bad3aa11fb77 (diff)
downloadports-60e90ee73cf34467548137459bc3128b008d4241.tar.gz
ports-60e90ee73cf34467548137459bc3128b008d4241.zip
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!
-rw-r--r--www/Makefile1
-rw-r--r--www/py-wagtail-bakery/Makefile22
-rw-r--r--www/py-wagtail-bakery/distinfo3
-rw-r--r--www/py-wagtail-bakery/pkg-descr4
4 files changed, 30 insertions, 0 deletions
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!