2012-07-03 17:35:50 +00:00
|
|
|
# Template file for 'python-setproctitle'
|
|
|
|
pkgname=python-setproctitle
|
|
|
|
version=1.1.6
|
|
|
|
revision=1
|
|
|
|
wrksrc="setproctitle-${version}"
|
|
|
|
build_style=python-module
|
|
|
|
makedepends="python-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="setproctitle"
|
2012-07-03 17:35:50 +00:00
|
|
|
short_desc="A library to allow customization of the process title"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-04-14 09:13:30 +00:00
|
|
|
homepage="http://code.google.com/p/py-setproctitle/"
|
|
|
|
license="BSD"
|
|
|
|
distfiles="http://pypi.python.org/packages/source/s/setproctitle/setproctitle-${version}.tar.gz"
|
2012-07-03 17:35:50 +00:00
|
|
|
checksum=f2926abd47803e288f665401268a9950961be734e981035bde9acb4af80a032d
|
|
|
|
long_desc="
|
|
|
|
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.
|
|
|
|
|
|
|
|
The procedure is hardly portable across different systems. PostgreSQL provides
|
|
|
|
a good multi-platform implementation: this module is a Python wrapper around
|
|
|
|
PostgreSQL code."
|