mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 18:58:08 -07:00
dev-python/minify-html: update SRC_URI
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -5,11 +5,9 @@ EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=maturin
|
||||
PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
|
||||
|
||||
CRATES="
|
||||
"
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
CRATES=""
|
||||
inherit cargo distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Extremely fast and smart HTML + JS + CSS minifier"
|
||||
@@ -17,14 +15,7 @@ HOMEPAGE="
|
||||
https://github.com/wilsonzlin/minify-html/
|
||||
https://pypi.org/project/minify-html/
|
||||
"
|
||||
SRC_URI+="
|
||||
${CARGO_CRATE_URIS}
|
||||
"
|
||||
if [[ ${PKGBUMPING} != ${PVR} ]]; then
|
||||
SRC_URI+="
|
||||
https://github.com/gentoo-crate-dist/minify-html/releases/download/v${PV}/${P}-crates.tar.xz
|
||||
"
|
||||
fi
|
||||
SRC_URI+=" https://github.com/gentoo-crate-dist/minify-html/releases/download/v${PV}/${P}-crates.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
# Dependent crate licenses
|
||||
@@ -39,6 +30,8 @@ KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/minify_html/minify_html.*.so"
|
||||
|
||||
export PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/strip/d' Cargo.toml || die
|
||||
distutils-r1_src_prepare
|
||||
|
||||
Reference in New Issue
Block a user