summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-04 16:49:36 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-04 17:32:10 +0100
commitc74fc00219173754ed73229eda98f2a9d35ce047 (patch)
tree0fa281ddfc11556b538aeec4c3d1bd374dfcd68e /dev-python/pyjsparser
parentdev-python/js2py: drop old 0.71_p20210918 (diff)
downloadgentoo-c74fc00219173754ed73229eda98f2a9d35ce047.tar.gz
gentoo-c74fc00219173754ed73229eda98f2a9d35ce047.tar.bz2
gentoo-c74fc00219173754ed73229eda98f2a9d35ce047.zip
dev-python/pyjsparser: H -> COMMIT
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-python/pyjsparser')
-rw-r--r--dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild
index 47b017d915d6..4c4c3299c45d 100644
--- a/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild
+++ b/dev-python/pyjsparser/pyjsparser-2.7.1_p20190421-r2.ebuild
@@ -3,7 +3,8 @@
EAPI=8
-H=5465d037b30e334cb0997f2315ec1e451b8ad4c1
+[[ ${PV} == *_p20190421 ]] && COMMIT=5465d037b30e334cb0997f2315ec1e451b8ad4c1
+
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{9..11} )
@@ -12,8 +13,9 @@ inherit distutils-r1
DESCRIPTION="Fast javascript parser based on esprima.js"
HOMEPAGE="https://github.com/PiotrDabkowski/pyjsparser/
https://pypi.org/project/pyjsparser/"
-SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}"/${PN}-${H}
+SRC_URI="https://github.com/PiotrDabkowski/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/${PN}-${COMMIT}
RESTRICT="!test? ( test )"
LICENSE="MIT"