pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/mail/feed2exec



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Wed Jan 29 16:48:48 UTC 2020

Added Files:
        pkgsrc/mail/feed2exec: DESCR Makefile PLIST distinfo
        pkgsrc/mail/feed2exec/patches: patch-feed2exec_____init____.py
            patch-setup.py

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/feed2exec/DESCR \
    pkgsrc/mail/feed2exec/Makefile pkgsrc/mail/feed2exec/PLIST \
    pkgsrc/mail/feed2exec/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/mail/feed2exec/patches/patch-feed2exec_____init____.py \
    pkgsrc/mail/feed2exec/patches/patch-setup.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/mail/feed2exec/DESCR
diff -u /dev/null pkgsrc/mail/feed2exec/DESCR:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/DESCR Wed Jan 29 16:48:48 2020
@@ -0,0 +1,5 @@
+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.
Index: pkgsrc/mail/feed2exec/Makefile
diff -u /dev/null pkgsrc/mail/feed2exec/Makefile:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/Makefile      Wed Jan 29 16:48:48 2020
@@ -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@localhost
+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"
Index: pkgsrc/mail/feed2exec/PLIST
diff -u /dev/null pkgsrc/mail/feed2exec/PLIST:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/PLIST Wed Jan 29 16:48:48 2020
@@ -0,0 +1,114 @@
+@comment $NetBSD: PLIST,v 1.1 2020/01/29 16:48:48 schmonz Exp $
+bin/feed2exec
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/PKG-INFO
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/SOURCES.txt
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/dependency_links.txt
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/entry_points.txt
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/requires.txt
+${PYSITELIB}/feed2exec-0.0.0-py${PYVERSSUFFIX}.egg-info/top_level.txt
+${PYSITELIB}/feed2exec/__init__.py
+${PYSITELIB}/feed2exec/__main__.py
+${PYSITELIB}/feed2exec/__init__.pyo
+${PYSITELIB}/feed2exec/__init__.pyc
+${PYSITELIB}/feed2exec/__main__.pyo
+${PYSITELIB}/feed2exec/__main__.pyc
+${PYSITELIB}/feed2exec/email.pyo
+${PYSITELIB}/feed2exec/email.pyc
+${PYSITELIB}/feed2exec/feeds.pyo
+${PYSITELIB}/feed2exec/feeds.pyc
+${PYSITELIB}/feed2exec/logging.pyo
+${PYSITELIB}/feed2exec/logging.pyc
+${PYSITELIB}/feed2exec/utils.pyo
+${PYSITELIB}/feed2exec/utils.pyc
+${PYSITELIB}/feed2exec/email.py
+${PYSITELIB}/feed2exec/feeds.py
+${PYSITELIB}/feed2exec/logging.py
+${PYSITELIB}/feed2exec/plugins/__init__.py
+${PYSITELIB}/feed2exec/plugins/__init__.pyo
+${PYSITELIB}/feed2exec/plugins/__init__.pyc
+${PYSITELIB}/feed2exec/plugins/archive.pyo
+${PYSITELIB}/feed2exec/plugins/archive.pyc
+${PYSITELIB}/feed2exec/plugins/droptitle.pyo
+${PYSITELIB}/feed2exec/plugins/droptitle.pyc
+${PYSITELIB}/feed2exec/plugins/echo.pyo
+${PYSITELIB}/feed2exec/plugins/echo.pyc
+${PYSITELIB}/feed2exec/plugins/emptysummary.pyo
+${PYSITELIB}/feed2exec/plugins/emptysummary.pyc
+${PYSITELIB}/feed2exec/plugins/error.pyo
+${PYSITELIB}/feed2exec/plugins/error.pyc
+${PYSITELIB}/feed2exec/plugins/exec.pyo
+${PYSITELIB}/feed2exec/plugins/exec.pyc
+${PYSITELIB}/feed2exec/plugins/html2text.pyo
+${PYSITELIB}/feed2exec/plugins/html2text.pyc
+${PYSITELIB}/feed2exec/plugins/ikiwiki_recentchanges.pyo
+${PYSITELIB}/feed2exec/plugins/ikiwiki_recentchanges.pyc
+${PYSITELIB}/feed2exec/plugins/json.pyo
+${PYSITELIB}/feed2exec/plugins/json.pyc
+${PYSITELIB}/feed2exec/plugins/maildir.pyo
+${PYSITELIB}/feed2exec/plugins/maildir.pyc
+${PYSITELIB}/feed2exec/plugins/mbox.pyo
+${PYSITELIB}/feed2exec/plugins/mbox.pyc
+${PYSITELIB}/feed2exec/plugins/null.pyo
+${PYSITELIB}/feed2exec/plugins/null.pyc
+${PYSITELIB}/feed2exec/plugins/transmission.pyo
+${PYSITELIB}/feed2exec/plugins/transmission.pyc
+${PYSITELIB}/feed2exec/plugins/wayback.pyo
+${PYSITELIB}/feed2exec/plugins/wayback.pyc
+${PYSITELIB}/feed2exec/plugins/archive.py
+${PYSITELIB}/feed2exec/plugins/droptitle.py
+${PYSITELIB}/feed2exec/plugins/echo.py
+${PYSITELIB}/feed2exec/plugins/emptysummary.py
+${PYSITELIB}/feed2exec/plugins/error.py
+${PYSITELIB}/feed2exec/plugins/exec.py
+${PYSITELIB}/feed2exec/plugins/html2text.py
+${PYSITELIB}/feed2exec/plugins/ikiwiki_recentchanges.py
+${PYSITELIB}/feed2exec/plugins/json.py
+${PYSITELIB}/feed2exec/plugins/maildir.py
+${PYSITELIB}/feed2exec/plugins/mbox.py
+${PYSITELIB}/feed2exec/plugins/null.py
+${PYSITELIB}/feed2exec/plugins/transmission.py
+${PYSITELIB}/feed2exec/plugins/wayback.py
+${PYSITELIB}/feed2exec/tests/__init__.py
+${PYSITELIB}/feed2exec/tests/__init__.pyo
+${PYSITELIB}/feed2exec/tests/__init__.pyc
+${PYSITELIB}/feed2exec/tests/conftest.pyo
+${PYSITELIB}/feed2exec/tests/conftest.pyc
+${PYSITELIB}/feed2exec/tests/fixtures.pyo
+${PYSITELIB}/feed2exec/tests/fixtures.pyc
+${PYSITELIB}/feed2exec/tests/test_feeds.pyo
+${PYSITELIB}/feed2exec/tests/test_feeds.pyc
+${PYSITELIB}/feed2exec/tests/test_main.pyo
+${PYSITELIB}/feed2exec/tests/test_main.pyc
+${PYSITELIB}/feed2exec/tests/test_opml.pyo
+${PYSITELIB}/feed2exec/tests/test_opml.pyc
+${PYSITELIB}/feed2exec/tests/test_plugins.pyo
+${PYSITELIB}/feed2exec/tests/test_plugins.pyc
+${PYSITELIB}/feed2exec/tests/conftest.py
+${PYSITELIB}/feed2exec/tests/files/README.mdwn
+${PYSITELIB}/feed2exec/tests/files/breaking_news.mbx
+${PYSITELIB}/feed2exec/tests/files/breaking_news.xml
+${PYSITELIB}/feed2exec/tests/files/duplicates.ini
+${PYSITELIB}/feed2exec/tests/files/duplicates.opml
+${PYSITELIB}/feed2exec/tests/files/liferea.ini
+${PYSITELIB}/feed2exec/tests/files/liferea.opml
+${PYSITELIB}/feed2exec/tests/files/planet-debian.mbx
+${PYSITELIB}/feed2exec/tests/files/planet-debian.xml
+${PYSITELIB}/feed2exec/tests/files/restic.mbx
+${PYSITELIB}/feed2exec/tests/files/restic.xml
+${PYSITELIB}/feed2exec/tests/files/rsswithpermalink.xml
+${PYSITELIB}/feed2exec/tests/files/sample.mbx
+${PYSITELIB}/feed2exec/tests/files/sample.xml
+${PYSITELIB}/feed2exec/tests/files/security.opml
+${PYSITELIB}/feed2exec/tests/files/simple.ini
+${PYSITELIB}/feed2exec/tests/files/simple.opml
+${PYSITELIB}/feed2exec/tests/files/udd.mbx
+${PYSITELIB}/feed2exec/tests/files/udd.xml
+${PYSITELIB}/feed2exec/tests/files/weird-dates.mbx
+${PYSITELIB}/feed2exec/tests/files/weird-dates.xml
+${PYSITELIB}/feed2exec/tests/fixtures.py
+${PYSITELIB}/feed2exec/tests/test_feeds.py
+${PYSITELIB}/feed2exec/tests/test_main.py
+${PYSITELIB}/feed2exec/tests/test_opml.py
+${PYSITELIB}/feed2exec/tests/test_plugins.py
+${PYSITELIB}/feed2exec/utils.py
+share/bash-completion/completions/feed2exec
Index: pkgsrc/mail/feed2exec/distinfo
diff -u /dev/null pkgsrc/mail/feed2exec/distinfo:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/distinfo      Wed Jan 29 16:48:48 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/01/29 16:48:48 schmonz Exp $
+
+SHA1 (feed2exec-0.14.0.tar.gz) = fa73f30def77f83e6a03ba3e7023adaefc27bca3
+RMD160 (feed2exec-0.14.0.tar.gz) = 4b9523682a2913f1baf085ec500c3d909ebf494a
+SHA512 (feed2exec-0.14.0.tar.gz) = 2242f2888904aefeeac69559a75ddbe834915fc42c502dad46ffad05c7dcc0fc27e9d3c8a6a70621d6ed2410c45230fd86414006fee04873107836701b5f916e
+Size (feed2exec-0.14.0.tar.gz) = 392729 bytes
+SHA1 (patch-feed2exec_____init____.py) = 6381dc9198cb257dce82a96106b21b53af282f6f
+SHA1 (patch-setup.py) = 0d587ed61798294793fd5896648d5bebebceab01

