[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2024-05-17 Thread Craig Andrews
commit: 50475d829ad6b534e2e95f8f5009048565d83e48
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri May 17 13:40:44 2024 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri May 17 13:41:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50475d82

net-libs/stem: enable py3.12

Signed-off-by: Craig Andrews  gentoo.org>

 net-libs/stem/stem-1.8.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/stem/stem-1.8.2.ebuild b/net-libs/stem/stem-1.8.2.ebuild
index 029f9e97a8f3..26857d59447a 100644
--- a/net-libs/stem/stem-1.8.2.ebuild
+++ b/net-libs/stem/stem-1.8.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} pypy3 )
+PYTHON_COMPAT=( python3_{10..12} pypy3 )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1 pypi



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-08-16 Thread Sam James
commit: cc7bdc84d941676d0ebf8ecf390d2d3afbb02392
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 16 19:17:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 16 19:17:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc7bdc84

net-libs/stem: Keyword 1.8.2 arm64, #907708

Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/stem-1.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/stem/stem-1.8.2.ebuild b/net-libs/stem/stem-1.8.2.ebuild
index 8cfdad4fb4db..029f9e97a8f3 100644
--- a/net-libs/stem/stem-1.8.2.ebuild
+++ b/net-libs/stem/stem-1.8.2.ebuild
@@ -13,7 +13,7 @@ HOMEPAGE="https://stem.torproject.org;
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-06-12 Thread Sam James
commit: e001732ca95030774eb78c68a4717ecbc7e74973
Author: Sam James  gentoo  org>
AuthorDate: Mon Jun 12 11:15:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 12 11:15:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e001732c

net-libs/stem: add 1.8.2

Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.8.2.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 4eb8deaa4f10..8e45a8395e6e 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1 +1,2 @@
 DIST stem-1.8.1.tar.gz 2859634 BLAKE2B 
f78da079791583a17eb439a4e2459c7e0af454e45300202df1085d1b1ba150ee097cfa1b93df5ad0d7090644fad6e035604382c73b94744076cad490ab52459a
 SHA512 
bad2f4f96e37caa3ee2928bb027318c4941ca3f6c0072c5f6e87fe647d2b68400ad352d9c27fa2a35c00f4f327aa9cc00e2907b21a9cbd26fab46ec21e2a038a
+DIST stem-1.8.2.tar.gz 2859640 BLAKE2B 
4539fc42a463cd1c2ebba10bb31a69d529c41cdaee623beebd3219a2c1d59f8f9b8242b537dd4244e666fb765c5af2729caeeb22a7f8cd1ca6c13dd3cf6aac93
 SHA512 
f054bbc9a61e04fb7e3b7d1534803b938b855c29795471953661f8fd9c0a5196fe1f9ccfd01e5b3256ea42893a7d57fda34fa54932012e345f74bb3303ff98c5

diff --git a/net-libs/stem/stem-1.8.2.ebuild b/net-libs/stem/stem-1.8.2.ebuild
new file mode 100644
index ..8cfdad4fb4db
--- /dev/null
+++ b/net-libs/stem/stem-1.8.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} pypy3 )
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="net-vpn/tor"
+BDEPEND="test? ( net-vpn/tor )"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{api,change_log,contents,download,faq,index,tutorials}.rst}
 )
+
+PATCHES=(
+   # https://github.com/torproject/stem/issues/53
+   "${FILESDIR}"/1.8.1-Add-an-exclude-test-argument.patch
+)
+
+python_prepare_all() {
+   # https://github.com/torproject/stem/issues/56
+   sed -i '/MOCK_VERSION/d' run_tests.py || die
+
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   local skipped_tests=(
+   --exclude-test 
test.integ.installation.TestInstallation.test_install
+   --exclude-test 
test.integ.util.system.TestSystem.test_expand_path
+   --exclude-test 
test.integ.control.controller.TestController.test_get_listeners
+   --exclude-test 
test.integ.control.controller.TestController.test_get_ports
+   --exclude-test 
test.integ.control.controller.TestController.test_getinfo_freshrelaydescs
+   # confused by exception text change for JSON parsing
+   --exclude-test 
test.unit.descriptor.collector.TestCollector.test_index_malformed_json
+   )
+
+   # We use --unit --integ to avoid the static/style/lint checks.
+   ${EPYTHON} run_tests.py --verbose --unit --integ "${skipped_tests[@]}" 
|| die "Tests failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-05-20 Thread Michał Górny
commit: f8d787bcdab73f1b265c7fb5a8f9865f4daf06c5
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 20 07:29:28 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 20 07:29:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d787bc

net-libs/stem: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/stem/Manifest |  1 -
 net-libs/stem/stem-1.8.0-r1.ebuild | 49 --
 2 files changed, 50 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 3d4cb4c23200..4eb8deaa4f10 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,2 +1 @@
-DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
 DIST stem-1.8.1.tar.gz 2859634 BLAKE2B 
f78da079791583a17eb439a4e2459c7e0af454e45300202df1085d1b1ba150ee097cfa1b93df5ad0d7090644fad6e035604382c73b94744076cad490ab52459a
 SHA512 
bad2f4f96e37caa3ee2928bb027318c4941ca3f6c0072c5f6e87fe647d2b68400ad352d9c27fa2a35c00f4f327aa9cc00e2907b21a9cbd26fab46ec21e2a038a

diff --git a/net-libs/stem/stem-1.8.0-r1.ebuild 
b/net-libs/stem/stem-1.8.0-r1.ebuild
deleted file mode 100644
index 0603d9e04d5d..
--- a/net-libs/stem/stem-1.8.0-r1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Fails w/ 3.11: https://github.com/torproject/stem/issues/130 (breaks 
net-misc/nyx)
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_parsing_with_example/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_parsing_with_unknown_options/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_saving_manual/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_sdist_matches_git/a \
-   \ \ \ \ return" test/integ/installation.py || die
-   sed -i -e "/test_connections_by_ss/a \
-   \ \ \ \ return" test/integ/util/connection.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   ${PYTHON} run_tests.py --all --target RUN_ALL || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-02-21 Thread Sam James
commit: a0aa49a20a1fd62524259486a20e38da8b0e3c83
Author: Sam James  gentoo  org>
AuthorDate: Wed Feb 22 07:43:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 07:43:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0aa49a2

