void-packages/srcpkgs/python-keepalive/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
737 B
Bash

# Template file for 'python-keepalive'
pkgname=python-keepalive
version=0.5
revision=3
noarch=yes
wrksrc="${pkgname#*-}-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
pycompile_module="keepalive"
short_desc="Python2 urllib keepalive support"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/wikier/keepalive"
license="LGPL-2.1"
distfiles="${PYPI_SITE}/k/keepalive/keepalive-${version}.tar.gz"
checksum=3c6b96f9062a5a76022f0c9d41e9ef5552d80b1cadd4fccc1bf8f183ba1d1ec1
python3-keepalive_package() {
noarch=yes
depends="python3"
pycompile_module="keepalive"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}