diff --git a/dev-python/pymilter/Manifest b/dev-python/pymilter/Manifest new file mode 100644 index 000000000..723798ad6 --- /dev/null +++ b/dev-python/pymilter/Manifest @@ -0,0 +1 @@ +DIST pymilter-1.0.5.gh.tar.gz 1030610 BLAKE2B 7af714ca771ad9c90a0b20b386f0d46d25fc5cd213c43f7c1c6edc1a9300f7bda987f46fa9a9b8add68f020c33783648f9187c3b05a34a4c13ad8a4ae7206f39 SHA512 d6cd291f3be5402d6e4ab824deba940c6500d970b30c8d73b2fb1952eede4ac784033a7ae0b9a7307f18a3bfd52fc3f40fb0a9cce6cb94e724fce5cc3e8eb25e diff --git a/dev-python/pymilter/metadata.xml b/dev-python/pymilter/metadata.xml new file mode 100644 index 000000000..0271b53f2 --- /dev/null +++ b/dev-python/pymilter/metadata.xml @@ -0,0 +1,15 @@ + + + + + + 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. + + + sdgathman/pymilter + pymilter + + diff --git a/dev-python/pymilter/pymilter-1.0.5-r1.ebuild b/dev-python/pymilter/pymilter-1.0.5-r1.ebuild new file mode 100644 index 000000000..460da7a2f --- /dev/null +++ b/dev-python/pymilter/pymilter-1.0.5-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +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 -> ${P}.gh.tar.gz" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~x86" + +RDEPEND=" + dev-python/bsddb3[${PYTHON_USEDEP}] + mail-filter/libmilter:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + $(python_gen_impl_dep sqlite) + || ( + mail-mta/opensmtpd + mail-mta/sendmail + ) + ) +" + +distutils_enable_tests unittest diff --git a/profiles/default/package.unmask b/profiles/default/package.unmask index a26effe79..b457fb40a 100644 --- a/profiles/default/package.unmask +++ b/profiles/default/package.unmask @@ -3,4 +3,3 @@ # required by sys-apps/calculate-server-2.3.11::calculate dev-python/pymilter -dev-python/bsddb3