net-libs/stem: use pypi.eclass

Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/stem-1.8.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-libs/stem/stem-1.8.1.ebuild b/net-libs/stem/stem-1.8.1.ebuild
index b3e1e5761b0d..6cd30508aeaa 100644
--- a/net-libs/stem/stem-1.8.1.ebuild
+++ b/net-libs/stem/stem-1.8.1.ebuild
@@ -6,11 +6,10 @@ EAPI=8
 PYTHON_COMPAT=( python3_{9..11} pypy3 )
 DISTUTILS_USE_PEP517=setuptools
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 DESCRIPTION="Stem is a Python controller library for Tor"
 HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="LGPL-3"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-02-21 Thread Sam James
commit: 785ff3d0d7c7050af1545e655b9c05c5a3a3312c
Author: Daniel Brandt  spahan  ch>
AuthorDate: Mon Feb 20 17:15:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 07:42:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=785ff3d0

net-libs/stem: drop 1.8.0_p2028

confusing versioning since it is actually a snapshot from master
and not from maint and therefore newer than 1.8.1

Signed-off-by: Daniel Brandt  spahan.ch>
Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/Manifest|  1 -
 net-libs/stem/stem-1.8.0_p2028.ebuild | 51 ---
 2 files changed, 52 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index bd532469df80..3d4cb4c23200 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,3 +1,2 @@
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
-DIST stem-1.8.0_p2028.tar.gz 2862928 BLAKE2B 
0c284be96332e11c011eb69d4448fab5c33cc59e4107abad44d7bc1186629112ca8658aade28e486c0eed873524e18ed87edf5920520d5c8dd854b2fec7867ea
 SHA512 
b8afb5d2203b19930e8c1eaa3cad331c0df8b8bcffe4b224b8bab549866f53a5f06001d2141a0a8b7becfa8b7c1281ef5d9584423c8ba25dc4198cfaf07d3a14
 DIST stem-1.8.1.tar.gz 2859634 BLAKE2B 
f78da079791583a17eb439a4e2459c7e0af454e45300202df1085d1b1ba150ee097cfa1b93df5ad0d7090644fad6e035604382c73b94744076cad490ab52459a
 SHA512 
bad2f4f96e37caa3ee2928bb027318c4941ca3f6c0072c5f6e87fe647d2b68400ad352d9c27fa2a35c00f4f327aa9cc00e2907b21a9cbd26fab46ec21e2a038a

diff --git a/net-libs/stem/stem-1.8.0_p2028.ebuild 
b/net-libs/stem/stem-1.8.0_p2028.ebuild
deleted file mode 100644
index f409826d624a..
--- a/net-libs/stem/stem-1.8.0_p2028.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# Fails w/ 3.11: https://github.com/torproject/stem/issues/130 (breaks 
net-misc/nyx)
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-COMMIT="57364fae7269ec562c5fc8cdb073ff9463d9a0f0"
-SRC_URI="https://github.com/torproject/stem/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${PN}-${COMMIT}"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~riscv ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_parsing_with_example/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_parsing_with_unknown_options/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_saving_manual/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_sdist_matches_git/a \
-   \ \ \ \ return" test/integ/installation.py || die
-   sed -i -e "/test_connections_by_ss/a \
-   \ \ \ \ return" test/integ/util/connection.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   ${PYTHON} run_tests.py --all --target RUN_ALL || die
-}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/files/, net-libs/stem/

2023-02-21 Thread Sam James
commit: 760334af66412d4b812dcee84ad15effa72601f4
Author: Daniel Brandt  spahan  ch>
AuthorDate: Mon Feb 20 10:53:33 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 07:42:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=760334af

net-libs/stem: add 1.8.1

Signed-off-by: Daniel Brandt  spahan.ch>
Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/Manifest |   1 +
 ...-replace-all-usages-of-inspect.getargspec.patch |  53 +
 .../files/1.8.1-Add-an-exclude-test-argument.patch | 219 +
 net-libs/stem/stem-1.8.1.ebuild|  52 +
 4 files changed, 325 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 9d8b5c52d051..bd532469df80 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,2 +1,3 @@
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
 DIST stem-1.8.0_p2028.tar.gz 2862928 BLAKE2B 
0c284be96332e11c011eb69d4448fab5c33cc59e4107abad44d7bc1186629112ca8658aade28e486c0eed873524e18ed87edf5920520d5c8dd854b2fec7867ea
 SHA512 
b8afb5d2203b19930e8c1eaa3cad331c0df8b8bcffe4b224b8bab549866f53a5f06001d2141a0a8b7becfa8b7c1281ef5d9584423c8ba25dc4198cfaf07d3a14
+DIST stem-1.8.1.tar.gz 2859634 BLAKE2B 
f78da079791583a17eb439a4e2459c7e0af454e45300202df1085d1b1ba150ee097cfa1b93df5ad0d7090644fad6e035604382c73b94744076cad490ab52459a
 SHA512 
bad2f4f96e37caa3ee2928bb027318c4941ca3f6c0072c5f6e87fe647d2b68400ad352d9c27fa2a35c00f4f327aa9cc00e2907b21a9cbd26fab46ec21e2a038a

diff --git 
a/net-libs/stem/files/1.8.0-replace-all-usages-of-inspect.getargspec.patch 
b/net-libs/stem/files/1.8.0-replace-all-usages-of-inspect.getargspec.patch
new file mode 100644
index ..608fe5f5224f
--- /dev/null
+++ b/net-libs/stem/files/1.8.0-replace-all-usages-of-inspect.getargspec.patch
@@ -0,0 +1,53 @@
+From 6497514ea89ba44d404b661d495a8cd2649ac628 Mon Sep 17 00:00:00 2001
+From: Juan Orti Alcaine 
+Date: Fri, 1 Jul 2022 09:40:41 +0200
+Subject: [PATCH] Replace all usages of inspect.getargspec
+
+---
+ stem/control.py   | 2 +-
+ stem/prereq.py| 2 +-
+ stem/util/conf.py | 2 +-
+ 3 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/stem/control.py b/stem/control.py
+index 42736486..3b29898d 100644
+--- a/stem/control.py
 b/stem/control.py
