void-packages/srcpkgs/python-backcall/template
2018-05-20 17:50:55 +02:00

26 lines
761 B
Bash

# Template file for 'python-backcall'
pkgname=python-backcall
version=0.1.0
revision=1
noarch=yes
wrksrc="backcall-${version}"
build_style=python-module
pycompile_module="backcall"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 module to write backwards compatible callback APIs"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/takluyver/backcall"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/b/backcall/backcall-${version}.tar.gz"
checksum=38ecd85be2c1e78f77fd91700c76e14667dc21e2713b63876c0eb901196e01e4
python3-backcall_package() {
noarch=yes
depends="python3"
pycompile_module="backcall"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}