summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-08-10 13:41:21 +0200
committerMichał Górny <mgorny@gentoo.org>2024-08-10 13:52:22 +0200
commit9feb0443c2c093f0a1ab35079cc250c0f67c7bcb (patch)
tree2b032dd0b15b16ff730dfae39e4fc17c40de3a23 /dev-python/magic-wormhole-transit-relay
parentdev-python/magic-wormhole-transit-relay: Remove snapshots (diff)
downloadgentoo-9feb0443c2c093f0a1ab35079cc250c0f67c7bcb.tar.gz
gentoo-9feb0443c2c093f0a1ab35079cc250c0f67c7bcb.tar.bz2
gentoo-9feb0443c2c093f0a1ab35079cc250c0f67c7bcb.zip
dev-python/magic-wormhole-transit-relay: Unbundle versioneer
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/magic-wormhole-transit-relay')
-rw-r--r--dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild24
1 files changed, 20 insertions, 4 deletions
diff --git a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
index 789ae55a894a..2f638b7ecad1 100644
--- a/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
+++ b/dev-python/magic-wormhole-transit-relay/magic-wormhole-transit-relay-0.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,8 +9,15 @@ DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
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/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
+HOMEPAGE="
+ https://magic-wormhole.readthedocs.io/en/latest/
+ https://github.com/magic-wormhole/magic-wormhole-transit-relay/
+ https://pypi.org/project/magic-wormhole-transit-relay/
+"
+SRC_URI="
+ https://github.com/magic-wormhole/magic-wormhole-transit-relay/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
LICENSE="MIT"
SLOT="0"
@@ -18,6 +25,15 @@ KEYWORDS="~amd64 ~arm64 ~x86"
RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
- dev-python/twisted[ssl,${PYTHON_USEDEP}]"
+ dev-python/twisted[ssl,${PYTHON_USEDEP}]
+"
+BDEPEND="
+ dev-python/versioneer[${PYTHON_USEDEP}]
+"
distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+ rm versioneer.py || die
+}