void-packages/srcpkgs/python-rfc6555/template

26 lines
747 B
Bash

# Template file for 'python-rfc6555'
pkgname=python-rfc6555
version=0.0.0
revision=2
archs=noarch
wrksrc="rfc6555-${version}"
build_style=python-module
pycompile_module="rfc6555"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-selectors2"
short_desc="Python2 implementation of the Happy Eyeballs Algorithm"
maintainer="Peter Bui <pbui@github.bx612.space>"
license="Apache-2.0"
homepage="https://github.com/sethmlarson/rfc6555"
distfiles="${PYPI_SITE}/r/rfc6555/rfc6555-${version}.tar.gz"
checksum=191cbba0315b53654155321e56a93466f42cd0a474b4f341df4d03264dcb5217
python3-rfc6555_package() {
archs=noarch
pycompile_module="rfc6555"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}