dev-python/jupyterlab-pygments: Unpack when PKGBUMPING

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-01-30 17:33:32 +01:00
parent 6ee57b9d1b
commit ed03aa5877

View File

@@ -1,4 +1,4 @@
# Copyright 2020-2023 Gentoo Authors
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -24,6 +24,12 @@ RDEPEND="
dev-python/pygments[${PYTHON_USEDEP}]
"
src_unpack() {
if [[ ${PKGBUMPING} == ${PVR} ]]; then
unzip "${DISTDIR}/${A}" || die
fi
}
python_compile() {
distutils_wheel_install "${BUILD_DIR}/install" \
"${DISTDIR}/$(pypi_wheel_name)"