Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/stem/
Date: Mon, 31 May 2021 20:53:41
Message-Id: 1622494412.afb53fc052bdf3e8ac778a8db4395678fbe0cdf4.mgorny@gentoo
1 commit: afb53fc052bdf3e8ac778a8db4395678fbe0cdf4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 31 20:49:32 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 31 20:53:32 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb53fc0
7
8 net-libs/stem: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 net-libs/stem/Manifest | 2 --
13 net-libs/stem/stem-1.7.0.ebuild | 46 -----------------------------------------
14 net-libs/stem/stem-1.7.1.ebuild | 46 -----------------------------------------
15 3 files changed, 94 deletions(-)
16
17 diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
18 index 01551d0a123..1a541ce1a82 100644
19 --- a/net-libs/stem/Manifest
20 +++ b/net-libs/stem/Manifest
21 @@ -1,3 +1 @@
22 -DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484 SHA512 10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a08666689695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
23 -DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4 SHA512 a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c
24 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09 SHA512 aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
25
26 diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild
27 deleted file mode 100644
28 index 7bc740131aa..00000000000
29 --- a/net-libs/stem/stem-1.7.0.ebuild
30 +++ /dev/null
31 @@ -1,46 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=6
36 -PYTHON_COMPAT=(python3_7)
37 -
38 -inherit vcs-snapshot distutils-r1
39 -
40 -DESCRIPTION="Stem is a Python controller library for Tor"
41 -HOMEPAGE="https://stem.torproject.org"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="LGPL-3"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
47 -IUSE="test"
48 -RESTRICT="!test? ( test )"
49 -
50 -DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
51 - net-vpn/tor )
52 - dev-python/setuptools[${PYTHON_USEDEP}]"
53 -
54 -RDEPEND="net-vpn/tor"
55 -
56 -DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} )
57 -
58 -python_prepare_all() {
59 - # Disable failing test
60 - sed -i -e "/test_expand_path/a \
61 - \ \ \ \ return" test/integ/util/system.py || die
62 - sed -i -e "/test_parsing_with_example/a \
63 - \ \ \ \ return" test/unit/manual.py || die
64 - sed -i -e "/test_parsing_with_unknown_options/a \
65 - \ \ \ \ return" test/unit/manual.py || die
66 - sed -i -e "/test_saving_manual/a \
67 - \ \ \ \ return" test/unit/manual.py || die
68 - sed -i -e "/test_sdist_matches_git/a \
69 - \ \ \ \ return" test/integ/installation.py || die
70 - sed -i -e "/test_connections_by_ss/a \
71 - \ \ \ \ return" test/integ/util/connection.py || die
72 - distutils-r1_python_prepare_all
73 -}
74 -
75 -python_test() {
76 - ${PYTHON} run_tests.py --all --target RUN_ALL || die
77 -}
78
79 diff --git a/net-libs/stem/stem-1.7.1.ebuild b/net-libs/stem/stem-1.7.1.ebuild
80 deleted file mode 100644
81 index 7bc740131aa..00000000000
82 --- a/net-libs/stem/stem-1.7.1.ebuild
83 +++ /dev/null
84 @@ -1,46 +0,0 @@
85 -# Copyright 1999-2020 Gentoo Authors
86 -# Distributed under the terms of the GNU General Public License v2
87 -
88 -EAPI=6
89 -PYTHON_COMPAT=(python3_7)
90 -
91 -inherit vcs-snapshot distutils-r1
92 -
93 -DESCRIPTION="Stem is a Python controller library for Tor"
94 -HOMEPAGE="https://stem.torproject.org"
95 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
96 -
97 -LICENSE="LGPL-3"
98 -SLOT="0"
99 -KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
100 -IUSE="test"
101 -RESTRICT="!test? ( test )"
102 -
103 -DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
104 - net-vpn/tor )
105 - dev-python/setuptools[${PYTHON_USEDEP}]"
106 -
107 -RDEPEND="net-vpn/tor"
108 -
109 -DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} )
110 -
111 -python_prepare_all() {
112 - # Disable failing test
113 - sed -i -e "/test_expand_path/a \
114 - \ \ \ \ return" test/integ/util/system.py || die
115 - sed -i -e "/test_parsing_with_example/a \
116 - \ \ \ \ return" test/unit/manual.py || die
117 - sed -i -e "/test_parsing_with_unknown_options/a \
118 - \ \ \ \ return" test/unit/manual.py || die
119 - sed -i -e "/test_saving_manual/a \
120 - \ \ \ \ return" test/unit/manual.py || die
121 - sed -i -e "/test_sdist_matches_git/a \
122 - \ \ \ \ return" test/integ/installation.py || die
123 - sed -i -e "/test_connections_by_ss/a \
124 - \ \ \ \ return" test/integ/util/connection.py || die
125 - distutils-r1_python_prepare_all
126 -}
127 -
128 -python_test() {
129 - ${PYTHON} run_tests.py --all --target RUN_ALL || die
130 -}