summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pymilter')
-rw-r--r--dev-python/pymilter/Manifest1
-rw-r--r--dev-python/pymilter/metadata.xml21
-rw-r--r--dev-python/pymilter/pymilter-1.0.4.ebuild22
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-python/pymilter/Manifest b/dev-python/pymilter/Manifest
new file mode 100644
index 000000000000..07186006bfa2
--- /dev/null
+++ b/dev-python/pymilter/Manifest
@@ -0,0 +1 @@
+DIST pymilter-1.0.4.tar.gz 1023222 BLAKE2B 1e5ce42af76ae1ac2f7cda87d40bdce404ed7e9fce9e88909572ec065f05e2c9effc8bc62d4fad113753ff7dc7e87c790515a9116615191745097cb2c3390042 SHA512 b356a10ffc0ba0172cdb228e4e15034e67c0fd82b4b8bbe1193e54e45e518626fd647033d824f2cd5a9d456154c528027726977d3ad2f2c2fe0e0155ad50d294
diff --git a/dev-python/pymilter/metadata.xml b/dev-python/pymilter/metadata.xml
new file mode 100644
index 000000000000..2db73a89269f
--- /dev/null
+++ b/dev-python/pymilter/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <longdescription>
+ A python extension module to enable python scripts to attach
+ to sendmail’s 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>
diff --git a/dev-python/pymilter/pymilter-1.0.4.ebuild b/dev-python/pymilter/pymilter-1.0.4.ebuild
new file mode 100644
index 000000000000..3a205f24df6b
--- /dev/null
+++ b/dev-python/pymilter/pymilter-1.0.4.ebuild
@@ -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 || die
+}