Gentoo Archives: gentoo-commits

From: Craig Andrews <candrews@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/onionrouter/files/, net-mail/onionrouter/
Date: Fri, 15 Oct 2021 15:17:33
Message-Id: 1634311045.39cc42da4b1b3082ff84e114fca8762f5b87a385.candrews@gentoo
1 commit: 39cc42da4b1b3082ff84e114fca8762f5b87a385
2 Author: Craig Andrews <candrews <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 15 15:16:14 2021 +0000
4 Commit: Craig Andrews <candrews <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 15 15:17:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39cc42da
7
8 net-mail/onionrouter: Cleanup old version
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>
12
13 net-mail/onionrouter/Manifest | 1 -
14 .../files/onionrouter-0.6.1-pyyaml-6.0.patch | 24 ----------
15 net-mail/onionrouter/onionrouter-0.6.1-r1.ebuild | 54 ----------------------
16 3 files changed, 79 deletions(-)
17
18 diff --git a/net-mail/onionrouter/Manifest b/net-mail/onionrouter/Manifest
19 index ac1a8da0f39..3c4449ec1d7 100644
20 --- a/net-mail/onionrouter/Manifest
21 +++ b/net-mail/onionrouter/Manifest
22 @@ -1,2 +1 @@
23 -DIST onionrouter-0.6.1.tar.gz 26584 BLAKE2B e1d722ba4e7ec617e39fda54299cd71d9d47bbd34fd44a19ffef8f2349f9b238251b47d01c369223393a9d7f2e0a05c5d8b7dc9f991c7d386ba800086b8cc226 SHA512 5d08e7a7310e69e29eaba2098a62cef4b5044c207f4a78b4cfebfd2a9d18bd812b485793ff7395186d4949ad9604b4e82dc0e9b1200abf03108466bf531a6d15
24 DIST onionrouter-0.6.2.tar.gz 27920 BLAKE2B e9158fe7e066968d9569fb84085a85300774f6b2a2f070216755a3444c6a0352da847a7a383bed4cd792083c1fc8d71039c2c7b3e4c0c21aeca6bcb0c440de44 SHA512 4d5db2f856d6a52dfd43b7d3fea4317a1238ba6410c1da953e1cb59519ef8c18e3b73f676beff9612a853030762570f386dca24a7d7be4add23493e0b344535e
25
26 diff --git a/net-mail/onionrouter/files/onionrouter-0.6.1-pyyaml-6.0.patch b/net-mail/onionrouter/files/onionrouter-0.6.1-pyyaml-6.0.patch
27 deleted file mode 100644
28 index 32dedec5712..00000000000
29 --- a/net-mail/onionrouter/files/onionrouter-0.6.1-pyyaml-6.0.patch
30 +++ /dev/null
31 @@ -1,24 +0,0 @@
32 -https://github.com/ehloonion/onionrouter/pull/26
33 -
34 -From 45853184a610fd83c77adaebb240f164214bd450 Mon Sep 17 00:00:00 2001
35 -From: Craig Andrews <candrews@××××××××××××.com>
36 -Date: Thu, 14 Oct 2021 22:45:25 -0400
37 -Subject: [PATCH] Allow pyyaml 6.0
38 -
39 ----
40 - setup.py | 2 +-
41 - 1 file changed, 1 insertion(+), 1 deletion(-)
42 -
43 -diff --git a/setup.py b/setup.py
44 -index ad634ac..3b7d94c 100644
45 ---- a/setup.py
46 -+++ b/setup.py
47 -@@ -11,7 +11,7 @@
48 -
49 - requirements = [
50 - "dnspython>=2.0.0,<3.0.0",
51 -- "PyYAML>=4.2b1,<6.0.0",
52 -+ "PyYAML>=4.2b1",
53 - ]
54 -
55 - test_requirements = [
56
57 diff --git a/net-mail/onionrouter/onionrouter-0.6.1-r1.ebuild b/net-mail/onionrouter/onionrouter-0.6.1-r1.ebuild
58 deleted file mode 100644
59 index e977bc3b27f..00000000000
60 --- a/net-mail/onionrouter/onionrouter-0.6.1-r1.ebuild
61 +++ /dev/null
62 @@ -1,54 +0,0 @@
63 -# Copyright 1999-2021 Gentoo Authors
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=7
67 -
68 -PYTHON_COMPAT=( python3_{7,8,9,10} )
69 -DISTUTILS_SINGLE_IMPL=1
70 -DISTUTILS_USE_SETUPTOOLS=rdepend
71 -
72 -inherit distutils-r1 systemd
73 -
74 -DESCRIPTION=".onion discovery via SRV DNS lookups for use with postfix"
75 -HOMEPAGE="https://pypi.org/project/onionrouter/ https://github.com/ehloonion/onionrouter/"
76 -if [[ ${PV} == *9999 ]] ; then
77 - SRC_URI=""
78 - EGIT_REPO_URI="https://github.com/ehloonion/onionrouter.git"
79 - inherit git-r3
80 -else
81 - KEYWORDS="~amd64"
82 - SRC_URI="https://pypi.io/packages/source/${PN::1}/${PN}/${P}.tar.gz"
83 -fi
84 -IUSE="test"
85 -RESTRICT="!test? ( test )"
86 -
87 -LICENSE="GPL-3+"
88 -SLOT="0"
89 -
90 -RDEPEND="$(python_gen_cond_dep '
91 - dev-python/dnspython[${PYTHON_USEDEP}]
92 - dev-python/pyyaml[${PYTHON_USEDEP}]
93 -')"
94 -BDEPEND="$(python_gen_cond_dep '
95 - test? (
96 - dev-python/pytest[${PYTHON_USEDEP}]
97 - dev-python/wheel[${PYTHON_USEDEP}]
98 - )
99 -')"
100 -
101 -PATCHES=(
102 - "${FILESDIR}/${P}-pyyaml-6.0.patch"
103 -)
104 -
105 -distutils_enable_tests pytest
106 -
107 -src_prepare() {
108 - distutils-r1_src_prepare
109 -}
110 -
111 -src_install() {
112 - distutils-r1_src_install
113 - systemd_dounit "${FILESDIR}/${PN}.service"
114 - insinto /etc/onionrouter
115 - doins "${S}/onionrouter/configs/onionrouter.ini"
116 -}