+@@ -474,7 +474,7 @@ def with_default(yields = False):
+ 
+   def decorator(func):
+ def get_default(func, args, kwargs):
+-  arg_names = inspect.getargspec(func).args[1:]  # drop 'self'
++  arg_names = inspect.getfullargspec(func).args[1:]  # drop 'self'
+   default_position = arg_names.index('default') if 'default' in arg_names 
else None
+ 
+   if default_position is not None and default_position < len(args):
+diff --git a/stem/prereq.py b/stem/prereq.py
+index 4af6c093..4009c317 100644
+--- a/stem/prereq.py
 b/stem/prereq.py
+@@ -241,7 +241,7 @@ def is_mock_available():
+ 
+ # check for mock's new_callable argument for patch() which was introduced 
in version 0.8.0
+ 
+-if 'new_callable' not in inspect.getargspec(mock.patch).args:
++if 'new_callable' not in inspect.getfullargspec(mock.patch).args:
+   raise ImportError()
+ 
+ return True
+diff --git a/stem/util/conf.py b/stem/util/conf.py
+index 80399810..15c4db8b 100644
+--- a/stem/util/conf.py
 b/stem/util/conf.py
+@@ -285,7 +285,7 @@ def uses_settings(handle, path, lazy_load = True):
+ config.load(path)
+ config._settings_loaded = True
+ 
+-  if 'config' in inspect.getargspec(func).args:
++  if 'config' in inspect.getfullargspec(func).args:
+ return func(*args, config = config, **kwargs)
+   else:
+ return func(*args, **kwargs)
+-- 
+2.36.1
+

diff --git a/net-libs/stem/files/1.8.1-Add-an-exclude-test-argument.patch 
b/net-libs/stem/files/1.8.1-Add-an-exclude-test-argument.patch
new file mode 100644
index ..88d5e48ccb74
--- /dev/null
+++ b/net-libs/stem/files/1.8.1-Add-an-exclude-test-argument.patch
@@ -0,0 +1,219 @@
+From e24fe02265186b1649e3813a51eff11cd2e1cc21 Mon Sep 17 00:00:00 2001
+From: Damian Johnson 
+Date: Thu, 30 Jan 2020 15:49:36 -0800
+Subject: [PATCH] Add an --exclude-test argument
+
+Implementing a great suggestion from teor for an --exclude-test argument...
+
+  https://github.com/torproject/stem/issues/53
+
+This can be used to skip both modules...
+
+  % run_tests.py --unit --exclude-test interpreter.commands
+  [ runs all the tests except the interpreter.commands module ]
+
+... and individual tests...
+
+  % run_tests.py --unit --test interpreter.commands --exclude-test 
interpreter.commands.test_events --verbose
+  [ only runs interpreter.commands tests, but skips test_events 

[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-02-21 Thread Sam James
commit: 0d4fb50c4fd07cff3921357a436ef997f944321c
Author: Daniel Brandt  spahan  ch>
AuthorDate: Mon Feb 20 10:56:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Feb 22 07:42:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d4fb50c

net-libs/stem: enable py3.11

Signed-off-by: Daniel Brandt  spahan.ch>
Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/stem-1.8.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-libs/stem/stem-1.8.1.ebuild b/net-libs/stem/stem-1.8.1.ebuild
index 76300117c7d7..b3e1e5761b0d 100644
--- a/net-libs/stem/stem-1.8.1.ebuild
+++ b/net-libs/stem/stem-1.8.1.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-# Fails w/ 3.11: https://github.com/torproject/stem/issues/130 (breaks 
net-misc/nyx)
-PYTHON_COMPAT=( python3_{9..10} pypy3 )
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2023-02-16 Thread Sam James
commit: 7e3432811734ab3b824fa8fe30488e6b8b20b640
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb 17 06:45:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb 17 06:48:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e343281

net-libs/stem: add note re py3.11

Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/stem-1.8.0-r1.ebuild| 2 ++
 net-libs/stem/stem-1.8.0_p2028.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/net-libs/stem/stem-1.8.0-r1.ebuild 
b/net-libs/stem/stem-1.8.0-r1.ebuild
index 3552fa292554..0603d9e04d5d 100644
--- a/net-libs/stem/stem-1.8.0-r1.ebuild
+++ b/net-libs/stem/stem-1.8.0-r1.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
+# Fails w/ 3.11: https://github.com/torproject/stem/issues/130 (breaks 
net-misc/nyx)
 PYTHON_COMPAT=( python3_{9..10} pypy3 )
 DISTUTILS_USE_SETUPTOOLS=no
 

diff --git a/net-libs/stem/stem-1.8.0_p2028.ebuild 
b/net-libs/stem/stem-1.8.0_p2028.ebuild
index 1fc58544f59b..f409826d624a 100644
--- a/net-libs/stem/stem-1.8.0_p2028.ebuild
+++ b/net-libs/stem/stem-1.8.0_p2028.ebuild
@@ -2,6 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
+# Fails w/ 3.11: https://github.com/torproject/stem/issues/130 (breaks 
net-misc/nyx)
 PYTHON_COMPAT=( python3_{9..10} pypy3 )
 DISTUTILS_USE_SETUPTOOLS=no
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2022-03-05 Thread Sam James
commit: 4d4a25b35f5ea10a093b2318c099542a12635803
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  5 23:59:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  5 23:59:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d4a25b3

net-libs/stem: enable py3.10 for 1.8.0-r1

Needed because of nyx.

Signed-off-by: Sam James  gentoo.org>

 net-libs/stem/stem-1.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/stem/stem-1.8.0-r1.ebuild 
b/net-libs/stem/stem-1.8.0-r1.ebuild
index 5faf782e56e7..1437132e3ad2 100644
--- a/net-libs/stem/stem-1.8.0-r1.ebuild
+++ b/net-libs/stem/stem-1.8.0-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python3_{8..9} pypy3 )
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2021-12-18 Thread Craig Andrews
commit: 8255466f5ecf19c61b45c97c9bb8f88cbbaa2f30
Author: Craig Andrews  gentoo  org>
AuthorDate: Sat Dec 18 18:13:49 2021 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Dec 18 18:14:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8255466f

