commit:     549a3e249a97f89f4f4aaa35f90d5191b707104e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 16:36:31 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 16:45:53 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549a3e24

dev-python/hypercorn: Patches work better whan applied

Closes: https://bugs.gentoo.org/887219
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../hypercorn/{hypercorn-0.14.3.ebuild => hypercorn-0.14.3-r1.ebuild} | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-python/hypercorn/hypercorn-0.14.3.ebuild 
b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild
similarity index 95%
rename from dev-python/hypercorn/hypercorn-0.14.3.ebuild
rename to dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild
index b63cb6151dd5..ff13dd49e3b8 100644
--- a/dev-python/hypercorn/hypercorn-0.14.3.ebuild
+++ b/dev-python/hypercorn/hypercorn-0.14.3-r1.ebuild
@@ -42,6 +42,10 @@ BDEPEND="
 distutils_enable_tests pytest
 
 src_prepare() {
+       local PATCHES=(
+               "${FILESDIR}"/${P}-tomli.patch
+       )
+
        sed -i -e 's:--no-cov-on-fail::' pyproject.toml || die
        distutils-r1_src_prepare
 }

Reply via email to