void-packages/srcpkgs/python-backports.ssl_match_.../template

22 lines
807 B
Bash

# Template file for 'python-backports.ssl_match_hostname'
pkgname=python-backports.ssl_match_hostname
version=3.5.0.1
revision=3
noarch=yes
wrksrc="backports.ssl_match_hostname-${version}"
build_style=python2-module
pycompile_module="backports"
hostmakedepends="python"
depends="python-backports"
short_desc="The ssl.match_hostname() function from Python 3.5"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://bitbucket.org/brandon/backports.ssl_match_hostname"
license="PSF"
distfiles="${PYPI_SITE}/b/backports.ssl_match_hostname/backports.ssl_match_hostname-${version}.tar.gz"
checksum=502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2
post_install() {
# namespace provided by python-backports package
rm -f ${DESTDIR}/usr/lib/python*/site-packages/backports/__init__.py
}