8ddd61d984
[ci skip]
32 lines
833 B
Bash
32 lines
833 B
Bash
# Template file for 'python-hyperlink'
|
|
pkgname=python-hyperlink
|
|
version=18.0.0
|
|
revision=1
|
|
archs=noarch
|
|
wrksrc="hyperlink-${version}"
|
|
build_style=python-module
|
|
pycompile_module="hyperlink"
|
|
hostmakedepends="python-setuptools python3-setuptools"
|
|
depends="python-idna"
|
|
short_desc="Pure-Python implementation of immutable URLs (Python2)"
|
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
|
homepage="https://github.com/python-hyper/hyperlink"
|
|
license="MIT"
|
|
distfiles="${PYPI_SITE}/h/hyperlink/hyperlink-${version}.tar.gz"
|
|
checksum=f01b4ff744f14bc5d0a22a6b9f1525ab7d6312cb0ff967f59414bbac52f0a306
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python3-hyperlink_package() {
|
|
archs=noarch
|
|
depends="python3-idna"
|
|
pycompile_module="hyperlink"
|
|
short_desc="${short_desc/Python2/Python3}"
|
|
pkg_install() {
|
|
vmove usr/lib/python3*
|
|
vlicense LICENSE
|
|
}
|
|
}
|
|
|