Date: Fri, 13 Aug 2021 17:51:34 GMT From: =?utf-8?Q?Romain Tarti=C3=A8re?= <romain@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 42359e9810bb - main - www/py-puppetboard: Improve sample settings file Message-ID: <202108131751.17DHpYJ1006875@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by romain: URL: https://cgit.FreeBSD.org/ports/commit/?id=42359e9810bb6bc69d803c6e7bcae256afe95d61 commit 42359e9810bb6bc69d803c6e7bcae256afe95d61 Author: Romain Tartière <romain@FreeBSD.org> AuthorDate: 2021-08-13 17:49:31 +0000 Commit: Romain Tartière <romain@FreeBSD.org> CommitDate: 2021-08-13 17:50:55 +0000 www/py-puppetboard: Improve sample settings file Install a new settings.py sample file which contain a better description of it's expected content and has a file name that better match what it is used for. Copying default_settings.py from the project was a leftover from a previous version of PuppetBoard which does not make much sense nowadays. --- www/py-puppetboard/Makefile | 9 +++++++-- www/py-puppetboard/distinfo | 4 +++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/www/py-puppetboard/Makefile b/www/py-puppetboard/Makefile index f75ee045c096..47e43d7a473b 100644 --- a/www/py-puppetboard/Makefile +++ b/www/py-puppetboard/Makefile @@ -1,9 +1,14 @@ PORTNAME= puppetboard PORTVERSION= 3.1.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +PATCHFILES= a9b1903bf0fd71c8d2c0d100396646856ff8fbe4.patch +PATCH_SITES= https://github.com/voxpupuli/puppetboard/commit/ +PATCH_DIST_STRIP=-p1 + MAINTAINER= puppet@FreeBSD.org COMMENT= Web interface to PuppetDB @@ -25,7 +30,7 @@ USE_PYTHON= autoplist distutils CONFLICTS_INSTALL=puppetboard02-* puppetboard03-* GH_ACCOUNT= voxpupuli -PLIST_FILES= "@sample etc/puppetboard/default_settings.py.sample" +PLIST_FILES= "@sample etc/puppetboard/settings.py.sample" post-patch: ${REINPLACE_CMD} -e '/requirements_for_tests/,+2d' \ @@ -33,6 +38,6 @@ post-patch: post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/puppetboard - ${CP} ${WRKSRC}/puppetboard/default_settings.py ${STAGEDIR}${PREFIX}/etc/puppetboard/default_settings.py.sample + ${CP} ${WRKSRC}/settings.py.sample ${STAGEDIR}${PREFIX}/etc/puppetboard/settings.py.sample .include <bsd.port.mk> diff --git a/www/py-puppetboard/distinfo b/www/py-puppetboard/distinfo index 056fad3f07a9..3c13faaee452 100644 --- a/www/py-puppetboard/distinfo +++ b/www/py-puppetboard/distinfo @@ -1,3 +1,5 @@ -TIMESTAMP = 1621020310 +TIMESTAMP = 1628875502 SHA256 (voxpupuli-puppetboard-v3.1.0_GH0.tar.gz) = 651991af5536d9d92db4450255f08aceca8b541397f419d5bf094ee5d4a371ad SIZE (voxpupuli-puppetboard-v3.1.0_GH0.tar.gz) = 2668033 +SHA256 (a9b1903bf0fd71c8d2c0d100396646856ff8fbe4.patch) = 763eb62ab0e4ee3ea698cc3011fe0be2b9e1096f5775da2ad9c5e499a36a708b +SIZE (a9b1903bf0fd71c8d2c0d100396646856ff8fbe4.patch) = 1376
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108131751.17DHpYJ1006875>