# Template file for 'python3-publicsuffix2' pkgname=python3-publicsuffix2 version=2019.12.21 revision=4 build_style=python3-module hostmakedepends="python3-setuptools python3-requests python3-wheel public-suffix" depends="python3 public-suffix" short_desc="Get a public suffix for a domain name using the Public Suffix List" maintainer="Evgeny Ermakov " license="MIT" homepage="https://github.com/nexB/python-publicsuffix2" changelog="https://raw.githubusercontent.com/nexB/python-publicsuffix2/develop/CHANGELOG.rst" distfiles="https://github.com/nexB/python-publicsuffix2/archive/release-2.${version//./-}.tar.gz" checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa post_extract() { rm -f src/publicsuffix2/mpl-2.0.LICENSE rm -f src/publicsuffix2/public_suffix_list.dat } post_install() { vlicense publicsuffix2.LICENSE }