commit:     e6039ae29a0433bc4c604a5acd7b7e3a60d0937b
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Thu Jun  6 00:33:17 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jun  6 01:55:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6039ae2

dev-python/magic-wormhole-mailbox-server: add 0.4.1_p20231111

Upgrade to new python 3.12 compatible snapshot. Thanks, versioneer.
Sigh. And more sigh. And yet more sigh.

Buggy: https://github.com/magic-wormhole/magic-wormhole-mailbox-server/pull/42
Closes: https://bugs.gentoo.org/929467
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/magic-wormhole-mailbox-server/Manifest  |  1 +
 ...-wormhole-mailbox-server-0.4.1_p20231111.ebuild | 31 ++++++++++++++++++++++
 2 files changed, 32 insertions(+)

diff --git a/dev-python/magic-wormhole-mailbox-server/Manifest 
b/dev-python/magic-wormhole-mailbox-server/Manifest
index e8cc680fa013..e81188bf7051 100644
--- a/dev-python/magic-wormhole-mailbox-server/Manifest
+++ b/dev-python/magic-wormhole-mailbox-server/Manifest
@@ -1 +1,2 @@
 DIST magic-wormhole-mailbox-server-0.4.1_p20230525.gh.tar.gz 69218 BLAKE2B 
10c85d41ebd3b9e4918ca6d85f7f69dfe945f3e3282fb83ab5c846d3a633b897a48ee3c91476292bf048fe56f39d3e7fc8b721a74ff56c060ef660d3b47ea122
 SHA512 
69ff60637092443fa458b4d5def9e99c4eb942046b6ea5023b63a85b4562a23fc0fc8e4137c1a59c0192e6820af60e75c27f616c70d75ee6e5afabcf52d81bd8
+DIST magic-wormhole-mailbox-server-0.4.1_p20231111.gh.tar.gz 73753 BLAKE2B 
91a6059f19aafe74416df7bf43dbd27ff333950bf315e0e5c1ab83b696a6ea074d239db4127a6aaf171cc1a31d566439508dafbd8d4eba52729af0c981325f58
 SHA512 
4d0f2a8a74a7ba2c3f0635af4d4e44485df81858207eba1e3d0c0c1dea7554dedb653ee69ea82e220f0fedfe553e461feb047f3faa83cff613f0d9745a85aed9

diff --git 
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
new file mode 100644
index 000000000000..18ecc3e6ef95
--- /dev/null
+++ 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+
+# Version 0.4.1 with additional upstream fixes for python 3.12 support
+COMMIT_SHA1="30ecb6e3f6f487c915e7ff0acdf2e630cbe17dc8"
+
+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/";
+SRC_URI="https://github.com/magic-wormhole/${PN}/archive/${COMMIT_SHA1}.tar.gz 
-> ${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+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}]
+       )"
+
+distutils_enable_tests pytest

Reply via email to