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>
This commit is contained in:
Matthias Maier
2023-05-24 17:23:11 -05:00
parent b55e0b4edf
commit 06217f8272
3 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST magic-wormhole-transit-relay-0.2.1_p20230525.gh.tar.gz 55549 BLAKE2B 36184ce5034f8a5b684fb82a9e6debd1f945a119c9daa155e5bec0041dd986668573b7843efde8bbce2dbf2630774b7a195e28443c070760e234e0214c51dcc3 SHA512 c8270b8daebaf2d6403f0cbc6ff8a5c37fec6fd28ce0d441c834f5bcfcb1e0dedfb953acdf9711b6077c0e5fce3fba37447f2c29ed424ba64d8c2a9519b5eed8

View File

@@ -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

View File

@@ -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>