void-packages/srcpkgs/python-setproctitle/template

25 lines
784 B
Bash

# Template file for 'python-setproctitle'
pkgname=python-setproctitle
version=1.1.8
revision=1
wrksrc="setproctitle-${version}"
build_style=python-module
python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel"
makedepends="${hostmakedepends}"
depends="python"
short_desc="Python2 library to allow customization of the process title"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://code.google.com/p/py-setproctitle/"
license="BSD"
distfiles="https://pypi.python.org/packages/source/s/setproctitle/setproctitle-${version}.tar.gz"
checksum=b564cf6488217c7a4632a9fe646fc3a3bea2f9712b4e667e9632b870d1a58211
python3.4-setproctitle_package() {
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}"
pkg_install() {
vmove usr/lib/python3.4
}
}