net-libs/stem: fix bad filename warning

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews  gentoo.org>

 net-libs/stem/Manifest| 2 +-
 net-libs/stem/stem-1.8.0_p2028.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 1e1202d8069a..9d8b5c52d051 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,2 +1,2 @@
-DIST 57364fae7269ec562c5fc8cdb073ff9463d9a0f0.tar.gz 2862928 BLAKE2B 
0c284be96332e11c011eb69d4448fab5c33cc59e4107abad44d7bc1186629112ca8658aade28e486c0eed873524e18ed87edf5920520d5c8dd854b2fec7867ea
 SHA512 
b8afb5d2203b19930e8c1eaa3cad331c0df8b8bcffe4b224b8bab549866f53a5f06001d2141a0a8b7becfa8b7c1281ef5d9584423c8ba25dc4198cfaf07d3a14
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d
+DIST stem-1.8.0_p2028.tar.gz 2862928 BLAKE2B 
0c284be96332e11c011eb69d4448fab5c33cc59e4107abad44d7bc1186629112ca8658aade28e486c0eed873524e18ed87edf5920520d5c8dd854b2fec7867ea
 SHA512 
b8afb5d2203b19930e8c1eaa3cad331c0df8b8bcffe4b224b8bab549866f53a5f06001d2141a0a8b7becfa8b7c1281ef5d9584423c8ba25dc4198cfaf07d3a14

diff --git a/net-libs/stem/stem-1.8.0_p2028.ebuild 
b/net-libs/stem/stem-1.8.0_p2028.ebuild
index 871f70905a6d..b4a053ab34d7 100644
--- a/net-libs/stem/stem-1.8.0_p2028.ebuild
+++ b/net-libs/stem/stem-1.8.0_p2028.ebuild
@@ -10,7 +10,7 @@ inherit distutils-r1
 DESCRIPTION="Stem is a Python controller library for Tor"
 HOMEPAGE="https://stem.torproject.org;
 COMMIT="57364fae7269ec562c5fc8cdb073ff9463d9a0f0"
-SRC_URI="https://github.com/torproject/stem/archive/${COMMIT}.tar.gz;
+SRC_URI="https://github.com/torproject/stem/archive/${COMMIT}.tar.gz -> 
${P}.tar.gz"
 S="${WORKDIR}/${PN}-${COMMIT}"
 
 LICENSE="LGPL-3"



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2021-12-18 Thread Craig Andrews
commit: 088a04f559d61690423839c7171dd34e6d31c0fa
Author: Craig Andrews  gentoo  org>
AuthorDate: Sat Dec 18 17:42:19 2021 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Sat Dec 18 17:43:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=088a04f5

net-libs/stem: 1.8.0_p2028 version bump

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Craig Andrews  gentoo.org>

 net-libs/stem/Manifest|  1 +
 net-libs/stem/stem-1.8.0_p2028.ebuild | 49 +++
 2 files changed, 50 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 1a541ce1a82c..1e1202d8069a 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1 +1,2 @@
+DIST 57364fae7269ec562c5fc8cdb073ff9463d9a0f0.tar.gz 2862928 BLAKE2B 
0c284be96332e11c011eb69d4448fab5c33cc59e4107abad44d7bc1186629112ca8658aade28e486c0eed873524e18ed87edf5920520d5c8dd854b2fec7867ea
 SHA512 
b8afb5d2203b19930e8c1eaa3cad331c0df8b8bcffe4b224b8bab549866f53a5f06001d2141a0a8b7becfa8b7c1281ef5d9584423c8ba25dc4198cfaf07d3a14
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d

diff --git a/net-libs/stem/stem-1.8.0_p2028.ebuild 
b/net-libs/stem/stem-1.8.0_p2028.ebuild
new file mode 100644
index ..871f70905a6d
--- /dev/null
+++ b/net-libs/stem/stem-1.8.0_p2028.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=(python3_{7,8,9,10} pypy3)
+DISTUTILS_USE_SETUPTOOLS=no
+
+inherit distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+COMMIT="57364fae7269ec562c5fc8cdb073ff9463d9a0f0"
+SRC_URI="https://github.com/torproject/stem/archive/${COMMIT}.tar.gz;
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-vpn/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-vpn/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   sed -i -e "/test_connections_by_ss/a \
+   \ \ \ \ return" test/integ/util/connection.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2021-05-31 Thread Michał Górny
commit: afb53fc052bdf3e8ac778a8db4395678fbe0cdf4
Author: Michał Górny  gentoo  org>
AuthorDate: Mon May 31 20:49:32 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon May 31 20:53:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afb53fc0

net-libs/stem: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/stem/Manifest  |  2 --
 net-libs/stem/stem-1.7.0.ebuild | 46 -
 net-libs/stem/stem-1.7.1.ebuild | 46 -
 3 files changed, 94 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 01551d0a123..1a541ce1a82 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,3 +1 @@
-DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 
2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484
 SHA512 
10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a0889695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
-DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 
318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4
 SHA512 
a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d

diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild
deleted file mode 100644
index 7bc740131aa..000
--- a/net-libs/stem/stem-1.7.0.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=(python3_7)
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_parsing_with_example/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_parsing_with_unknown_options/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_saving_manual/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_sdist_matches_git/a \
-   \ \ \ \ return" test/integ/installation.py || die
-   sed -i -e "/test_connections_by_ss/a \
-   \ \ \ \ return" test/integ/util/connection.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   ${PYTHON} run_tests.py --all --target RUN_ALL || die
-}

diff --git a/net-libs/stem/stem-1.7.1.ebuild b/net-libs/stem/stem-1.7.1.ebuild
deleted file mode 100644
index 7bc740131aa..000
--- a/net-libs/stem/stem-1.7.1.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=(python3_7)
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_parsing_with_example/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_parsing_with_unknown_options/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_saving_manual/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_sdist_matches_git/a \
-   \ \ \ \ return" test/integ/installation.py || die
-   sed -i -e 

