1a93dec838
file. While here also simplify MASTER_SITES (convert it to MASTER_SITE_GITHUB) and delete DIST_SUBDIR and WRKSRC that are no longer needed with that change. Bump PKGREVISION Discussed with <schmonz>
35 lines
1,003 B
Makefile
35 lines
1,003 B
Makefile
# $NetBSD: Makefile,v 1.42 2017/05/22 17:51:12 leot Exp $
|
|
|
|
DISTNAME= rss2email-3.9
|
|
PKGREVISION= 1
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=wking/}
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
HOMEPAGE= https://github.com/wking/rss2email/
|
|
COMMENT= Get RSS feeds emailed to you
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
|
|
DEPENDS+= ${PYPKGPREFIX}-feedparser>=5.0.1:../../textproc/py-feedparser
|
|
DEPENDS+= ${PYPKGPREFIX}-html2text>=2014.4.5:../../textproc/py-html2text
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
PYDISTUTILSPKG= yes
|
|
PY_PATCHPLIST= yes
|
|
REPLACE_PYTHON= test/test.py
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man1
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && env PYTHONPATH=.:${LOCALBASE}/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/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|