summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-03-31 14:03:03 +0000
committerwiz <wiz@pkgsrc.org>2014-03-31 14:03:03 +0000
commit52643e47a3e8e442971ea9b053f88ddcda6e2531 (patch)
tree4b7625c3caf9458f488bb0d35bb2b13c8c70fb3c /sysutils
parent85c665ab1d71acb29c74cff35c5f8eb3869e9b5c (diff)
downloadpkgsrc-52643e47a3e8e442971ea9b053f88ddcda6e2531.tar.gz
Import py27-setproctitle-1.1.8 as sysutils/py-setproctitle.
The library allows a process to change its title (as displayed by system tools such as ps and top). Changing the title is mostly useful in multi-process systems, for example when a master process is forked: changing the children's title allows to identify the task each process is busy with. The technique is used by PostgreSQL and the OpenSSH Server for example.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/py-setproctitle/DESCR7
-rw-r--r--sysutils/py-setproctitle/Makefile14
-rw-r--r--sysutils/py-setproctitle/PLIST3
-rw-r--r--sysutils/py-setproctitle/distinfo5
4 files changed, 29 insertions, 0 deletions
diff --git a/sysutils/py-setproctitle/DESCR b/sysutils/py-setproctitle/DESCR
new file mode 100644
index 00000000000..27d275ed1b9
--- /dev/null
+++ b/sysutils/py-setproctitle/DESCR
@@ -0,0 +1,7 @@
+The library allows a process to change its title (as displayed by
+system tools such as ps and top).
+
+Changing the title is mostly useful in multi-process systems, for
+example when a master process is forked: changing the children's
+title allows to identify the task each process is busy with. The
+technique is used by PostgreSQL and the OpenSSH Server for example.
diff --git a/sysutils/py-setproctitle/Makefile b/sysutils/py-setproctitle/Makefile
new file mode 100644
index 00000000000..fae038d2d48
--- /dev/null
+++ b/sysutils/py-setproctitle/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD: Makefile,v 1.1 2014/03/31 14:03:03 wiz Exp $
+
+DISTNAME= setproctitle-1.1.8
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= sysutils
+MASTER_SITES= https://pypi.python.org/packages/source/s/setproctitle/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://pypi.python.org/pypi/setproctitle
+COMMENT= Python library to allow customization of the process title
+LICENSE= modified-bsd
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/py-setproctitle/PLIST b/sysutils/py-setproctitle/PLIST
new file mode 100644
index 00000000000..9190ffe50fc
--- /dev/null
+++ b/sysutils/py-setproctitle/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2014/03/31 14:03:03 wiz Exp $
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/setproctitle.so
diff --git a/sysutils/py-setproctitle/distinfo b/sysutils/py-setproctitle/distinfo
new file mode 100644
index 00000000000..4004dbd4115
--- /dev/null
+++ b/sysutils/py-setproctitle/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/03/31 14:03:03 wiz Exp $
+
+SHA1 (setproctitle-1.1.8.tar.gz) = a23463feac8d99b5504efc22f0ca2cfe2c145930
+RMD160 (setproctitle-1.1.8.tar.gz) = 001dbb048258c6ac2e4a5c309c9e8a9ebcea083e
+Size (setproctitle-1.1.8.tar.gz) = 23208 bytes