1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

Update to 0.2.2

While here, add two patches:
  1. Fix application startup which was broken by a dependency update (fixed in
     master);
  2. Fix boolean facts graph (#356).
This commit is contained in:
Romain Tartière 2017-03-22 11:45:49 +00:00
parent 950ec03d39
commit 47eb21250e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436689
4 changed files with 32 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= puppetboard
PORTVERSION= 0.2.1
PORTVERSION= 0.2.2
DISTVERSIONPREFIX= v
CATEGORIES= www python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1486163815
SHA256 (voxpupuli-puppetboard-v0.2.1_GH0.tar.gz) = e63a0669de6d516aeac4200820a740231199f69bb7e67defb8b0d7e3c5eed9e4
SIZE (voxpupuli-puppetboard-v0.2.1_GH0.tar.gz) = 2058735
TIMESTAMP = 1490099959
SHA256 (voxpupuli-puppetboard-v0.2.2_GH0.tar.gz) = be747c91cf3dda344f13c09d68a0e7892940c993e1def5d492e85f34a8bf113f
SIZE (voxpupuli-puppetboard-v0.2.2_GH0.tar.gz) = 2058658

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- puppetboard/app.py.orig
+++ puppetboard/app.py
@@ -114,7 +114,7 @@
code = 204
description = '<p>No content</p'
-abort.mapping[204] = NoContent
+# abort.mapping[204] = NoContent
try:
@app.errorhandler(204)

View File

@ -0,0 +1,14 @@
$FreeBSD$
--- puppetboard/templates/fact.html.orig
+++ puppetboard/templates/fact.html
@@ -7,7 +7,7 @@
var data = [
{% for fact in facts|groupby('value') %}
{
- label: '{{ fact.grouper.replace("\n", " ") }}',
+ label: '{{ ("%s" % fact.grouper).replace("\n", " ") }}',
value: {{ fact.list|length }}
},
{% endfor %}