mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
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:
22
dev-python/pymilter/pymilter-1.0.3.ebuild
Normal file
22
dev-python/pymilter/pymilter-1.0.3.ebuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user