Browse code

add getmail

Hanno Böck authored on01/08/2020 19:29:15
Showing2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
1
+DIST getmail-5.14.tar.gz 199501 BLAKE2B 54bb79cd37303f423b70bae0f3072d338a8c66b25d59f8b982029d5faebb65a3f7ea979ec35d0dab61d376754dc15e206d443cd0cb128a3c438a09dfb8107f69 SHA512 0646864af56fc044525d38088164c2c026a8f29b231c25c9cfe9aa922b1e5170cf49c63874da9bd593b49be6ed822bd4da7ea4ebfbb59cfa6e1658e2b565c184
2
+EBUILD getmail-5.14.ebuild 630 BLAKE2B 3609240c96c944db7a97ecd14badc603b357aeb21b43d5922f266be0c9c9a21b9f6303ede00452a6038aa33c62b10b2fc26dc4d3108031fce0088924152bf86e SHA512 00065270b9cd204d6f482a74d832ea2f13a94f03711ee34b330f289b492e412c73c8309de20425b0cbaca2ad655f08570817ed790d419232ea24edc5147cc526
0 3
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+# Copyright 1999-2020 Gentoo Authors
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=7
5
+PYTHON_COMPAT=( python2_7 )
6
+PYTHON_REQ_USE="ssl?"
7
+
8
+inherit distutils-r1
9
+
10
+DESCRIPTION="A mail retriever with reliable Maildir and mbox delivery"
11
+HOMEPAGE="http://pyropus.ca/software/getmail/"
12
+SRC_URI="http://pyropus.ca/software/getmail/old-versions/${P}.tar.gz"
13
+
14
+LICENSE="GPL-2"
15
+SLOT="0"
16
+KEYWORDS="amd64 ppc x86 ~ppc-macos ~x86-macos ~x64-solaris"
17
+IUSE="ssl"
18
+
19
+python_prepare_all() {
20
+	sed -i -e "s,'getmail-%s' % __version__,'${PF}'," \
21
+		-e "/docs\/COPYING/d" "${S}"/setup.py || die
22
+
23
+	distutils-r1_python_prepare_all
24
+}