void-packages/srcpkgs/python-more-itertools/template

32 lines
869 B
Bash

# Template file for 'python-more-itertools'
pkgname=python-more-itertools
version=4.1.0
revision=1
wrksrc="more-itertools-${version}"
build_style=python-module
pycompile_module="more_itertools"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
short_desc="More Python2 routines for operating on itertables"
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
license="MIT"
homepage="https://github.com/erikrose/more-itertools"
distfiles="https://github.com/erikrose/more-itertools/archive/${version}.tar.gz"
checksum=658d8828473fa368eb3a903a676e805554b5ea03fcde4c53c936effb54ede846
noarch=yes
post_install() {
vlicense LICENSE
}
python3-more-itertools_package() {
noarch=yes
pycompile_module="more_itertools"
short_desc="${short_desc/Python2/Python3}"
depends="python3-six"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}