28 lines
895 B
Bash
28 lines
895 B
Bash
# Template file for 'python3-dkimpy'
|
|
pkgname=python3-dkimpy
|
|
version=1.0.0
|
|
revision=4
|
|
wrksrc="dkimpy-${version}"
|
|
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 <void@qwertyuiop.de>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://launchpad.net/dkimpy"
|
|
distfiles="${PYPI_SITE}/d/dkimpy/dkimpy-${version}.tar.gz"
|
|
checksum=56f37736b5527082f2389bacd804e31e9f0118043e26eff74198d5d12ae3908b
|
|
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 -f ${DESTDIR}/usr/lib/python3.?/site-packages/dkim/__main__.py
|
|
vlicense LICENSE
|
|
}
|