[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2020-12-31 Thread Michał Górny
commit: 28829d4b1d8385ef628eb062d199642c911f4cb7
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jan  1 01:30:38 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jan  1 01:30:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28829d4b

net-libs/stem: Remove old (py3.6)

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/stem/Manifest  |  2 --
 net-libs/stem/stem-1.5.4.ebuild | 44 -
 net-libs/stem/stem-1.6.0.ebuild | 44 -
 3 files changed, 90 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index d79d7941a96..01551d0a123 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,5 +1,3 @@
-DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 
37c278eab0d7c7c305d7fcb498ff39460921ff59ea16cbe97d985c742290b8ca938218cbc7d5e4d1106ffc9f6a20461a4692afd14565698abbdfbd8015cb6f18
 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
-DIST stem-1.6.0.tar.gz 204 BLAKE2B 
10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6
 SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 
2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484
 SHA512 
10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a0889695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
 DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 
318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4
 SHA512 
a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c
 DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d

diff --git a/net-libs/stem/stem-1.5.4.ebuild b/net-libs/stem/stem-1.5.4.ebuild
deleted file mode 100644
index 7511d0f5501..000
--- a/net-libs/stem/stem-1.5.4.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=(python3_6)
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_parsing_with_example/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_parsing_with_unknown_options/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_saving_manual/a \
-   \ \ \ \ return" test/unit/manual.py || die
-   sed -i -e "/test_sdist_matches_git/a \
-   \ \ \ \ return" test/integ/installation.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   ${PYTHON} run_tests.py --all --target RUN_ALL || die
-}

diff --git a/net-libs/stem/stem-1.6.0.ebuild b/net-libs/stem/stem-1.6.0.ebuild
deleted file mode 100644
index 7511d0f5501..000
--- a/net-libs/stem/stem-1.6.0.ebuild
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-PYTHON_COMPAT=(python3_6)
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-  

[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2020-07-22 Thread Craig Andrews
commit: e35719a3919c07ea1a91dff3c6c79729fc395257
Author: Craig Andrews  gentoo  org>
AuthorDate: Wed Jul 22 17:19:10 2020 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Wed Jul 22 17:19:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e35719a3

net-libs/stem: Python 3.9 compatibility

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Craig Andrews  gentoo.org>

 net-libs/stem/stem-1.8.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/stem/stem-1.8.0-r1.ebuild 
b/net-libs/stem/stem-1.8.0-r1.ebuild
index d24b6703b46..04b29dfda34 100644
--- a/net-libs/stem/stem-1.8.0-r1.ebuild
+++ b/net-libs/stem/stem-1.8.0-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=(python3_{6,7,8} pypy3)
+PYTHON_COMPAT=(python3_{6,7,8,9} pypy3)
 DISTUTILS_USE_SETUPTOOLS=no
 
 inherit distutils-r1



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2020-04-05 Thread Andreas Sturmlechner
commit: 19744f19c5d667caa692882f171f64fb8fdeb9fb
Author: Jeffrey Lin  icurse  nl>
AuthorDate: Sun Feb 23 03:37:51 2020 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Apr  5 19:47:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19744f19

net-libs/stem: EAPI 7; add pypy3 support

Signed-off-by: Jeffrey Lin  icurse.nl>
Closes: https://github.com/gentoo/gentoo/pull/14745
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-libs/stem/{stem-1.8.0.ebuild => stem-1.8.0-r1.ebuild} | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-libs/stem/stem-1.8.0.ebuild 
b/net-libs/stem/stem-1.8.0-r1.ebuild
similarity index 93%
rename from net-libs/stem/stem-1.8.0.ebuild
rename to net-libs/stem/stem-1.8.0-r1.ebuild
index 95d26e15939..d24b6703b46 100644
--- a/net-libs/stem/stem-1.8.0.ebuild
+++ b/net-libs/stem/stem-1.8.0-r1.ebuild
@@ -1,10 +1,11 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=(python{3_6,3_7})
+EAPI=7
+PYTHON_COMPAT=(python3_{6,7,8} pypy3)
+DISTUTILS_USE_SETUPTOOLS=no
 
-inherit vcs-snapshot distutils-r1
+inherit distutils-r1
 
 DESCRIPTION="Stem is a Python controller library for Tor"
 HOMEPAGE="https://stem.torproject.org;



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2020-02-11 Thread Michał Górny
commit: 41acbca5e76c4f0b18cb553f158ca3a719cbf1a6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Feb 11 12:05:34 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Feb 11 12:16:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41acbca5

net-libs/stem: Remove py2

Signed-off-by: Michał Górny  gentoo.org>

 net-libs/stem/stem-1.5.4.ebuild | 2 +-
 net-libs/stem/stem-1.6.0.ebuild | 2 +-
 net-libs/stem/stem-1.7.0.ebuild | 2 +-
 net-libs/stem/stem-1.7.1.ebuild | 2 +-
 net-libs/stem/stem-1.8.0.ebuild | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-libs/stem/stem-1.5.4.ebuild b/net-libs/stem/stem-1.5.4.ebuild
index 456f86ed399..7511d0f5501 100644
--- a/net-libs/stem/stem-1.5.4.ebuild
+++ b/net-libs/stem/stem-1.5.4.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_6})
+PYTHON_COMPAT=(python3_6)
 
 inherit vcs-snapshot distutils-r1
 

diff --git a/net-libs/stem/stem-1.6.0.ebuild b/net-libs/stem/stem-1.6.0.ebuild
index 456f86ed399..7511d0f5501 100644
--- a/net-libs/stem/stem-1.6.0.ebuild
+++ b/net-libs/stem/stem-1.6.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_6})
+PYTHON_COMPAT=(python3_6)
 
 inherit vcs-snapshot distutils-r1
 

diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild
index 0369bc66b7b..95d26e15939 100644
--- a/net-libs/stem/stem-1.7.0.ebuild
+++ b/net-libs/stem/stem-1.7.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_6,3_7})
+PYTHON_COMPAT=(python{3_6,3_7})
 
 inherit vcs-snapshot distutils-r1
 

diff --git a/net-libs/stem/stem-1.7.1.ebuild b/net-libs/stem/stem-1.7.1.ebuild
index 0369bc66b7b..95d26e15939 100644
--- a/net-libs/stem/stem-1.7.1.ebuild
+++ b/net-libs/stem/stem-1.7.1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_6,3_7})
+PYTHON_COMPAT=(python{3_6,3_7})
 
 inherit vcs-snapshot distutils-r1
 

