void-packages/srcpkgs/python-unittest-mixins/template

27 lines
820 B
Bash

# Template file for 'python-unittest-mixins'
pkgname=python-unittest-mixins
version=1.6
revision=2
archs=noarch
wrksrc="${pkgname/python-//}-${version}"
build_style=python-module
pycompile_module="unittest_mixins"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
short_desc="Helpul mixins for unittest classes in Python2"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/nedbat/unittest-mixins"
distfiles="${PYPI_SITE}/u/unittest-mixins/unittest-mixins-${version}.tar.gz"
checksum=05363abe099f0724b7bb6d71d0ce1046078c868cb10b3f1ebdf3ca6593c52507
python3-unittest-mixins_package() {
archs=noarch
pycompile_module="unittest_mixins"
depends="python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}