1 |
commit: 263e74d27b2f17fe2ed00b0fb4a66d0354ee0808 |
2 |
Author: Rolf Eike Beer <eike <AT> sf-mail <DOT> de> |
3 |
AuthorDate: Fri Sep 4 15:10:43 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 4 15:52:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=263e74d2 |
7 |
|
8 |
net-mail/queue-repair: "port" it to python3 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/723250 |
11 |
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/17414 |
13 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
14 |
|
15 |
net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild | 35 ++++++++++++++++++++++ |
16 |
1 file changed, 35 insertions(+) |
17 |
|
18 |
diff --git a/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild b/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild |
19 |
new file mode 100644 |
20 |
index 00000000000..a67868c14c2 |
21 |
--- /dev/null |
22 |
+++ b/net-mail/queue-repair/queue-repair-0.9.0-r2.ebuild |
23 |
@@ -0,0 +1,35 @@ |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
+# Distributed under the terms of the GNU General Public License v2 |
26 |
+ |
27 |
+EAPI=7 |
28 |
+ |
29 |
+PYTHON_COMPAT=( python3_{6,7,8} ) |
30 |
+ |
31 |
+inherit python-single-r1 |
32 |
+ |
33 |
+DESCRIPTION="A toolkit for dealing with the qmail queue directory structure" |
34 |
+HOMEPAGE="http://pyropus.ca/software/queue-repair/" |
35 |
+SRC_URI="http://pyropus.ca/software/queue-repair/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" |
40 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
41 |
+RESTRICT="test" # no tests |
42 |
+ |
43 |
+RDEPEND="${PYTHON_DEPS}" |
44 |
+DEPEND="${RDEPEND}" |
45 |
+ |
46 |
+DOCS=( BLURB TODO CHANGELOG ) |
47 |
+ |
48 |
+src_prepare() { |
49 |
+ eapply_user |
50 |
+ |
51 |
+ 2to3 -n -w --no-diffs queue_repair.py || die |
52 |
+} |
53 |
+ |
54 |
+src_install() { |
55 |
+ python_newscript queue_repair.py queue-repair.py |
56 |
+ dosym queue-repair.py /usr/bin/queue-repair |
57 |
+ einstalldocs |
58 |
+} |