void-packages/srcpkgs/python-hyperlink/template
2017-07-19 16:28:35 +02:00

32 lines
819 B
Bash

# Template file for 'python-hyperlink'
pkgname=python-hyperlink
version=17.3.0
revision=1
noarch=yes
wrksrc="hyperlink-${version}"
build_style=python-module
pycompile_module="hyperlink"
hostmakedepends="python-setuptools python3-setuptools"
depends="python"
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=ddadbbdda2b94182da14be1b5d26ec3188dfdf9687b9b8c8d810f52f79b7af1a
post_install() {
vlicense LICENSE
}
python3-hyperlink_package() {
noarch=yes
depends="python3"
pycompile_module="hyperlink"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}