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

27 lines
819 B
Bash

# Template file for 'python-unittest-mixins'
pkgname=python-unittest-mixins
version=1.4
revision=1
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="maxice8 <thinkabit.ukim@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/nedbat/unittest-mixins"
distfiles="${PYPI_SITE}/u/unittest-mixins/unittest-mixins-${version}.tar.gz"
checksum=3979159f81e379416b8f10c3db7bbe9aaaefb7ebb8dcf778e6e5de5150c8281b
noarch=yes
python3-unittest-mixins_package() {
noarch=yes
pycompile_module="unittest_mixins"
depends="python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}