Date: Thu, 21 Mar 2019 03:44:19 +0000 (UTC) From: =?UTF-8?Q?Romain_Tarti=c3=a8re?= <romain@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r496411 - in head/www/py-puppetboard03: . files Message-ID: <201903210344.x2L3iJpx049649@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: romain Date: Thu Mar 21 03:44:19 2019 New Revision: 496411 URL: https://svnweb.freebsd.org/changeset/ports/496411 Log: Fix after r494826 While here, pet portlint. With hat: puppet Added: head/www/py-puppetboard03/files/ head/www/py-puppetboard03/files/patch-puppetboard_app.py (contents, props changed) Modified: head/www/py-puppetboard03/Makefile Modified: head/www/py-puppetboard03/Makefile ============================================================================== --- head/www/py-puppetboard03/Makefile Thu Mar 21 03:33:14 2019 (r496410) +++ head/www/py-puppetboard03/Makefile Thu Mar 21 03:44:19 2019 (r496411) @@ -3,6 +3,7 @@ PORTNAME= puppetboard PORTVERSION= 0.3.0 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= www python PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= 03 @@ -21,13 +22,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}CommonMark>=0.7.2: ${PYTHON_PKGNAMEPREFIX}pypuppetdb03>=0.3.3:databases/py-pypuppetdb03@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.13.0:www/py-requests@${PY_FLAVOR} -CONFLICTS_INSTALL=puppetboard-* puppetboard02-* -USE_GITHUB= yes -GH_ACCOUNT= voxpupuli - USES= python:2.7 +USE_GITHUB= yes USE_PYTHON= autoplist distutils +CONFLICTS_INSTALL=puppetboard-* puppetboard02-* + +GH_ACCOUNT= voxpupuli PLIST_FILES= "@sample etc/puppetboard/default_settings.py.sample" post-install: Added: head/www/py-puppetboard03/files/patch-puppetboard_app.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/py-puppetboard03/files/patch-puppetboard_app.py Thu Mar 21 03:44:19 2019 (r496411) @@ -0,0 +1,20 @@ +--- puppetboard/app.py.orig 2017-10-16 10:44:29 UTC ++++ puppetboard/app.py +@@ -25,7 +25,7 @@ from puppetboard.utils import (get_or_abort, yield_or_ + from puppetboard.dailychart import get_daily_reports_chart + + import werkzeug.exceptions as ex +-import CommonMark ++import commonmark + + from puppetboard.core import get_app, get_puppetdb, environments + import puppetboard.errors +@@ -546,7 +546,7 @@ def report(env, node_name, report_id): + except StopIteration: + abort(404) + +- report.version = CommonMark.commonmark(report.version) ++ report.version = commonmark.commonmark(report.version) + + return render_template( + 'report.html',
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903210344.x2L3iJpx049649>