commit: 98f63ffc73aea6b5670bc88eb430c5d59adaf4e4
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 13:05:24 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Aug 10 13:20:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f63ffc
dev-python/magic-wormhole-mailbox-server: Cleanup
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/magic-wormhole-mailbox-server/Manifest | 2 +-
...-wormhole-mailbox-server-0.4.1_p20231111.ebuild | 31 ++++++++++++++--------
2 files changed, 21 insertions(+), 12 deletions(-)
diff --git a/dev-python/magic-wormhole-mailbox-server/Manifest
b/dev-python/magic-wormhole-mailbox-server/Manifest
index 500d3fb0e482..fa193a2b9f1a 100644
--- a/dev-python/magic-wormhole-mailbox-server/Manifest
+++ b/dev-python/magic-wormhole-mailbox-server/Manifest
@@ -1 +1 @@
-DIST magic-wormhole-mailbox-server-0.4.1_p20231111.gh.tar.gz 73753 BLAKE2B
91a6059f19aafe74416df7bf43dbd27ff333950bf315e0e5c1ab83b696a6ea074d239db4127a6aaf171cc1a31d566439508dafbd8d4eba52729af0c981325f58
SHA512
4d0f2a8a74a7ba2c3f0635af4d4e44485df81858207eba1e3d0c0c1dea7554dedb653ee69ea82e220f0fedfe553e461feb047f3faa83cff613f0d9745a85aed9
+DIST
magic-wormhole-mailbox-server-30ecb6e3f6f487c915e7ff0acdf2e630cbe17dc8.gh.tar.gz
73753 BLAKE2B
91a6059f19aafe74416df7bf43dbd27ff333950bf315e0e5c1ab83b696a6ea074d239db4127a6aaf171cc1a31d566439508dafbd8d4eba52729af0c981325f58
SHA512
4d0f2a8a74a7ba2c3f0635af4d4e44485df81858207eba1e3d0c0c1dea7554dedb653ee69ea82e220f0fedfe553e461feb047f3faa83cff613f0d9745a85aed9
diff --git
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
index 18ecc3e6ef95..d8de0271dfbd 100644
---
a/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
+++
b/dev-python/magic-wormhole-mailbox-server/magic-wormhole-mailbox-server-0.4.1_p20231111.ebuild
@@ -6,26 +6,35 @@ EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
-# Version 0.4.1 with additional upstream fixes for python 3.12 support
-COMMIT_SHA1="30ecb6e3f6f487c915e7ff0acdf2e630cbe17dc8"
-
inherit distutils-r1
+# Version 0.4.1 with additional upstream fixes for python 3.12 support
+EGIT_COMMIT="30ecb6e3f6f487c915e7ff0acdf2e630cbe17dc8"
+MY_P=${PN}-${EGIT_COMMIT}
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"
+HOMEPAGE="
+ https://magic-wormhole.readthedocs.io/en/latest/
+ https://github.com/magic-wormhole/magic-wormhole-mailbox-server/
+ https://pypi.org/project/magic-wormhole-mailbox-server/
+"
+SRC_URI="
+
https://github.com/magic-wormhole/magic-wormhole-mailbox-server/archive/${EGIT_COMMIT}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
-S="${WORKDIR}/magic-wormhole-mailbox-server-${COMMIT_SHA1}"
RDEPEND="
dev-python/autobahn[${PYTHON_USEDEP}]
- dev-python/twisted[ssl,${PYTHON_USEDEP}]"
-
-BDEPEND="test? (
- dev-python/treq[${PYTHON_USEDEP}]
- )"
+ dev-python/twisted[ssl,${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/treq[${PYTHON_USEDEP}]
+ )
+"
distutils_enable_tests pytest