void-packages/srcpkgs/python-setproctitle/template

33 lines
1.2 KiB
Text

# Template file for 'python-setproctitle'
pkgname=python-setproctitle
version=1.1.6
revision=1
wrksrc="setproctitle-${version}"
build_style=python-module
makedepends="python-devel"
short_desc="A library to allow customization of the process title"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://code.google.com/p/py-setproctitle/"
license="BSD"
distfiles="http://pypi.python.org/packages/source/s/setproctitle/setproctitle-${version}.tar.gz"
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."
python-setproctitle_package() {
depends="python"
pycompile_module="setproctitle"
pkg_install() {
vmove usr
}
}