python-webencodings: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-28 23:07:49 +07:00
parent 985457f0ad
commit 6d096afd1a
3 changed files with 21 additions and 25 deletions

View file

@ -1,24 +0,0 @@
# Template file for 'python-webencodings'
pkgname=python-webencodings
version=0.5.1
revision=4
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() {
depends="python3"
pycompile_module="webencodings"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

View file

@ -1 +0,0 @@
python-webencodings

View file

@ -0,0 +1,21 @@
# Template file for 'python3-webencodings'
pkgname=python3-webencodings
version=0.5.1
revision=5
wrksrc="webencodings-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3"
short_desc="Python3 implementation of the WHATWG Encoding standard"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/gsnedders/python-webencodings"
distfiles="${PYPI_SITE}/w/webencodings/webencodings-${version}.tar.gz
https://raw.githubusercontent.com/gsnedders/python-webencodings/v$version/LICENSE"
checksum="b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923
f23bae6ada76095610a77137fb92aec7342723900211c5826d54b4c57907ca56"
skip_extraction=LICENSE
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/LICENSE
}