python-setproctitle: misc tweaks and improvements

This commit is contained in:
Alessio Sergi 2016-05-12 11:26:23 +02:00
parent 464ecf50d3
commit 94181e3608

View file

@ -1,29 +1,27 @@
# Template file for 'python-setproctitle' # Template file for 'python-setproctitle'
pkgname=python-setproctitle pkgname=python-setproctitle
version=1.1.10 version=1.1.10
revision=1 revision=2
wrksrc="setproctitle-${version}" wrksrc="setproctitle-${version}"
build_style=python-module build_style=python-module
python_versions="2.7 3.4" python_versions="2.7 3.4"
hostmakedepends="python-devel python3.4-devel" hostmakedepends="python-setuptools python3.4-setuptools"
makedepends="${hostmakedepends}" makedepends="python-devel python3.4-devel"
depends="python"
short_desc="Python2 library to allow customization of the process title" short_desc="Python2 library to allow customization of the process title"
maintainer="Juan RP <xtraeme@voidlinux.eu>" maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://code.google.com/p/py-setproctitle/" homepage="https://github.com/dvarrazzo/py-setproctitle"
license="BSD" license="3-clause-BSD"
distfiles="${PYPI_SITE}/s/setproctitle/setproctitle-${version}.tar.gz" distfiles="${PYPI_SITE}/s/setproctitle/setproctitle-${version}.tar.gz"
checksum=6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398 checksum=6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398
post_install() { post_install() {
vlicense COPYRIGHT vlicense COPYRIGHT LICENSE
} }
python3.4-setproctitle_package() { python3.4-setproctitle_package() {
depends="python3.4"
short_desc="${short_desc/Python2/Python3.4}" short_desc="${short_desc/Python2/Python3.4}"
pkg_install() { pkg_install() {
vlicense COPYRIGHT vlicense COPYRIGHT LICENSE
vmove usr/lib/python3.4 vmove usr/lib/python3.4
} }
} }