diff --git a/net-libs/stem/stem-1.8.0.ebuild b/net-libs/stem/stem-1.8.0.ebuild
index 0369bc66b7b..95d26e15939 100644
--- a/net-libs/stem/stem-1.8.0.ebuild
+++ b/net-libs/stem/stem-1.8.0.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_6,3_7})
+PYTHON_COMPAT=(python{3_6,3_7})
 
 inherit vcs-snapshot distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2020-01-08 Thread Anthony G. Basile
commit: 2eee4b09c9f750e05e115d6b8866b79610e1069a
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jan  8 17:11:39 2020 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jan  8 17:11:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eee4b09

net-libs/stem: version bump to 1.8.0

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile  gentoo.org>

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.8.0.ebuild | 46 +
 2 files changed, 47 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 59f5e04b4e2..d79d7941a96 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -2,3 +2,4 @@ DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 
37c278eab0d7c7c305d7fcb498ff39460921ff59e
 DIST stem-1.6.0.tar.gz 204 BLAKE2B 
10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6
 SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 
2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484
 SHA512 
10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a0889695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
 DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 
318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4
 SHA512 
a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c
+DIST stem-1.8.0.tar.gz 2853802 BLAKE2B 
a275a38e53c5a4a3771a30528fd5781c51370352dd384a77ce27b31f034bece6fef448d74008adb82d2d909104b7338b5168a1a343c799637f9e12d39028bd09
 SHA512 
aa2033567b79aef960f8321e4c6cbc28105c59d6513ff49a9f12509d8f97b1a2e8a3b04dc28abb07fad59b0f6ba66443b92bbefa0d08b26038bbaf24f7f2846d

diff --git a/net-libs/stem/stem-1.8.0.ebuild b/net-libs/stem/stem-1.8.0.ebuild
new file mode 100644
index 000..0369bc66b7b
--- /dev/null
+++ b/net-libs/stem/stem-1.8.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_6,3_7})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-vpn/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-vpn/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   sed -i -e "/test_connections_by_ss/a \
+   \ \ \ \ return" test/integ/util/connection.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2019-01-08 Thread Anthony G. Basile
commit: 37bd823f08a8c8f4d38d0c45201723ffec407b23
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Jan  9 01:42:18 2019 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Jan  9 01:42:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bd823f

net-libs/stem: version bump to 1.7.1

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.7.1.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 5471a984b99..59f5e04b4e2 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,3 +1,4 @@
 DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 
37c278eab0d7c7c305d7fcb498ff39460921ff59ea16cbe97d985c742290b8ca938218cbc7d5e4d1106ffc9f6a20461a4692afd14565698abbdfbd8015cb6f18
 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
 DIST stem-1.6.0.tar.gz 204 BLAKE2B 
10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6
 SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 
2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484
 SHA512 
10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a0889695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5
+DIST stem-1.7.1.tar.gz 2196854 BLAKE2B 
318b762390ad5f1b8a7ad49bd442841d4552cf3d6782c7c912ca8251a076baa6d01bd6f60ea2d79f96994f7c29775c09b815ee41177c638c7e4089e5f4b1b1e4
 SHA512 
a275f59bba650cb5bb151cf53fb1dd820334f9abbeae1a25e64502adc854c7f54c51bc3d6c1656b595d142fc0695ffad53aab3c57bc285421c1f4f10c9c3db4c

diff --git a/net-libs/stem/stem-1.7.1.ebuild b/net-libs/stem/stem-1.7.1.ebuild
new file mode 100644
index 000..9a38c64d97d
--- /dev/null
+++ b/net-libs/stem/stem-1.7.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-vpn/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-vpn/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   sed -i -e "/test_connections_by_ss/a \
+   \ \ \ \ return" test/integ/util/connection.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2018-11-02 Thread Craig Andrews
commit: 54a9ba62c2659c44f632ec5f6181a475928af603
Author: Craig Andrews  gentoo  org>
AuthorDate: Fri Nov  2 16:28:37 2018 +
Commit: Craig Andrews  gentoo  org>
CommitDate: Fri Nov  2 16:54:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54a9ba62

net-libs/stem: python 3.7 support

Signed-off-by: Craig Andrews  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 net-libs/stem/stem-1.7.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild
index 8b3cd202ca9..1d52757c667 100644
--- a/net-libs/stem/stem-1.7.0.ebuild
+++ b/net-libs/stem/stem-1.7.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6,3_7})
 
 inherit vcs-snapshot distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2018-10-09 Thread Anthony G. Basile
commit: 63034bb8a2e7345daf47ccd65fbb2f7a4ca4f825
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Wed Oct 10 00:13:22 2018 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Wed Oct 10 00:13:22 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63034bb8

net-libs/stem: version bump to 1.7.0

Signed-off-by: Anthony G. Basile  gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.7.0.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 8e732459bf3..5471a984b99 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,2 +1,3 @@
 DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 
37c278eab0d7c7c305d7fcb498ff39460921ff59ea16cbe97d985c742290b8ca938218cbc7d5e4d1106ffc9f6a20461a4692afd14565698abbdfbd8015cb6f18
 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
 DIST stem-1.6.0.tar.gz 204 BLAKE2B 
10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6
 SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
+DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 
2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484
 SHA512 
10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a0889695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5

diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild
new file mode 100644
index 000..8b3cd202ca9
--- /dev/null
+++ b/net-libs/stem/stem-1.7.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-vpn/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-vpn/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   sed -i -e "/test_connections_by_ss/a \
+   \ \ \ \ return" test/integ/util/connection.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2017-11-12 Thread Anthony G. Basile
commit: c6bcaf1a6140e9b803459d97dfb7f091b2419100
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Nov 12 23:23:08 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Nov 12 23:23:29 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6bcaf1a

net-libs/stem: remove older versions

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/stem/Manifest  |  3 ---
 net-libs/stem/stem-1.3.0.ebuild | 38 --
 net-libs/stem/stem-1.4.0.ebuild | 37 -
 net-libs/stem/stem-1.4.1.ebuild | 37 -
 4 files changed, 115 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index c5303a8ea35..adf201df160 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,5 +1,2 @@
