2012-07-03 19:35:50 +02: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 16:10:11 +01:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="setproctitle"
|
2012-07-03 19:35:50 +02:00
|
|
|
short_desc="A library to allow customization of the process title"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2013-04-14 11:13:30 +02: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 19:35:50 +02: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."
|