commit: 8a9535e1e1b1f5d8ae438cd9887fbd47876a5e7d
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 6 06:59:38 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 6 07:16:05 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a9535e1
dev-python/hyper-h2: Prepare for pkgmove
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/hyper-h2/hyper-h2-3.2.0.ebuild | 8 +++++---
dev-python/hyper-h2/hyper-h2-4.0.0.ebuild | 8 +++++---
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/dev-python/hyper-h2/hyper-h2-3.2.0.ebuild
b/dev-python/hyper-h2/hyper-h2-3.2.0.ebuild
index 819953993d9..830e6c2dc91 100644
--- a/dev-python/hyper-h2/hyper-h2-3.2.0.ebuild
+++ b/dev-python/hyper-h2/hyper-h2-3.2.0.ebuild
@@ -2,13 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
+MY_P=hyper-h2-${PV}
DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
HOMEPAGE="https://python-hyper.org/h2/en/stable/ https://pypi.org/project/h2/"
-SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
@@ -31,7 +33,7 @@ distutils_enable_tests pytest
PATCHES=(
# From https://github.com/python-hyper/h2/pull/1248
# Disables some failing healthchecks
- "${FILESDIR}/${P}-failed-healthcheck.patch"
+ "${FILESDIR}/hyper-h2-3.2.0-failed-healthcheck.patch"
)
python_test() {
diff --git a/dev-python/hyper-h2/hyper-h2-4.0.0.ebuild
b/dev-python/hyper-h2/hyper-h2-4.0.0.ebuild
index a133fd58b9c..410e17cd3ad 100644
--- a/dev-python/hyper-h2/hyper-h2-4.0.0.ebuild
+++ b/dev-python/hyper-h2/hyper-h2-4.0.0.ebuild
@@ -2,13 +2,15 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
+MY_P=hyper-h2-${PV}
DESCRIPTION="HTTP/2 State-Machine based protocol implementation"
HOMEPAGE="https://python-hyper.org/h2/en/stable/ https://pypi.org/project/h2/"
-SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${P}.tar.gz"
+SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz ->
${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
LICENSE="MIT"
SLOT="0"
@@ -31,7 +33,7 @@ distutils_enable_tests pytest
PATCHES=(
# From https://github.com/python-hyper/h2/pull/1248
# Disables some failing healthchecks
- "${FILESDIR}/${PN}-3.2.0-failed-healthcheck.patch"
+ "${FILESDIR}/hyper-h2-3.2.0-failed-healthcheck.patch"
)
python_test() {