aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2016-10-15 15:28:38 +0800
committerromain <romain@FreeBSD.org>2016-10-15 15:28:38 +0800
commit05a41caee8ca9781d3fb85fb3052dcfaa3afcada (patch)
tree4001f6295a5985413a09638c30f5829a045215b6 /www
parentef52b96462b28496368e2e687f8ce8c902e7e41b (diff)
downloadfreebsd-ports-gnome-05a41caee8ca9781d3fb85fb3052dcfaa3afcada.tar.gz
freebsd-ports-gnome-05a41caee8ca9781d3fb85fb3052dcfaa3afcada.tar.zst
freebsd-ports-gnome-05a41caee8ca9781d3fb85fb3052dcfaa3afcada.zip
New port for Puppetboard 0.2
Puppetboard depends on pypuppetdb>=0.3, so: - copy databases/py-pypuppetdb to databases/py-pypuppetdb03; - update databases/py-pypuppetdb03 to 0.3.1; - copy www/py-puppetboard to www/py-puppetboard02; - update www/py-puppetboard02 to 0.2.0; - register conflicts between these ports; - take maintainership of new ports. While here: - Update projects account. PR: 211604 [1], 211918 [2] Submitted by: neel@neelc.org [1], romain [2]
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/py-puppetboard/Makefile3
-rw-r--r--www/py-puppetboard/distinfo5
-rw-r--r--www/py-puppetboard/pkg-descr2
-rw-r--r--www/py-puppetboard02/Makefile35
-rw-r--r--www/py-puppetboard02/distinfo3
-rw-r--r--www/py-puppetboard02/pkg-descr4
7 files changed, 49 insertions, 4 deletions
diff --git a/www/Makefile b/www/Makefile
index fb9b1222c7c5..1e8694f3e88e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1736,6 +1736,7 @@
SUBDIR += py-praw
SUBDIR += py-prewikka
SUBDIR += py-puppetboard
+ SUBDIR += py-puppetboard02
SUBDIR += py-py-restclient
SUBDIR += py-pySmartDL
SUBDIR += py-pyjwt
diff --git a/www/py-puppetboard/Makefile b/www/py-puppetboard/Makefile
index 74d28ba90234..a281248e7d85 100644
--- a/www/py-puppetboard/Makefile
+++ b/www/py-puppetboard/Makefile
@@ -18,8 +18,9 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask \
${PYTHON_PKGNAMEPREFIX}pypuppetdb>=0.1.1:databases/py-pypuppetdb \
${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:www/py-requests
+CONFLICTS_INSTALL=puppetboard02-*
USE_GITHUB= yes
-GH_ACCOUNT= puppet-community
+GH_ACCOUNT= voxpupuli
USES= python:2.7
USE_PYTHON= autoplist distutils
diff --git a/www/py-puppetboard/distinfo b/www/py-puppetboard/distinfo
index bc8fdf5c7aa8..5ba60280ebaa 100644
--- a/www/py-puppetboard/distinfo
+++ b/www/py-puppetboard/distinfo
@@ -1,2 +1,3 @@
-SHA256 (puppet-community-puppetboard-v0.0.4_GH0.tar.gz) = 95ce69e4b017d56d38b7ea8aa2ca131b7702a18228c68d41fcfd0d7080732817
-SIZE (puppet-community-puppetboard-v0.0.4_GH0.tar.gz) = 2851486
+TIMESTAMP = 1476513137
+SHA256 (voxpupuli-puppetboard-v0.0.4_GH0.tar.gz) = 95ce69e4b017d56d38b7ea8aa2ca131b7702a18228c68d41fcfd0d7080732817
+SIZE (voxpupuli-puppetboard-v0.0.4_GH0.tar.gz) = 2851486
diff --git a/www/py-puppetboard/pkg-descr b/www/py-puppetboard/pkg-descr
index 5280181f95ad..bc01d6eedace 100644
--- a/www/py-puppetboard/pkg-descr
+++ b/www/py-puppetboard/pkg-descr
@@ -1,4 +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
+WWW: https://github.com/voxpupuli/puppetboard
diff --git a/www/py-puppetboard02/Makefile b/www/py-puppetboard02/Makefile
new file mode 100644
index 000000000000..7272278a916e
--- /dev/null
+++ b/www/py-puppetboard02/Makefile
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= puppetboard
+PORTVERSION= 0.2.0
+DISTVERSIONPREFIX= v
+CATEGORIES= www python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+PKGNAMESUFFIX= 02
+
+MAINTAINER= romain@FreeBSD.org
+COMMENT= Web interface to PuppetDB
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Flask>=0.10.1:www/py-flask \
+ ${PYTHON_PKGNAMEPREFIX}Flask-WTF>=0.9.4:www/py-flask-wtf \
+ ${PYTHON_PKGNAMEPREFIX}MarkupSafe>=0.19:textproc/py-MarkupSafe \
+ ${PYTHON_PKGNAMEPREFIX}pypuppetdb03>=0.2.0:databases/py-pypuppetdb03 \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.2.1:www/py-requests
+
+CONFLICTS_INSTALL=puppetboard-*
+USE_GITHUB= yes
+GH_ACCOUNT= voxpupuli
+
+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-puppetboard02/distinfo b/www/py-puppetboard02/distinfo
new file mode 100644
index 000000000000..1678b89e45ae
--- /dev/null
+++ b/www/py-puppetboard02/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1476513140
+SHA256 (voxpupuli-puppetboard-v0.2.0_GH0.tar.gz) = 07754a754c45d9862adda49df692292f4d0a5daf5e965038a83a842cddc3e08f
+SIZE (voxpupuli-puppetboard-v0.2.0_GH0.tar.gz) = 1516564
diff --git a/www/py-puppetboard02/pkg-descr b/www/py-puppetboard02/pkg-descr
new file mode 100644
index 000000000000..bc01d6eedace
--- /dev/null
+++ b/www/py-puppetboard02/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/voxpupuli/puppetboard