summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2023-05-24 17:23:11 -0500
committerMatthias Maier <tamiko@gentoo.org>2023-05-25 18:12:23 -0500
commit06217f827264db4a132d3f985f9fb354d669eae0 (patch)
treeb6d756c3aa407bb7d5a25f5a73080207d18b20b9 /dev-python/magic-wormhole-transit-relay
parentdev-python/magic-wormhole-mailbox-server: new package, add 0.4.1_p20230525 (diff)
downloadgentoo-06217f827264db4a132d3f985f9fb354d669eae0.tar.gz
gentoo-06217f827264db4a132d3f985f9fb354d669eae0.tar.bz2
gentoo-06217f827264db4a132d3f985f9fb354d669eae0.zip
dev-python/magic-wormhole-transit-relay: new package, add 0.2.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@gentoo.org>
Diffstat (limited to 'dev-python/magic-wormhole-transit-relay')
-rw-r--r--dev-python/magic-wormhole-transit-relay/Manifest1
-rw-r--r--dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild28
-rw-r--r--dev-python/magic-wormhole-transit-relay/metadata.xml13
3 files changed, 42 insertions, 0 deletions
diff --git a/dev-python/magic-wormhole-transit-relay/Manifest b/dev-python/magic-wormhole-transit-relay/Manifest
new file mode 100644
index 000000000000..05dd4669ab5a
--- /dev/null
+++ b/dev-python/magic-wormhole-transit-relay/Manifest
@@ -0,0 +1 @@
+DIST magic-wormhole-transit-relay-0.2.1_p20230525.gh.tar.gz 55549 BLAKE2B 36184ce5034f8a5b684fb82a9e6debd1f945a119c9daa155e5bec0041dd986668573b7843efde8bbce2dbf2630774b7a195e28443c070760e234e0214c51dcc3 SHA512 c8270b8daebaf2d6403f0cbc6ff8a5c37fec6fd28ce0d441c834f5bcfcb1e0dedfb953acdf9711b6077c0e5fce3fba37447f2c29ed424ba64d8c2a9519b5eed8
diff --git a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
new file mode 100644
index 000000000000..aa0b710e9a36
--- /dev/null
+++ b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1_p20230525.ebuild
@@ -0,0 +1,28 @@
+# 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.2.1 with additional upstream fixes for python 3.11 support and
+# miscelleanous bufixes
+COMMIT_SHA1="db48e915311d1d10c748bb5299e2345c74e90a1b"
+
+inherit distutils-r1 vcs-snapshot
+
+DESCRIPTION="Transit relay server for magic-wormhole"
+HOMEPAGE="https://magic-wormhole.readthedocs.io/en/latest/ https://pypi.org/project/magic-wormhole-transit-relay/"
+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}]"
+
+distutils_enable_tests pytest
diff --git a/dev-python/magic-wormhole-transit-relay/metadata.xml b/dev-python/magic-wormhole-transit-relay/metadata.xml
new file mode 100644
index 000000000000..ddffeecb78a5
--- /dev/null
+++ b/dev-python/magic-wormhole-transit-relay/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>tamiko@gentoo.org</email>
+ <name>Matthias Maier</name>
+ </maintainer>
+ <stabilize-allarches/>
+ <upstream>
+ <remote-id type="pypi">magic-wormhole-transit-relay</remote-id>
+ <remote-id type="github">magic-wormhole/magic-wormhole-transit-relay</remote-id>
+ </upstream>
+</pkgmetadata>