summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-03-04 16:54:38 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-03-04 17:32:11 +0100
commit365d8713fddea38915a7bf83ac1bcd732db4b1a8 (patch)
tree6033d497766b66b17c94a5bc3273bddead53a9b1 /sci-mathematics
parentdev-scheme/guile-libyaml: H -> COMMIT (diff)
downloadgentoo-365d8713fddea38915a7bf83ac1bcd732db4b1a8.tar.gz
gentoo-365d8713fddea38915a7bf83ac1bcd732db4b1a8.tar.bz2
gentoo-365d8713fddea38915a7bf83ac1bcd732db4b1a8.zip
sci-mathematics/btor2tools: H -> COMMIT
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics')
-rw-r--r--sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild b/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild
index e967b953fb59..58780bf5c440 100644
--- a/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild
+++ b/sci-mathematics/btor2tools/btor2tools-1.0.0_pre20220518-r1.ebuild
@@ -3,20 +3,20 @@
EAPI=8
-H=b8456dda4780789e882f5791eb486f295ade4da4
+[[ ${PV} == *_pre20220518 ]] && COMMIT=b8456dda4780789e882f5791eb486f295ade4da4
inherit cmake
DESCRIPTION="Generic parser and tools for the BTOR2 format"
HOMEPAGE="https://github.com/Boolector/btor2tools/"
-if [[ "${PV}" == *9999* ]] ; then
+if [[ ${PV} == *9999* ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Boolector/${PN}.git"
else
- SRC_URI="https://github.com/Boolector/${PN}/archive/${H}.tar.gz
+ SRC_URI="https://github.com/Boolector/${PN}/archive/${COMMIT}.tar.gz
-> ${P}.tar.gz"
- S="${WORKDIR}"/${PN}-${H}
+ S="${WORKDIR}"/${PN}-${COMMIT}
KEYWORDS="~amd64 ~x86"
fi