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/
Date: Mon, 12 Jun 2023 11:17:57 +0000 (UTC)	[thread overview]
Message-ID: <1686568550.e001732ca95030774eb78c68a4717ecbc7e74973.sam@gentoo> (raw)

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

net-libs/stem: add 1.8.2

Signed-off-by: Sam James <sam <AT> 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 000000000000..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}"
+}


             reply	other threads:[~2023-06-12 11:18 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-12 11:17 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-06 10:47 [gentoo-commits] repo/gentoo:master commit in: net-libs/stem/ Sam James
2024-05-17 13:41 Craig Andrews
2023-08-16 19:17 Sam James
2023-05-20  7:33 Michał Górny
2023-02-22  7:46 Sam James
2023-02-22  7:42 Sam James
2023-02-22  7:42 Sam James
2023-02-17  7:15 Sam James
2022-03-06  0:00 Sam James
2021-12-18 18:14 Craig Andrews
2021-12-18 17:43 Craig Andrews
2021-05-31 20:53 Michał Górny
2021-01-01  1:34 Michał Górny
2020-07-22 17:24 Craig Andrews
2020-04-05 19:47 Andreas Sturmlechner
2020-02-11 12:16 Michał Górny
2020-01-08 17:11 Anthony G. Basile
2019-01-09  1:42 Anthony G. Basile
2018-11-02 16:54 Craig Andrews
2018-10-10  0:13 Anthony G. Basile
2017-11-12 23:23 Anthony G. Basile
2017-11-12 23:23 Anthony G. Basile
2017-07-12 14:43 Pacho Ramos
2017-04-28 20:52 Manuel Rüger
2017-02-19  1:16 Anthony G. Basile

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=1686568550.e001732ca95030774eb78c68a4717ecbc7e74973.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