commit:     b55e0b4edfc03e6112d96f9358eba57a491d30f0
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Wed May 24 22:36:49 2023 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Thu May 25 23:12:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b55e0b4e

dev-python/magic-wormhole-mailbox-server: new package, add 0.4.1_p20230525

Revision:
  - move to latest upstream patches for python 3.11 support
  - enable testsuite
  - verified that the package installs cleanly for 3.10 and 3.11

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

 dev-python/magic-wormhole-mailbox-server/Manifest  |  1 +
 ...-wormhole-mailbox-server-0.4.1_p20230525.ebuild | 29 ++++++++++++++++++++++
 .../magic-wormhole-mailbox-server/metadata.xml     | 13 ++++++++++
 3 files changed, 43 insertions(+)

diff --git a/dev-python/magic-wormhole-mailbox-server/Manifest 
b/dev-python/magic-wormhole-mailbox-server/Manifest
new file mode 100644
index 000000000000..e8cc680fa013
--- /dev/null
+++ b/dev-python/magic-wormhole-mailbox-server/Manifest
@@ -0,0 +1 @@
+DIST magic-wormhole-mailbox-server-0.4.1_p20230525.gh.tar.gz 69218 BLAKE2B 
10c85d41ebd3b9e4918ca6d85f7f69dfe945f3e3282fb83ab5c846d3a633b897a48ee3c91476292bf048fe56f39d3e7fc8b721a74ff56c060ef660d3b47ea122
 SHA512 
69ff60637092443fa458b4d5def9e99c4eb942046b6ea5023b63a85b4562a23fc0fc8e4137c1a59c0192e6820af60e75c27f616c70d75ee6e5afabcf52d81bd8

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
new file mode 100644
index 000000000000..f5769517ec9f
--- /dev/null
+++ 
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20230525.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+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
+
+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 ~x86"
+S="${WORKDIR}/${P}.gh"
+
+RDEPEND="
+       dev-python/autobahn[${PYTHON_USEDEP}]
+       dev-python/twisted[ssl,${PYTHON_USEDEP}]"
+
+BDEPEND="test? ( dev-python/treq[${PYTHON_USEDEP}] )"
+
+distutils_enable_tests pytest

diff --git a/dev-python/magic-wormhole-mailbox-server/metadata.xml 
b/dev-python/magic-wormhole-mailbox-server/metadata.xml
new file mode 100644
index 000000000000..728440f94096
--- /dev/null
+++ b/dev-python/magic-wormhole-mailbox-server/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>tam...@gentoo.org</email>
+               <name>Matthias Maier</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="pypi">magic-wormhole-mailbox-server</remote-id>
+               <remote-id 
type="github">magic-wormhole/magic-wormhole-mailbox-server</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to