git: 0f8f34760a21 - main - www/py-wagtail-localize: Add py-wagtail-localize 1.5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 19:24:06 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0f8f34760a21a5aa13f5bbd2e97559bcdc03f0e3
commit 0f8f34760a21a5aa13f5bbd2e97559bcdc03f0e3
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:35:38 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:19:55 +0000
www/py-wagtail-localize: Add py-wagtail-localize 1.5
Wagtail Localize is a translation plugin for the Wagtail CMS. It allows pages or
snippets to be translated within Wagtail's admin interface. It also provides
integrations with external translations services such as Pontoon or DeepL, and
importing/exporting translations with PO files.
---
www/Makefile | 1 +
www/py-wagtail-localize/Makefile | 26 ++++++++++++++++++++++++++
www/py-wagtail-localize/distinfo | 3 +++
www/py-wagtail-localize/pkg-descr | 4 ++++
4 files changed, 34 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index d51607daedfb..da07e9111590 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1815,6 +1815,7 @@
SUBDIR += py-wagtail-airtable
SUBDIR += py-wagtail-bakery
SUBDIR += py-wagtail-factories
+ SUBDIR += py-wagtail-localize
SUBDIR += py-waitress
SUBDIR += py-webargs
SUBDIR += py-webassets
diff --git a/www/py-wagtail-localize/Makefile b/www/py-wagtail-localize/Makefile
new file mode 100644
index 000000000000..bb5054d4ec26
--- /dev/null
+++ b/www/py-wagtail-localize/Makefile
@@ -0,0 +1,26 @@
+PORTNAME= wagtail-localize
+PORTVERSION= 1.5
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Translation plugin for Wagtail CMS
+WWW= https://github.com/wagtail/wagtail-localize
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flit-core>=3.2<4:devel/py-flit-core@${PY_FLAVOR} \
+ ${RUN_DEPENDS}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}django32>=3.2<4.2:www/py-django32@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}polib>=1.1<2.0:devel/py-polib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.0:devel/py-typing-extensions@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wagtail>=4.1:www/py-wagtail@${PY_FLAVOR}
+
+USES= python:3.7+
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-wagtail-localize/distinfo b/www/py-wagtail-localize/distinfo
new file mode 100644
index 000000000000..97df37761163
--- /dev/null
+++ b/www/py-wagtail-localize/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677770957
+SHA256 (wagtail-localize-1.5.tar.gz) = 65b5c0a1499a7c131caedda1adb0496b250d3296b8c13a1d7aea073bd789b1e5
+SIZE (wagtail-localize-1.5.tar.gz) = 267161
diff --git a/www/py-wagtail-localize/pkg-descr b/www/py-wagtail-localize/pkg-descr
new file mode 100644
index 000000000000..0fc52811d9d2
--- /dev/null
+++ b/www/py-wagtail-localize/pkg-descr
@@ -0,0 +1,4 @@
+Wagtail Localize is a translation plugin for the Wagtail CMS. It allows pages or
+snippets to be translated within Wagtail's admin interface. It also provides
+integrations with external translations services such as Pontoon or DeepL, and
+importing/exporting translations with PO files.