commit:     2df6b0f31a5a13fe8d1f5ec0385951bc18c1bf22
Author:     Remco Rijnders <r+gentoo <AT> r78 <DOT> nl>
AuthorDate: Sun Aug 23 16:47:40 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 12:00:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2df6b0f3

net-mail/getmail: New upstream for package, v6.9

getmail was removed in commit f63396228c129fdbac0b2b6bf90ca0dbe64bfb08 on
July 27 for being a Py2 only package. This reintroduces this package from
a different upstream that is compatible with Python 3.

Signed-off-by: Remco Rijnders <remco <AT> webconquest.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-mail/getmail/Manifest           |  1 +
 net-mail/getmail/getmail-6.9.ebuild | 29 +++++++++++++++++++++++++++++
 net-mail/getmail/metadata.xml       | 12 ++++++++++++
 3 files changed, 42 insertions(+)

diff --git a/net-mail/getmail/Manifest b/net-mail/getmail/Manifest
new file mode 100644
index 00000000000..3c49f6960c3
--- /dev/null
+++ b/net-mail/getmail/Manifest
@@ -0,0 +1 @@
+DIST getmail-6.9.tar.gz 184415 BLAKE2B 
90c6580391c2d0f038d7011f9873eedce009a50edf44923e78dd6547d86bf00398ac539dedba000925dd4b5f125d7f1ef23e3ca47101d25ad2780f7465bf7e16
 SHA512 
0ba450135c995adb2ef1b7284dd94db1722f0757cd71ac61482fc2fdb2d04c854d530a5d9e919f276c610a4c7d1227aa26e8aac0f384d0f9149ba5068e3029ce

diff --git a/net-mail/getmail/getmail-6.9.ebuild 
b/net-mail/getmail/getmail-6.9.ebuild
new file mode 100644
index 00000000000..7721b8688ee
--- /dev/null
+++ b/net-mail/getmail/getmail-6.9.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_REQ_USE="ssl"
+
+DISTUTILS_USE_SETUPTOOLS=bdepend
+inherit distutils-r1
+
+DESCRIPTION="A mail retriever with reliable Maildir and mbox delivery"
+HOMEPAGE="http://www.getmail6.org/";
+SRC_URI="https://github.com/getmail6/getmail6/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="ssl"
+
+S="${WORKDIR}/getmail6-${PV}"
+
+python_prepare_all() {
+       # Use gentoo version number (including revision) for doc dir and remove 
COPYING file
+       sed -i -e "s,'getmail-%s' % __version__,'${PF}'," \
+               -e "/docs\/COPYING/d" "${S}"/setup.py || die
+
+       distutils-r1_python_prepare_all
+}

diff --git a/net-mail/getmail/metadata.xml b/net-mail/getmail/metadata.xml
new file mode 100644
index 00000000000..3f821c44382
--- /dev/null
+++ b/net-mail/getmail/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Remco Rijnders</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>[email protected]</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+</pkgmetadata>

Reply via email to