aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile1
-rw-r--r--www/py-puppetboard/Makefile33
-rw-r--r--www/py-puppetboard/distinfo2
-rw-r--r--www/py-puppetboard/pkg-descr4
4 files changed, 40 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 3af20441a41b..f7c3909829ff 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1671,6 +1671,7 @@
SUBDIR += py-postmarkup
SUBDIR += py-praw
SUBDIR += py-prewikka
+ SUBDIR += py-puppetboard
SUBDIR += py-py-restclient
SUBDIR += py-pyjwt
SUBDIR += py-pylons
diff --git a/www/py-puppetboard/Makefile b/www/py-puppetboard/Makefile
new file mode 100644
index 000000000000..57721d05205c
--- /dev/null
+++ b/www/py-puppetboard/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+PORTNAME= puppetboard
+PORTVERSION= 0.0.4
+DISTVERSIONPREFIX= v
+CATEGORIES= www python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= allanjude@FreeBSD.org
+COMMENT= Web interface to PuppetDB
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:${PORTSDIR}/www/py-flask \
+ ${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0.9.4:${PORTSDIR}/www/py-flask-wtf \
+ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.19:${PORTSDIR}/textproc/py-MarkupSafe \
+ ${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.1.1:${PORTSDIR}/databases/py-pypuppetdb \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:${PORTSDIR}/www/py-requests
+
+USE_GITHUB= yes
+GH_ACCOUNT= puppet-community
+
+USES= python:2.7
+USE_PYTHON= autoplist distutils
+
+PLIST_FILES= "@sample etc/puppetboard/default_settings.py.sample"
+
+post-install:
+ @${MKDIR} ${STAGEDIR}${PREFIX}/etc/puppetboard
+ ${CP} ${WRKSRC}/puppetboard/default_settings.py ${STAGEDIR}${PREFIX}/etc/puppetboard/default_settings.py.sample
+
+.include <bsd.port.mk>
diff --git a/www/py-puppetboard/distinfo b/www/py-puppetboard/distinfo
new file mode 100644
index 000000000000..bc8fdf5c7aa8
--- /dev/null
+++ b/www/py-puppetboard/distinfo
@@ -0,0 +1,2 @@
+SHA256 (puppet-community-puppetboard-v0.0.4_GH0.tar.gz) = 95ce69e4b017d56d38b7ea8aa2ca131b7702a18228c68d41fcfd0d7080732817
+SIZE (puppet-community-puppetboard-v0.0.4_GH0.tar.gz) = 2851486
diff --git a/www/py-puppetboard/pkg-descr b/www/py-puppetboard/pkg-descr
new file mode 100644
index 000000000000..5280181f95ad
--- /dev/null
+++ b/www/py-puppetboard/pkg-descr
@@ -0,0 +1,4 @@
+Puppetboard is a web interface to PuppetDB aiming to replace the reporting
+functionality of Puppet Dashboard.
+
+WWW: https://github.com/puppet-community/puppetboard