dev-python/pymilter: Interface to sendmail milter API

Python extension module to enable python scripts to attach to
Sendmail's libmilter API (which is also used by Postfix), enabling
filtering of messages as they arrive.

Signed-off-by: Ralph Seichter <gentoo@seichter.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
This commit is contained in:
Ralph Seichter
2019-04-08 19:11:50 +02:00
parent 685d970cc9
commit 37a6aebb0a
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit distutils-r1
DESCRIPTION="Python interface to sendmail milter API"
HOMEPAGE="https://github.com/sdgathman/pymilter"
SRC_URI="https://github.com/sdgathman/${PN}/archive/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
S="${WORKDIR}/${PN}-${P}"
python_test() {
"${EPYTHON}" -m unittest discover -v
}