Up to [cvs.NetBSD.org] / pkgsrc / mail / feed2exec
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
feed2exec: updated to 0.22.0 feed2exec (0.22.0) unstable; urgency=medium * cleanups: * add renovate bot * start using tox --current-env * use debputy reformat for control files, no change * silence flake8 warnings * fix test collection in pytest 3.8+ * chase new html2text in test suite * drop support for Python < 3.8 * note the existence of markdownify * fix deprecation warning: get rid of dateparser feature detection * fix test suite failures due to deprecation warnings * fix a new mypy warning on old code * note that 0.21 was only published on pypi * ikiwikitoot: add tool bypass RSS feed parsing altogether * fix error in handling toot error codes
feed2exec: update to 0.20.0. Changes: * Add matchtitleregex and droptitleregex plugin and tests * implement codespell linting, fixing all found errors * more related software: rss-bridge * isort: sort imports all over * add missing readthedocs configuration file, now mandatory * cross-reference droptitle and droptitle-regex pkgsrc changes: - Convert to wheel.mk - Avoid self-conflicts when installing under multiple pythons
Update to 0.19.0. From the changelog: * implement --nocache option * new plugin: ikiwiki toot * fix incorrect string stripping in README (Closes: GL#29) * cleanups: * add support for Python 3.10, no change * remove the test compatibility shim from setup.py * silence warnings from lxml missing type hints * more uniform variable naming (underscores)
feed2exec: pypi distfile does not match distinfo Set DIST_SUBDIR and update package. setuptools_scm works fine now, and additional tests are installed. Update PLIST. Simplify package. Bump PKGREVISION.
Update to 0.18.0. From the changelog: ship accumulated bugfixes and catchup with wayback machine changes. special thanks to Paul Wise for the immesurable patience on the wayback plugin and test suite, and to Jelmer Vernooij for the Debian Janitor. New features: * Add support for saving page resources to the Wayback Machine too, thanks Paul Wise! API changes: * we now generate a standard message-id, which has brackets around it Bugfixes: * fix rare crash in feed2exec parse with an empty `mailbox` setting * fix feedparser dependencies for newer python * catchup with html2text again (2020.1.16) * add failing test and fix for cachecontrol 0.12.10 new API (Closes: GL#22) * do not cache requests in plugins (Closes: #1001412, GL#26) * Require feedparser 5 as minimum version for Python 3, thanks Paul Wise Documentation: * mention (lack of) Gemini and other protocol support * leave Freenode for oftc.net Cleanup, CI, linting: * avoid dateparser bug workaround in newer versions * drop support for python 3.5, add 3.9 * enforce black in tox, but not in CI * first pass at type checking with mypy, with failures allowed * switch to setup.cfg as much as possible * fix rst syntax since we are not hacking it anymore * mention build module, which may be necessary for newer setuptools_scm * move fixtures to conftest.py * use pytest.mark.network instead of xfail
Update to 0.16.0. From the changelog: API changes: * refactoring into a somewhat MVC model: split large feeds.py into model.py and controller.py * rename FeedCacheStorage to FeedItemCacheStorage * factor out getter/setters in the base sqlite class * remove conn member in sqlite to force use of context manager * move session and fetching to the feed manager * rename feeds to feed_manager in main * allow absolute path in folder setting (Closes: #14) New features: * caching: latest feed contents get cached to avoid re-downloading unchanged feeds. this includes parsing HTTP headers and so on, and relies on the good behavior of the `cachecontrol` Python module * Python 3.6-3.8 support Bugfixes: * recover from feedparser exceptions (Closes: #964597) [ Roland Hieber ] * README: don't let the example config create a folder named '~/Mailbox/' [ Ian Zimmerman ] * add --quiet option to silence warnings since --loglevel was broken
Sort PLIST (thanks leot@).
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.