public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/stem/files/, net-libs/stem/
Date: Wed,  6 Nov 2024 10:47:15 +0000 (UTC)	[thread overview]
Message-ID: <1730890012.c968a52d1ea7b75b4f11c1752cb65a7957089482.sam@gentoo> (raw)

commit:     c968a52d1ea7b75b4f11c1752cb65a7957089482
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov  6 10:37:47 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov  6 10:46:52 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c968a52d

net-libs/stem: drop 1.8.1

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/stem/Manifest                             |  1 -
 ...-replace-all-usages-of-inspect.getargspec.patch | 53 ----------------------
 net-libs/stem/stem-1.8.1.ebuild                    | 50 --------------------
 3 files changed, 104 deletions(-)

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
index 8e45a8395e6e..cff536f1e6be 100644
--- a/net-libs/stem/Manifest
+++ b/net-libs/stem/Manifest
@@ -1,2 +1 @@
-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/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
deleted file mode 100644
index 608fe5f5224f..000000000000
--- a/net-libs/stem/files/1.8.0-replace-all-usages-of-inspect.getargspec.patch
+++ /dev/null
@@ -1,53 +0,0 @@
-From 6497514ea89ba44d404b661d495a8cd2649ac628 Mon Sep 17 00:00:00 2001
-From: Juan Orti Alcaine <jortialc@redhat.com>
-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/stem-1.8.1.ebuild b/net-libs/stem/stem-1.8.1.ebuild
deleted file mode 100644
index 6cd30508aeaa..000000000000
--- a/net-libs/stem/stem-1.8.1.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..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 )"
-
-DEPEND="test? ( dev-python/pyflakes[${PYTHON_USEDEP}]
-	net-vpn/tor )"
-
-RDEPEND="net-vpn/tor"
-
-DOCS=( docs/{_static,_templates,api,tutorials,{api,change_log,contents,download,faq,index,tutorials}.rst} )
-
-src_prepare() {
-	default
-
-	# https://bugzilla.redhat.com/2021902
-	eapply "${FILESDIR}/1.8.0-replace-all-usages-of-inspect.getargspec.patch"
-
-	# https://github.com/torproject/stem/issues/53
-	eapply "${FILESDIR}/${PV}-Add-an-exclude-test-argument.patch"
-
-	# https://github.com/torproject/stem/issues/56
-	sed -i '/MOCK_VERSION/d' run_tests.py || die
-}
-
-python_test() {
-	# Disable failing test
-	${PYTHON} run_tests.py --all --target RUN_ALL \
-		--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 \
-		|| die
-
-}


             reply	other threads:[~2024-11-06 10:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-06 10:47 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-22  7:42 [gentoo-commits] repo/gentoo:master commit in: net-libs/stem/files/, net-libs/stem/ Sam James

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1730890012.c968a52d1ea7b75b4f11c1752cb65a7957089482.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox