python-hyperlink: update to 21.0.0.
This commit is contained in:
parent
a314332cae
commit
3c4b80fcac
@ -1,18 +1,24 @@
|
||||
# Template file for 'python-hyperlink'
|
||||
pkgname=python-hyperlink
|
||||
version=19.0.0
|
||||
revision=4
|
||||
version=21.0.0
|
||||
revision=1
|
||||
wrksrc="hyperlink-${version}"
|
||||
build_style=python-module
|
||||
pycompile_module="hyperlink"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-idna"
|
||||
checkdepends="python-idna python-typing python-pytest python-mock
|
||||
python3-idna python3-pytest"
|
||||
short_desc="Pure-Python implementation of immutable URLs (Python2)"
|
||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||
license="MIT"
|
||||
homepage="https://github.com/python-hyper/hyperlink"
|
||||
distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz"
|
||||
checksum=4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654
|
||||
checksum=427af957daa58bc909471c6c40f74c5450fa123dd093fc53efd2e91d2705a56b
|
||||
|
||||
do_check() {
|
||||
python3 -m pytest build-${py3_ver}
|
||||
# python 2 tests fail
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
@ -20,11 +26,9 @@ post_install() {
|
||||
|
||||
python3-hyperlink_package() {
|
||||
depends="python3-idna"
|
||||
pycompile_module="hyperlink"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
pkg_install() {
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user