Index: pkgsrc/mail/feed2exec/patches/patch-feed2exec_____init____.py
diff -u /dev/null pkgsrc/mail/feed2exec/patches/patch-feed2exec_____init____.py:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/patches/patch-feed2exec_____init____.py       Wed Jan 29 16:48:48 2020
@@ -0,0 +1,25 @@
+$NetBSD: patch-feed2exec_____init____.py,v 1.1 2020/01/29 16:48:48 schmonz Exp $
+
+Avoid setuptools_scm since tarball has no .git.
+
+--- feed2exec/__init__.py.orig 2019-02-26 22:03:32.000000000 +0000
++++ feed2exec/__init__.py
+@@ -2,17 +2,8 @@
+ 
+ from __future__ import print_function, absolute_import
+ 
+-try:
+-    from ._version import version
+-except ImportError:  # pragma: nocover
+-    try:
+-        from setuptools_scm import get_version
+-        version = get_version()
+-    except (ImportError, LookupError):
+-        version = '???'
+-
+ __description__ = 'The programmable feed reader'
+-__version__ = version
++__version__ = '@PKGVERSION_NOREV@'
+ __website__ = 'https://feed2exec.readthedocs.io/'
+ __prog__ = 'feed2exec'
+ __author__ = u'Antoine Beaupré'
Index: pkgsrc/mail/feed2exec/patches/patch-setup.py
diff -u /dev/null pkgsrc/mail/feed2exec/patches/patch-setup.py:1.1
--- /dev/null   Wed Jan 29 16:48:48 2020
+++ pkgsrc/mail/feed2exec/patches/patch-setup.py        Wed Jan 29 16:48:48 2020
@@ -0,0 +1,26 @@
+$NetBSD: patch-setup.py,v 1.1 2020/01/29 16:48:48 schmonz Exp $
+
+Avoid setuptools_scm since tarball has no .git.
+
+--- setup.py.orig      2019-02-26 22:03:32.000000000 +0000
++++ setup.py
+@@ -113,10 +113,6 @@ if __name__ == '__main__':
+           long_description=sphinx2rst('README.rst'),
+           license=mod.__license_short__,
+           url=mod.__website__,
+-          use_scm_version={
+-              'write_to': '%s/_version.py'
+-              % mod.__prog__,
+-          },
+           packages=packages,
+           package_data=package_data,
+           entry_points={
+@@ -126,7 +122,7 @@ if __name__ == '__main__':
+                   % (mod.__prog__, mod.__prog__),
+               ]
+           },
+-          setup_requires=['setuptools_scm',
++          setup_requires=[
+                           'pytest-runner',
+                           'pytest-cov',
+                           'sphinx',



Home | Main Index | Thread Index | Old Index