-DIST stem-1.3.0.tar.bz2 1481513 SHA256 
770e370156e0e92a9862e4670ee3f4ac385742006e578608528ee16cbab9d416 SHA512 
dea65d026a27985432b291614dc3c8da7a628fad945a755abb706177864edd387c8ea96cd8358af60825b342896d57ea1daa96365efd5156bf8885e7a7aa9714
 WHIRLPOOL 
1e3d9f800ed9670a347d41c565250a42e1a166e24c55dc3a0128cd3b2c5d9a8f0e926e73338a4cdd846997911c11db5e2fa98f2b7dd5a259da523951d8bf1626
-DIST stem-1.4.0.tar.bz2 1569644 SHA256 
6c8af06a6fa9553ad4da3e397cffa42d7ddd9396a1425b2757f125e7699ef83c SHA512 
0d93355659ff04d8846133845636c0596e06331b6646a62c597c2d6156be39705ed182d480dde3e49653c4b5341f663e4da83610110383d9d8c395ac1e473191
 WHIRLPOOL 
3eb30be403980a6a446fa0fe666fe628ef1f732e5a7da6ae3db323e4053c7df866142faad979a69cfeecb031077896e4883c58fdb6b3db84f7c5502141b4df7c
-DIST stem-1.4.1.tar.bz2 1570151 SHA256 
f2c460df59d63f60e5046221994be655a361c31b81cda0120e594999587869e8 SHA512 
40ed898efd55d749dad9e02ff00cc4770f588f9d0fd40995d3a0ed4d13ac3bd7cf1fba011a01729668be30ef9627bd6b140d4fbd76cedb5fa5793d9750aa48b7
 WHIRLPOOL 
2a52c1bc4a0acb18ebaf12654f0f4a8c167992f994336db1c16d6e3d49039007a5832fb0e80ac78ba82e789144bb374f7ce1105bba3e5edd14e99e83c2514ebf
 DIST stem-1.5.4.tar.gz 1915722 SHA256 
3649133037ee186e80115650094a2fb2f60a23f006ebddab34d9039be9b2f7c8 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
 WHIRLPOOL 
df5e1449fc2f7454b5288ed8e02e09388bb47792bae4c78ace8f3046d65967295b601cf28c4c52159663eb285c37d4542ee0b81815b0fad10faeda4023710b64
 DIST stem-1.6.0.tar.gz 204 SHA256 
d7fe1fb13ed5a94d610b5ad77e9f1b3404db0ca0586ded7a34afd323e3b849ed SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 WHIRLPOOL 
72adead14d41fe67d1d13bd64c3507bf6e1f649ce51c55711d0ba5b1e9b031a65ec0ea96bb9b92e1ff3088ac0ba9663ac87142c07c2cc90a1215c8a59996e6bd

diff --git a/net-libs/stem/stem-1.3.0.ebuild b/net-libs/stem/stem-1.3.0.ebuild
deleted file mode 100644
index 2a386416169..000
--- a/net-libs/stem/stem-1.3.0.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-# Python3.3 fails to execute the test script
-PYTHON_COMPAT=(python2_7)
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="test"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
-
-python_prepare_all() {
-   # Disable failing test
-   sed -i -e "/test_expand_path/a \
-   \ \ \ \ return" test/integ/util/system.py || die
-   sed -i -e "/test_get_connections_by_ss/,+1d"\
-   test/integ/util/connection.py || die
-   distutils-r1_python_prepare_all
-}
-
-python_test() {
-   ${PYTHON} run_tests.py --all --target RUN_ALL || die
-}

diff --git a/net-libs/stem/stem-1.4.0.ebuild b/net-libs/stem/stem-1.4.0.ebuild
deleted file mode 100644
index 63e61e8dbcd..000
--- a/net-libs/stem/stem-1.4.0.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=(python{2_7,3_4})
-
-inherit vcs-snapshot distutils-r1
-
-DESCRIPTION="Stem is a Python controller library for Tor"
-HOMEPAGE="https://stem.torproject.org;
-SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
-IUSE="test"
-
-DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
-   net-vpn/tor )
-   dev-python/setuptools[${PYTHON_USEDEP}]"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( 

[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2017-11-12 Thread Anthony G. Basile
commit: 062ecd1ced13726f92ff98ba0199f370a1b1
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Nov 12 23:22:14 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Nov 12 23:23:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=062e

net-libs/stem: version bump 1.6.0

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.6.0.ebuild | 43 +
 2 files changed, 44 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 610aa84ef73..c5303a8ea35 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -2,3 +2,4 @@ DIST stem-1.3.0.tar.bz2 1481513 SHA256 
770e370156e0e92a9862e4670ee3f4ac385742006
 DIST stem-1.4.0.tar.bz2 1569644 SHA256 
6c8af06a6fa9553ad4da3e397cffa42d7ddd9396a1425b2757f125e7699ef83c SHA512 
0d93355659ff04d8846133845636c0596e06331b6646a62c597c2d6156be39705ed182d480dde3e49653c4b5341f663e4da83610110383d9d8c395ac1e473191
 WHIRLPOOL 
3eb30be403980a6a446fa0fe666fe628ef1f732e5a7da6ae3db323e4053c7df866142faad979a69cfeecb031077896e4883c58fdb6b3db84f7c5502141b4df7c
 DIST stem-1.4.1.tar.bz2 1570151 SHA256 
f2c460df59d63f60e5046221994be655a361c31b81cda0120e594999587869e8 SHA512 
40ed898efd55d749dad9e02ff00cc4770f588f9d0fd40995d3a0ed4d13ac3bd7cf1fba011a01729668be30ef9627bd6b140d4fbd76cedb5fa5793d9750aa48b7
 WHIRLPOOL 
2a52c1bc4a0acb18ebaf12654f0f4a8c167992f994336db1c16d6e3d49039007a5832fb0e80ac78ba82e789144bb374f7ce1105bba3e5edd14e99e83c2514ebf
 DIST stem-1.5.4.tar.gz 1915722 SHA256 
3649133037ee186e80115650094a2fb2f60a23f006ebddab34d9039be9b2f7c8 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
 WHIRLPOOL 
df5e1449fc2f7454b5288ed8e02e09388bb47792bae4c78ace8f3046d65967295b601cf28c4c52159663eb285c37d4542ee0b81815b0fad10faeda4023710b64
+DIST stem-1.6.0.tar.gz 204 SHA256 
d7fe1fb13ed5a94d610b5ad77e9f1b3404db0ca0586ded7a34afd323e3b849ed SHA512 
499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c
 WHIRLPOOL 
72adead14d41fe67d1d13bd64c3507bf6e1f649ce51c55711d0ba5b1e9b031a65ec0ea96bb9b92e1ff3088ac0ba9663ac87142c07c2cc90a1215c8a59996e6bd

diff --git a/net-libs/stem/stem-1.6.0.ebuild b/net-libs/stem/stem-1.6.0.ebuild
new file mode 100644
index 000..b61e4b7f54e
--- /dev/null
+++ b/net-libs/stem/stem-1.6.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-vpn/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-vpn/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2017-07-12 Thread Pacho Ramos
commit: 6cbfd8dd14c0174a99270e31c3e117af1d260a9e
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 12 13:43:41 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 12 14:42:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cbfd8dd

net-libs/stem: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-libs/stem/stem-1.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/stem/stem-1.5.4.ebuild b/net-libs/stem/stem-1.5.4.ebuild
index 5dbeb5e8928..b61e4b7f54e 100644
--- a/net-libs/stem/stem-1.5.4.ebuild
+++ b/net-libs/stem/stem-1.5.4.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
-PYTHON_COMPAT=(python{2_7,3_4})
+PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6})
 
 inherit vcs-snapshot distutils-r1
 



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2017-04-28 Thread Manuel Rüger
commit: 9b8e4ff202441a8efce900120131e6a75d9ff234
Author: Manuel Rüger  gentoo  org>
AuthorDate: Fri Apr 28 20:50:52 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Fri Apr 28 20:52:04 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b8e4ff2

