void-packages/srcpkgs/python-setproctitle/template
Alessio Sergi 217e7d31f2 srcpkgs: remove python3.4-* transitional dummy packages
After more than a year the switch to python3 packages, it is time to say
them goodbye. So long, and thanks for all the fish.
2017-12-20 11:29:51 +01:00

26 lines
794 B
Bash

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