# Template file for 'python3-dkimpy' pkgname=python3-dkimpy version=1.0.5 revision=4 build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-dnspython python3-authres python3-pynacl python3-aiodns" checkdepends="$depends python3-pytest" short_desc="DKIM and ARC email signing and verification library" maintainer="Alexander Gehrke " license="BSD-3-Clause" homepage="https://launchpad.net/dkimpy" distfiles="${PYPI_SITE}/d/dkimpy/dkimpy-${version}.tar.gz" checksum=9a2420bf09af686736773153fca32a02ae11ecbe24b540c26104628959f91121 replaces="python-dkimpy>=0" provides="python-dkimpy-${version}_${revision}" post_extract() { vsed -i "s/^from tests/from .tests/" dkim/__main__.py } post_install() { # This file is used for testing only rm ${DESTDIR}/${py3_sitelib}/dkim/__main__.py vlicense LICENSE }