git: 779678c9d3b7 - main - www/py-feedgen: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 19 Sep 2024 19:27:28 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=779678c9d3b7eed9e7130d99a4c7bf8b72c08239
commit 779678c9d3b7eed9e7130d99a4c7bf8b72c08239
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-09-19 19:25:09 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-09-19 19:27:13 +0000
www/py-feedgen: New port
Feed Generator for ATOM, RSS and Podcasts
This module can be used to generate web feeds in both ATOM and RSS
format. It has support for extensions. Included is for example an
extension to produce Podcasts.
WWW: https://lkiesow.github.io/python-feedgen
---
www/Makefile | 1 +
www/py-feedgen/Makefile | 24 ++++++++++++++++++++++++
www/py-feedgen/distinfo | 3 +++
www/py-feedgen/pkg-descr | 3 +++
4 files changed, 31 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 55b17bc10a45..aaa127e5281d 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1640,6 +1640,7 @@
SUBDIR += py-falcon
SUBDIR += py-fastapi
SUBDIR += py-fastapi-users
+ SUBDIR += py-feedgen
SUBDIR += py-feedgenerator
SUBDIR += py-flasgger
SUBDIR += py-flask
diff --git a/www/py-feedgen/Makefile b/www/py-feedgen/Makefile
new file mode 100644
index 000000000000..8bde40d7a7c9
--- /dev/null
+++ b/www/py-feedgen/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= feedgen
+DISTVERSION= 1.0.0
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Feed Generator for ATOM, RSS and Podcasts
+WWW= https://lkiesow.github.io/python-feedgen
+
+LICENSE= BSD2CLAUSE LGPL3+
+LICENSE_COMB= multi
+LICENSE_FILE_BSD2CLAUSE= ${WRKSRC}/license.bsd
+LICENSE_FILE_LGPL3+ = ${WRKSRC}/license.lgpl
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}python-dateutil>=0:devel/py-python-dateutil@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-feedgen/distinfo b/www/py-feedgen/distinfo
new file mode 100644
index 000000000000..93488aabd5e8
--- /dev/null
+++ b/www/py-feedgen/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726773342
+SHA256 (feedgen-1.0.0.tar.gz) = d9bd51c3b5e956a2a52998c3708c4d2c729f2fcc311188e1e5d3b9726393546a
+SIZE (feedgen-1.0.0.tar.gz) = 258496
diff --git a/www/py-feedgen/pkg-descr b/www/py-feedgen/pkg-descr
new file mode 100644
index 000000000000..d3a417f6f697
--- /dev/null
+++ b/www/py-feedgen/pkg-descr
@@ -0,0 +1,3 @@
+This module can be used to generate web feeds in both ATOM and RSS format. It
+has support for extensions. Included is for example an extension to produce
+Podcasts.