vp-build/srcpkgs/python-webencodings/template

27 lines
800 B
Bash

# Template file for 'python-webencodings'
pkgname=python-webencodings
version=0.5.1
revision=2
noarch=yes
wrksrc="webencodings-${version}"
build_style=python-module
pycompile_module="webencodings"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
short_desc="Python2 implementation of the WHATWG Encoding standard"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://github.com/gsnedders/python-webencodings"
license="3-clause-BSD"
distfiles="${PYPI_SITE}/w/webencodings/webencodings-${version}.tar.gz"
checksum=b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923
python3-webencodings_package() {
noarch=yes
depends="python3"
pycompile_module="webencodings"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}