net-libs/stem: Remove myself as maintainer

Package-Manager: Portage-2.3.5, Repoman-2.3.1

 net-libs/stem/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/net-libs/stem/metadata.xml b/net-libs/stem/metadata.xml
index 37cb72b82d4..4d79f45f288 100644
--- a/net-libs/stem/metadata.xml
+++ b/net-libs/stem/metadata.xml
@@ -2,10 +2,6 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
   
-mr...@gentoo.org
-Manuel Rüger
-  
-  
 bluen...@gentoo.org
 Anthony G. Basile
   



[gentoo-commits] repo/gentoo:master commit in: net-libs/stem/

2017-02-18 Thread Anthony G. Basile
commit: e8d2f4bb88dde659b736bbb6e5b8170940510049
Author: Anthony G. Basile  gentoo  org>
AuthorDate: Sun Feb 19 01:15:08 2017 +
Commit: Anthony G. Basile  gentoo  org>
CommitDate: Sun Feb 19 01:16:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d2f4bb

net-libs/stem: version bump to 1.5.4

Package-Manager: portage-2.3.3

 net-libs/stem/Manifest  |  1 +
 net-libs/stem/stem-1.5.4.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 1767ea3133..610aa84ef7 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,3 +1,4 @@
 DIST stem-1.3.0.tar.bz2 1481513 SHA256 
770e370156e0e92a9862e4670ee3f4ac385742006e578608528ee16cbab9d416 SHA512 
dea65d026a27985432b291614dc3c8da7a628fad945a755abb706177864edd387c8ea96cd8358af60825b342896d57ea1daa96365efd5156bf8885e7a7aa9714
 WHIRLPOOL 
1e3d9f800ed9670a347d41c565250a42e1a166e24c55dc3a0128cd3b2c5d9a8f0e926e73338a4cdd846997911c11db5e2fa98f2b7dd5a259da523951d8bf1626
 DIST stem-1.4.0.tar.bz2 1569644 SHA256 
6c8af06a6fa9553ad4da3e397cffa42d7ddd9396a1425b2757f125e7699ef83c SHA512 
0d93355659ff04d8846133845636c0596e06331b6646a62c597c2d6156be39705ed182d480dde3e49653c4b5341f663e4da83610110383d9d8c395ac1e473191
 WHIRLPOOL 
3eb30be403980a6a446fa0fe666fe628ef1f732e5a7da6ae3db323e4053c7df866142faad979a69cfeecb031077896e4883c58fdb6b3db84f7c5502141b4df7c
 DIST stem-1.4.1.tar.bz2 1570151 SHA256 
f2c460df59d63f60e5046221994be655a361c31b81cda0120e594999587869e8 SHA512 
40ed898efd55d749dad9e02ff00cc4770f588f9d0fd40995d3a0ed4d13ac3bd7cf1fba011a01729668be30ef9627bd6b140d4fbd76cedb5fa5793d9750aa48b7
 WHIRLPOOL 
2a52c1bc4a0acb18ebaf12654f0f4a8c167992f994336db1c16d6e3d49039007a5832fb0e80ac78ba82e789144bb374f7ce1105bba3e5edd14e99e83c2514ebf
+DIST stem-1.5.4.tar.gz 1915722 SHA256 
3649133037ee186e80115650094a2fb2f60a23f006ebddab34d9039be9b2f7c8 SHA512 
1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7
 WHIRLPOOL 
df5e1449fc2f7454b5288ed8e02e09388bb47792bae4c78ace8f3046d65967295b601cf28c4c52159663eb285c37d4542ee0b81815b0fad10faeda4023710b64

diff --git a/net-libs/stem/stem-1.5.4.ebuild b/net-libs/stem/stem-1.5.4.ebuild
new file mode 100644
index 00..bc86ace4f3
--- /dev/null
+++ b/net-libs/stem/stem-1.5.4.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=(python{2_7,3_4})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org;
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+   net-misc/tor )
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-misc/tor"
+
+DOCS=( 
docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst}
 )
+
+python_prepare_all() {
+   # Disable failing test
+   sed -i -e "/test_expand_path/a \
+   \ \ \ \ return" test/integ/util/system.py || die
+   sed -i -e "/test_parsing_with_example/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_parsing_with_unknown_options/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_saving_manual/a \
+   \ \ \ \ return" test/unit/manual.py || die
+   sed -i -e "/test_sdist_matches_git/a \
+   \ \ \ \ return" test/integ/installation.py || die
+   distutils-r1_python_prepare_all
+}
+
+python_test() {
+   ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}