summaryrefslogtreecommitdiff
path: root/mail/feed2exec/Makefile
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-01-29 16:48:48 +0000
committerschmonz <schmonz@pkgsrc.org>2020-01-29 16:48:48 +0000
commitf5516f175ae4993d57b5a6b64d770753cb73a3ba (patch)
tree499fd5d583a72cae0007209d82649a55ffb6bf2e /mail/feed2exec/Makefile
parent77681fd7c0de2db68d85316a1b031e10b1a0d54d (diff)
downloadpkgsrc-f5516f175ae4993d57b5a6b64d770753cb73a3ba.tar.gz
Initial import of feed2exec, the programmable feed reader.
feed2exec is a simple program that runs custom actions on new RSS feed items (or whatever feedparser can read). It currently has support for writing into mailboxes (Maildir folders) or executing commands, but more actions can be easily implemented through plugins. Email are saved as multipart plain/HTML and can be sent to arbitrary folders.
Diffstat (limited to 'mail/feed2exec/Makefile')
-rw-r--r--mail/feed2exec/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/mail/feed2exec/Makefile b/mail/feed2exec/Makefile
new file mode 100644
index 00000000000..6a14226c44c
--- /dev/null
+++ b/mail/feed2exec/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1 2020/01/29 16:48:48 schmonz Exp $
+
+DISTNAME= feed2exec-0.14.0
+CATEGORIES= mail python
+MASTER_SITES= https://gitlab.com/anarcat/feed2exec/-/archive/${PKGVERSION_NOREV}/
+
+MAINTAINER= schmonz@NetBSD.org
+HOMEPAGE= https://feed2exec.readthedocs.io/
+COMMENT= The programmable feed reader
+LICENSE= gnu-agpl-v3
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
+BUILD_DEPENDS+= ${PYPKGPREFIX}-flakes-[0-9]*:../../devel/py-flakes
+BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
+DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
+DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click
+DEPENDS+= ${PYPKGPREFIX}-dateparser-[0-9]*:../../time/py-dateparser
+DEPENDS+= ${PYPKGPREFIX}-feedparser-[0-9]*:../../textproc/py-feedparser
+DEPENDS+= ${PYPKGPREFIX}-html2text-[0-9]*:../../textproc/py-html2text
+DEPENDS+= ${PYPKGPREFIX}-xdg-[0-9]*:../../devel/py-xdg
+DEPENDS+= ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+= ${PYPKGPREFIX}-requests-file-[0-9]*:../../devel/py-requests-file
+TEST_DEPENDS+= ${PYPKGPREFIX}-betamax-[0-9]*:../../www/py-betamax
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+
+USE_LANGUAGES= # none
+
+SUBST_CLASSES+= version
+SUBST_STAGE.version= pre-configure
+SUBST_FILES.version= feed2exec/__init__.py
+SUBST_VARS.version= PKGVERSION_NOREV
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"