summaryrefslogtreecommitdiff
path: root/www/py-uwsgitop
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-01-05 15:09:52 +0000
committerrodent <rodent@pkgsrc.org>2014-01-05 15:09:52 +0000
commit740798269c0dafc283a4553b13de752cd61a8628 (patch)
treefe6a231e89503c5923cc3d87378e361680c2d3a1 /www/py-uwsgitop
parentd5a872844345ff661352c1ddadf0a578939672b4 (diff)
downloadpkgsrc-740798269c0dafc283a4553b13de752cd61a8628.tar.gz
Import py27-uwsgitop-0.6.2 as www/py-uwsgitop.
uwsgitop is a top-like command that uses the stats server. Run your uWSGI server with the stats server enabled. Ex.: uwsgi --module myapp --socket :3030 --stats /tmp/stats.socket Then, connect uwsgitop to the stats socket: uwsgitop /tmp/stats.socket
Diffstat (limited to 'www/py-uwsgitop')
-rw-r--r--www/py-uwsgitop/DESCR8
-rw-r--r--www/py-uwsgitop/Makefile19
-rw-r--r--www/py-uwsgitop/PLIST3
-rw-r--r--www/py-uwsgitop/distinfo5
4 files changed, 35 insertions, 0 deletions
diff --git a/www/py-uwsgitop/DESCR b/www/py-uwsgitop/DESCR
new file mode 100644
index 00000000000..fdf93082a70
--- /dev/null
+++ b/www/py-uwsgitop/DESCR
@@ -0,0 +1,8 @@
+uwsgitop is a top-like command that uses the stats server. Run your uWSGI server
+with the stats server enabled. Ex.:
+
+uwsgi --module myapp --socket :3030 --stats /tmp/stats.socket
+
+Then, connect uwsgitop to the stats socket:
+
+uwsgitop /tmp/stats.socket
diff --git a/www/py-uwsgitop/Makefile b/www/py-uwsgitop/Makefile
new file mode 100644
index 00000000000..cfaccd930e8
--- /dev/null
+++ b/www/py-uwsgitop/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2014/01/05 15:09:52 rodent Exp $
+
+DISTNAME= uwsgitop-0.6.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python www
+MASTER_SITES= https://pypi.python.org/packages/source/u/uwsgitop/
+FETCH_USING= curl
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://projects.unbit.it/uwsgi/wiki/StatsServer
+COMMENT= Command to interface with the uWSGI stats server
+LICENSE= mit
+
+USE_LANGUAGES= # none
+
+DEPENDS+= ${PYPKGPREFIX}-uwsgi-[0-9]*:../../www/py-uwsgi
+DEPENDS+= ${PYPKGPREFIX}-simplejson-[0-9]*:../../converters/py-simplejson
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-uwsgitop/PLIST b/www/py-uwsgitop/PLIST
new file mode 100644
index 00000000000..46ce6b77095
--- /dev/null
+++ b/www/py-uwsgitop/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/05 15:09:52 rodent Exp $
+bin/uwsgitop
+${PYSITELIB}/${EGG_FILE}
diff --git a/www/py-uwsgitop/distinfo b/www/py-uwsgitop/distinfo
new file mode 100644
index 00000000000..e119b088794
--- /dev/null
+++ b/www/py-uwsgitop/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/05 15:09:52 rodent Exp $
+
+SHA1 (uwsgitop-0.6.2.tar.gz) = 9df74ab55e3f5b1483967b11103b4d77f3660952
+RMD160 (uwsgitop-0.6.2.tar.gz) = 757a8c262a6041c6f95003d11b8683433e4ac9b2
+Size (uwsgitop-0.6.2.tar.gz) = 2280 bytes