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 DA223158021 for ; Sat, 15 Oct 2022 14:10:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21810E0930; Sat, 15 Oct 2022 14:10:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 07E6CE0930 for ; Sat, 15 Oct 2022 14:10:26 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC4FD340F81 for ; Sat, 15 Oct 2022 14:10:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A5535F6 for ; Sat, 15 Oct 2022 14:10:23 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1665843014.67b53caae39695852bb3332680262b78f18e5244.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/spur/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/spur/Manifest dev-python/spur/spur-0.3.22-r1.ebuild X-VCS-Directories: dev-python/spur/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 67b53caae39695852bb3332680262b78f18e5244 X-VCS-Branch: master Date: Sat, 15 Oct 2022 14:10:23 +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: d2aee384-6c6f-4470-ba73-faaf61915842 X-Archives-Hash: c0f84124eafa034f8ab860e900f19ed1 commit: 67b53caae39695852bb3332680262b78f18e5244 Author: Andrew Ammerlaan gentoo org> AuthorDate: Sat Oct 15 14:06:43 2022 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Oct 15 14:10:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67b53caa dev-python/spur: update EAPI 7 -> 8, pep517, add py3_{10,11}, nose2pytest Signed-off-by: Andrew Ammerlaan gentoo.org> dev-python/spur/Manifest | 1 + dev-python/spur/spur-0.3.22-r1.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/dev-python/spur/Manifest b/dev-python/spur/Manifest index 8ffdb4654927..d2a021e7c22e 100644 --- a/dev-python/spur/Manifest +++ b/dev-python/spur/Manifest @@ -1 +1,2 @@ +DIST spur-0.3.22-nose2pytest.diff 31953 BLAKE2B 6ff1ab74215df036101720ca7b1ed5c7f0f9e6dc000a55175da85024d771354cad33d967c7d5ce63bf47dc2009d82147d3da8091a8b605176040f1cef274429e SHA512 ed8617021fe3ea43d8e53dc601b3778026f20e472e7bea2ee9a7565ccc4568a29cb669d7892cb0e16afeb64cb04d0f3973b85a151b20e94ef7b7df4210b17f9d DIST spur.py-0.3.22.gh.tar.gz 17760 BLAKE2B 676484e73fa38ebcd3bcc2ace21853590b652d0ec2dc31f7635a55a8bbb213e559fbdd7b70e545091e7e28e6000862ef45eba748e13c546b765756b41c352028 SHA512 36518a080d3fff97fdab5af8e7e3045c58ad6b1acad9fb79e11da688d484565ee4d50868f3c3ee10299e135f2c01bd35348256df7bb1b4f6200aa175cafc7f0a diff --git a/dev-python/spur/spur-0.3.22-r1.ebuild b/dev-python/spur/spur-0.3.22-r1.ebuild new file mode 100644 index 000000000000..3ae202674b5d --- /dev/null +++ b/dev-python/spur/spur-0.3.22-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +MY_P=spur.py-${PV} +DESCRIPTION="Run commands locally or over SSH using the same interface" +HOMEPAGE="https://github.com/mwilliamson/spur.py" +SRC_URI=" + https://github.com/mwilliamson/spur.py/archive/${PV}.tar.gz + -> ${MY_P}.gh.tar.gz + https://dev.gentoo.org/~andrewammerlaan/${P}-nose2pytest.diff +" +S="${WORKDIR}/${MY_P}" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/paramiko[${PYTHON_USEDEP}] +" + +PATCHES=( + # https://github.com/mwilliamson/spur.py/pull/95 + "${DISTDIR}/${P}-nose2pytest.diff" +) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # TODO: set up a local SSH server? + rm tests/{test_ssh,testing}.py || die +}