void-packages/srcpkgs/python-six/template
2020-02-28 08:52:42 +01:00

31 lines
787 B
Bash

# Template file for 'python-six'
pkgname=python-six
version=1.14.0
revision=1
archs=noarch
wrksrc="six-${version}"
build_style=python-module
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python 2 and 3 compatibility utilities (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/benjaminp/six"
changelog="https://raw.githubusercontent.com/benjaminp/six/master/CHANGES"
distfiles="${PYPI_SITE}/s/six/six-${version}.tar.gz"
checksum=236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a
post_install() {
vlicense LICENSE
}
python3-six_package() {
archs=noarch
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}