mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 15:43:49 +02:00
python-hyperlink: update to 21.0.0.
This commit is contained in:
parent
a314332cae
commit
3c4b80fcac
1 changed files with 10 additions and 6 deletions
|
@ -1,18 +1,24 @@
|
||||||
# Template file for 'python-hyperlink'
|
# Template file for 'python-hyperlink'
|
||||||
pkgname=python-hyperlink
|
pkgname=python-hyperlink
|
||||||
version=19.0.0
|
version=21.0.0
|
||||||
revision=4
|
revision=1
|
||||||
wrksrc="hyperlink-${version}"
|
wrksrc="hyperlink-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="hyperlink"
|
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-idna"
|
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)"
|
short_desc="Pure-Python implementation of immutable URLs (Python2)"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/python-hyper/hyperlink"
|
homepage="https://github.com/python-hyper/hyperlink"
|
||||||
distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz"
|
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() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
@ -20,11 +26,9 @@ post_install() {
|
||||||
|
|
||||||
python3-hyperlink_package() {
|
python3-hyperlink_package() {
|
||||||
depends="python3-idna"
|
depends="python3-idna"
|
||||||
pycompile_module="hyperlink"
|
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue