git: 4c9166afc4e3 - main - devel/py-jinja2-ansible-filters: Add py-jinja2-ansible-filters 1.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 22 May 2022 05:14:17 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c9166afc4e3c9aa6abd6e53a6decf7e792bf25b

commit 4c9166afc4e3c9aa6abd6e53a6decf7e792bf25b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-22 04:07:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-22 04:07:41 +0000

    devel/py-jinja2-ansible-filters: Add py-jinja2-ansible-filters 1.3.1
    
    Jinja2 Ansible Filters is a port of the ansible filters provided by Ansible's
    templating engine.
    
    This repository is not inteded to supplant ansible functionality however there
    are a lot of filters ansible provides that are not present in upstream Jinja2 so
    you may find these helpful.
    
    WWW: https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters
---
 devel/Makefile                            |  1 +
 devel/py-jinja2-ansible-filters/Makefile  | 27 +++++++++++++++++++++++++++
 devel/py-jinja2-ansible-filters/distinfo  |  3 +++
 devel/py-jinja2-ansible-filters/pkg-descr |  8 ++++++++
 4 files changed, 39 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index bc78679fdd0f..3a8e3df0dd38 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4699,6 +4699,7 @@
     SUBDIR += py-jellyfish
     SUBDIR += py-jenkins-job-builder
     SUBDIR += py-jep
+    SUBDIR += py-jinja2-ansible-filters
     SUBDIR += py-jinja2-time
     SUBDIR += py-jira
     SUBDIR += py-jitterentropy
diff --git a/devel/py-jinja2-ansible-filters/Makefile b/devel/py-jinja2-ansible-filters/Makefile
new file mode 100644
index 000000000000..db3924c3146c
--- /dev/null
+++ b/devel/py-jinja2-ansible-filters/Makefile
@@ -0,0 +1,27 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	jinja2-ansible-filters
+PORTVERSION=	1.3.1
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Port of Ansible's jinja2 filters without requiring ansible core
+
+LICENSE=	BSD2CLAUSE GPLv3
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}Jinja2>=0:devel/py-Jinja2@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+post-patch:
+	@${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/VERSION
+
+.include <bsd.port.mk>
diff --git a/devel/py-jinja2-ansible-filters/distinfo b/devel/py-jinja2-ansible-filters/distinfo
new file mode 100644
index 000000000000..a5c953c912d7
--- /dev/null
+++ b/devel/py-jinja2-ansible-filters/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1653151028
+SHA256 (jinja2-ansible-filters-1.3.1.tar.gz) = baa04873c2d31a82df67f5a313988630fb713c625d858226314d283f0b12879a
+SIZE (jinja2-ansible-filters-1.3.1.tar.gz) = 16772
diff --git a/devel/py-jinja2-ansible-filters/pkg-descr b/devel/py-jinja2-ansible-filters/pkg-descr
new file mode 100644
index 000000000000..fab2b0c0006e
--- /dev/null
+++ b/devel/py-jinja2-ansible-filters/pkg-descr
@@ -0,0 +1,8 @@
+Jinja2 Ansible Filters is a port of the ansible filters provided by Ansible's
+templating engine.
+
+This repository is not inteded to supplant ansible functionality however there
+are a lot of filters ansible provides that are not present in upstream Jinja2 so
+you may find these helpful.
+
+WWW: https://gitlab.com/dreamer-labs/libraries/jinja2-ansible-filters