commit:     8715822c57cf2a409b1515413fa564da5ccf3303
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Fri May 26 08:05:00 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Fri May 26 09:02:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8715822c

dev-python/magic-wormhole-mailbox-server: QA

 - add missing test dependency on dev-python/mock
 - as requested in bug #907117, do not use vcs-snapshot - even though
   this makes for much nicer paths when using commit snapshots...

Closes: https://bugs.gentoo.org/907199
Bug: https://bugs.gentoo.org/907117
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild         | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git 
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
index f5769517ec9f..47035e89b80c 100644
--- 
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
+++ 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
@@ -9,7 +9,7 @@ DISTUTILS_USE_PEP517=setuptools
 # Version 0.4.1 with additional upstream fixes for python 3.11 support
 COMMIT_SHA1="39672ae95a2635ba9daaba62f483aa75bfd80a22"
 
-inherit distutils-r1 vcs-snapshot
+inherit distutils-r1
 
 DESCRIPTION="Mailbox server for magic-wormhole"
 HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ 
https://pypi.org/project/magic-wormhole-mailbox-server/";
@@ -18,12 +18,15 @@ 
SRC_URI="https://github.com/magic-wormhole/${PN}/archive/${COMMIT_SHA1}.tar.gz -
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-S="${WORKDIR}/${P}.gh"
+S="${WORKDIR}/magic-wormhole-mailbox-server-${COMMIT_SHA1}"
 
 RDEPEND="
        dev-python/autobahn[${PYTHON_USEDEP}]
        dev-python/twisted[ssl,${PYTHON_USEDEP}]"
 
-BDEPEND="test? ( dev-python/treq[${PYTHON_USEDEP}] )"
+BDEPEND="test? (
+       dev-python/mock[${PYTHON_USEDEP}]
+       dev-python/treq[${PYTHON_USEDEP}]
+       )"
 
 distutils_enable_tests pytest

Reply via email to