commit:     9feb0443c2c093f0a1ab35079cc250c0f67c7bcb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 11:41:21 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 11:52:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9feb0443

dev-python/magic-wormhole-transit-relay: Unbundle versioneer

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../magic-wormhole-transit-relay-0.2.1.ebuild      | 24 ++++++++++++++++++----
 1 file 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
+}

Reply via email to