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 @@
DIST pymilter-1.0.3.tar.gz 1024602 BLAKE2B bd1c29b1e56d3be6f6d491ffd9f38ed684cf5ead2174f4ac2c31c29d32a82f350af180de8e8c21f90b10c3f7b7251382a618ca86346a57a93a48f6adfc0be33e SHA512 a015fb8fb088fd7664aba63df72802a61961cd87bcfd3713c0e11d09ff4dcdfd6f50eca14f6d8ef81b2a70887b3b4f43fbd74b80119f21a0c3737b90320c6cf4

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@seichter.de</email>
<name>Ralph Seichter</name>
</maintainer>
<longdescription>
A python extension module to enable python scripts to attach
to sendmails libmilter functionality. Additional python
modules provide for navigating and modifying MIME parts, and
sending DSNs or doing CBVs.
</longdescription>
<upstream>
<remote-id type="github">sdgathman/pymilter</remote-id>
</upstream>
</pkgmetadata>

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
}