mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-15 18:13:10 -04:00
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
23 lines
483 B
Bash
23 lines
483 B
Bash
# 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
|
|
}
|