From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B82C1158008 for ; Mon, 12 Jun 2023 11:18:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C11DE0894; Mon, 12 Jun 2023 11:18:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 72692E0894 for ; Mon, 12 Jun 2023 11:18:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66B5134100D for ; Mon, 12 Jun 2023 11:17:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD3D9A8A for ; Mon, 12 Jun 2023 11:17:57 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1686568550.e001732ca95030774eb78c68a4717ecbc7e74973.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/stem/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/stem/Manifest net-libs/stem/stem-1.8.2.ebuild X-VCS-Directories: net-libs/stem/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: e001732ca95030774eb78c68a4717ecbc7e74973 X-VCS-Branch: master Date: Mon, 12 Jun 2023 11:17:57 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fae8792b-7378-48f8-9586-2ef97a40f074 X-Archives-Hash: 36c838c2f74c09e53b8b154bfcd6fb6e commit: e001732ca95030774eb78c68a4717ecbc7e74973 Author: Sam James gentoo org> AuthorDate: Mon Jun 12 11:15:41 2023 +0000 Commit: Sam James gentoo 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 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}" +}