diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 19:51:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-15 19:51:12 +0100 |
commit | ca144cbf71b2faf598564847378fa40a0090d67c (patch) | |
tree | d9dc05cd474f9feb1649b145b41e453bbebc1ad4 /dev-python/spur | |
parent | 7b0230b9f0a5cbd2779e7b25d57df8c33b6d0a88 (diff) |
gentoo auto-resync : 15:10:2022 - 19:51:12
Diffstat (limited to 'dev-python/spur')
-rw-r--r-- | dev-python/spur/Manifest | 2 | ||||
-rw-r--r-- | dev-python/spur/spur-0.3.22-r1.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/spur/Manifest b/dev-python/spur/Manifest index 7fa3af3f0633..668de22fa54a 100644 --- a/dev-python/spur/Manifest +++ b/dev-python/spur/Manifest @@ -1,3 +1,5 @@ +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 +EBUILD spur-0.3.22-r1.ebuild 902 BLAKE2B 07a6a0597a759296dfbeb9b36977154541b447b9735e989e0cea7f3a6413dd27e31e6ad8d95f9e246bd2263ddd4439f9be77b9e4ebce8b23858ad8b7359394c5 SHA512 2037f58c6f88da3e88d6f060c16d0acbb3976c614bbf086b5ec81e06aa8d54c31d9e59f1e1979fcfec35c9e08d37f8365d5c07506b323e6e3b8efcd8f427673d EBUILD spur-0.3.22.ebuild 1195 BLAKE2B 3b9c00dbf50ecac6ac5c4ebac350b4897bf9bbbe2c55f1b20675fc156cbf68f66b852a71a2a015c2168fbe8ea33d638095fb31e75a81e6fa5dc0b4756ce5b660 SHA512 77ee31dee19770962a3296d398925963ac35ce5b5c6a894c0b14ea1fcbd8e6c72802f4fc823ff5b0c602f2dfecbde874f11b51ad5a5d1ba85747efe58fcb76e4 MISC metadata.xml 310 BLAKE2B 79198594601ed73656452cab90b2989e68ce1bb1ee3f93fa0b68a99e5952122244426f6dd8e5bed3d85adcdc6540ebec2d2b7e98c36c1f88762a876af18c7a90 SHA512 11b496bc054b786a938911ef5c5813168872af2646fa187bd8fbb45555f30d192207befa6e633033e94d841d1e7ef291b25243d13860b4bf0a66d8cc76565419 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 +} |