Sat May 23 09:15:13 2020 UTC ()
www/py-pelican: clean up interpreter replacement


(rillig)
diff -r1.10 -r1.11 pkgsrc/www/py-pelican/Makefile

cvs diff -r1.10 -r1.11 pkgsrc/www/py-pelican/Makefile (expand / switch to unified diff)

--- pkgsrc/www/py-pelican/Makefile 2020/04/24 21:51:54 1.10
+++ pkgsrc/www/py-pelican/Makefile 2020/05/23 09:15:13 1.11
@@ -1,54 +1,47 @@ @@ -1,54 +1,47 @@
1# $NetBSD: Makefile,v 1.10 2020/04/24 21:51:54 nils Exp $ 1# $NetBSD: Makefile,v 1.11 2020/05/23 09:15:13 rillig Exp $
2 2
3DISTNAME= pelican-4.2.0 3DISTNAME= pelican-4.2.0
4PKGREVISION= 1 4PKGREVISION= 2
5GITHUB_PROJECT= pelican 5GITHUB_PROJECT= pelican
6PKGNAME= ${PYPKGPREFIX}-${DISTNAME} 6PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
7CATEGORIES= www textproc 7CATEGORIES= www textproc
8MASTER_SITES= ${MASTER_SITE_GITHUB:=getpelican/} 8MASTER_SITES= ${MASTER_SITE_GITHUB:=getpelican/}
9 9
10MAINTAINER= nils@NetBSD.org 10MAINTAINER= nils@NetBSD.org
11HOMEPAGE= https://blog.getpelican.com/ 11HOMEPAGE= https://blog.getpelican.com/
12COMMENT= Static site generator that supports Markdown and reST syntax 12COMMENT= Static site generator that supports Markdown and reST syntax
13LICENSE= gnu-agpl-v3 13LICENSE= gnu-agpl-v3
14 14
15DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils 15DEPENDS+= ${PYPKGPREFIX}-docutils-[0-9]*:../../textproc/py-docutils
16DEPENDS+= ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown 16DEPENDS+= ${PYPKGPREFIX}-markdown-[0-9]*:../../textproc/py-markdown
17DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2 17DEPENDS+= ${PYPKGPREFIX}-jinja2>=2.7:../../textproc/py-jinja2
18DEPENDS+= ${PYPKGPREFIX}-pygments>=1.4:../../textproc/py-pygments 18DEPENDS+= ${PYPKGPREFIX}-pygments>=1.4:../../textproc/py-pygments
19DEPENDS+= ${PYPKGPREFIX}-feedgenerator>=1.9:../../www/py-feedgenerator 19DEPENDS+= ${PYPKGPREFIX}-feedgenerator>=1.9:../../www/py-feedgenerator
20DEPENDS+= ${PYPKGPREFIX}-pytz>=0a:../../time/py-pytz 20DEPENDS+= ${PYPKGPREFIX}-pytz>=0a:../../time/py-pytz
21DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker 21DEPENDS+= ${PYPKGPREFIX}-blinker-[0-9]*:../../devel/py-blinker
22DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode 22DEPENDS+= ${PYPKGPREFIX}-Unidecode-[0-9]*:../../textproc/py-Unidecode
23DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six 23DEPENDS+= ${PYPKGPREFIX}-six>=1.4:../../lang/py-six
24DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil 24DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil
25 25
26PYTHON_VERSIONED_DEPENDENCIES= sphinx:build 26PYTHON_VERSIONED_DEPENDENCIES= sphinx:build
27 27
28USE_TOOLS+= bash:run make:build sed:build 28USE_TOOLS+= make:build sed:build
29 29
30REPLACE_PYTHON+= pelican/tools/pelican_import.py 30REPLACE_PYTHON+= pelican/tools/pelican_import.py
31REPLACE_PYTHON+= pelican/tools/pelican_quickstart.py 31REPLACE_PYTHON+= pelican/tools/pelican_quickstart.py
32REPLACE_PYTHON+= pelican/tools/pelican_themes.py 32REPLACE_PYTHON+= pelican/tools/pelican_themes.py
33REPLACE_PYTHON+= pelican/tools/templates/pelicanconf.py.in 
34REPLACE_PYTHON+= pelican/tools/templates/publishconf.py.in 
35REPLACE_PYTHON+= pelican/tools/templates/publishconf.py.jinja2 33REPLACE_PYTHON+= pelican/tools/templates/publishconf.py.jinja2
36 34
37REPLACE_INTERPRETER+= bash 
38REPLACE.bash.old= /usr/bin/env bash 
39REPLACE.bash.new= ${TOOLS_PATH.bash} 
40REPLACE_FILES.bash= pelican/tools/templates/develop_server.sh.in 
41 
42SUBST_CLASSES+= version 35SUBST_CLASSES+= version
43SUBST_STAGE.version= pre-build 36SUBST_STAGE.version= pre-build
44SUBST_MESSAGE.version= Removing useless import of pelican. 37SUBST_MESSAGE.version= Removing useless import of pelican.
45SUBST_FILES.version= docs/conf.py 38SUBST_FILES.version= docs/conf.py
46SUBST_SED.version= -e 's,from pelican import __version__,__version__ = "${PKGVERSION_NOREV}",g' 39SUBST_SED.version= -e 's,from pelican import __version__,__version__ = "${PKGVERSION_NOREV}",g'
47 40
48DOCDIR= ${PREFIX}/share/doc/pelican 41DOCDIR= ${PREFIX}/share/doc/pelican
49INSTALLATION_DIRS+= ${PKGMANDIR}/man1/ ${DOCDIR} 42INSTALLATION_DIRS+= ${PKGMANDIR}/man1/ ${DOCDIR}
50MANPAGES= pelican-themes.1 pelican-theming.1 pelican.1 43MANPAGES= pelican-themes.1 pelican-theming.1 pelican.1
51 44
52TXTDOCFILES= changelog.txt content.txt contribute.txt faq.txt \ 45TXTDOCFILES= changelog.txt content.txt contribute.txt faq.txt \
53 importer.txt index.txt install.txt internals.txt \ 46 importer.txt index.txt install.txt internals.txt \
54 pelican-themes.txt plugins.txt publish.txt quickstart.txt \ 47 pelican-themes.txt plugins.txt publish.txt quickstart.txt \