pkgsrc/mail/rss2email/Makefile
schmonz 8f87a2a9eb Update to 3.13. From the changelog:
* Drop support for Python 3.5, add support for Python 3.9
* Switch to feedparser 6
* Switch to poetry instead of requirements.txt
* Make the `verbose` flag in the config file actually have an impact,
  and have it default to `info`
* Improve log messages
* Remove documentation of `smtp-ssl-protocol` as this option was
  dropped in 2016
* Stop forging SMTP and sendmail envelope sender (#134)
* Add sendmail_config option
* Log sendmail output
* Support multipart/alternative emails with both HTML and plain text
  parts with option `multipart-html`
* Add inline-links option, allowing links to be sent to the bottom of
  the paragraph
* Add wrap-links option, preventing links from be wrapped over
  multiple lines
* Stop looking in $XDG_DATA_DIRS for the database, and only look in
  $XDG_DATA_HOME
* Warnings about HTTP content-type being unexpected now properly display
* Make the proxy parameter also affect https connections
* Add a --clean argument on the run command to reduce the database size
* Set body element attribute dir=auto in HTML mail
* Store the lock file in XDG_RUNTIME_DIR instead of /tmp
2021-04-03 18:43:32 +00:00

33 lines
987 B
Makefile

# $NetBSD: Makefile,v 1.54 2021/04/03 18:43:32 schmonz Exp $
DISTNAME= rss2email-3.13
CATEGORIES= mail python
MASTER_SITES= ${MASTER_SITE_GITHUB:=rss2email/}
GITHUB_TAG= v${PKGVERSION_NOREV}
DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= https://github.com/rss2email/rss2email/
COMMENT= Get RSS feeds emailed to you
LICENSE= gnu-gpl-v2
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
DEPENDS+= ${PYPKGPREFIX}-feedparser>=6.0.0:../../textproc/py-feedparser
DEPENDS+= ${PYPKGPREFIX}-html2text>=2014.4.5:../../textproc/py-html2text
PYTHON_VERSIONS_INCOMPATIBLE= 27
REPLACE_PYTHON= test/test.py
INSTALLATION_DIRS= ${PKGMANDIR}/man1
do-test:
cd ${WRKSRC} && env PYTHONPATH=.:${PREFIX}/share/html2text ./test/test.py
post-install:
set -e; cd ${WRKSRC}; \
${INSTALL_MAN} r2e.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"