commit:     ed03aa5877874406454c8ca58aec6489302cce19
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 16:33:32 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 16:35:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed03aa58

dev-python/jupyterlab-pygments: Unpack when PKGBUMPING

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

 dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild 
b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild
index c65f97d65077..f29e5a551aaa 100644
--- a/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild
+++ b/dev-python/jupyterlab-pygments/jupyterlab-pygments-0.3.0.ebuild
@@ -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)"

Reply via email to