commit:     8ed789d94e62f3ad16bccabe5cec08719cbb656e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 24 11:29:04 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 11:30:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ed789d9

dev-python/minify-html: Support PKGBUMPING hack

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

 dev-python/minify-html/minify-html-0.15.0.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/dev-python/minify-html/minify-html-0.15.0.ebuild 
b/dev-python/minify-html/minify-html-0.15.0.ebuild
index 272355f7af46..b91455a60c19 100644
--- a/dev-python/minify-html/minify-html-0.15.0.ebuild
+++ b/dev-python/minify-html/minify-html-0.15.0.ebuild
@@ -19,8 +19,12 @@ HOMEPAGE="
 "
 SRC_URI+="
        ${CARGO_CRATE_URIS}
-       https://dev.gentoo.org/~mgorny/dist/${P/-/_}-crates.tar.xz
 "
+if [[ ! ${PKGBUMPING} ]]; then
+       SRC_URI+="
+               https://dev.gentoo.org/~mgorny/dist/${P/-/_}-crates.tar.xz
+       "
+fi
 
 LICENSE="MIT"
 # Dependent crate licenses

Reply via email to