diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-03-04 17:01:35 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-03-04 17:32:11 +0100 |
commit | b4d8369be569d7fed1fe62409af26533fd268139 (patch) | |
tree | c55da7451588b3c87428838221dda4b676cd403b /sci-mathematics/boolector | |
parent | sci-mathematics/btor2tools: H -> COMMIT (diff) | |
download | gentoo-b4d8369be569d7fed1fe62409af26533fd268139.tar.gz gentoo-b4d8369be569d7fed1fe62409af26533fd268139.tar.bz2 gentoo-b4d8369be569d7fed1fe62409af26533fd268139.zip |
sci-mathematics/boolector: H -> COMMIT
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sci-mathematics/boolector')
-rw-r--r-- | sci-mathematics/boolector/boolector-3.2.2_p20220110.ebuild | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sci-mathematics/boolector/boolector-3.2.2_p20220110.ebuild b/sci-mathematics/boolector/boolector-3.2.2_p20220110.ebuild index 90a1a2edac2b..0e4ea8d6d1b5 100644 --- a/sci-mathematics/boolector/boolector-3.2.2_p20220110.ebuild +++ b/sci-mathematics/boolector/boolector-3.2.2_p20220110.ebuild @@ -3,7 +3,8 @@ EAPI=8 -H=13a8a06d561041cafcaf5458e404c1ec354b2841 +[[ ${PV} == *_p20220110 ]] && COMMIT=13a8a06d561041cafcaf5458e404c1ec354b2841 + PYTHON_COMPAT=( python3_{9..11} ) inherit python-single-r1 cmake @@ -12,13 +13,13 @@ DESCRIPTION="Fast SMT solver for bit-vectors, arrays and uninterpreted functions HOMEPAGE="https://boolector.github.io/ https://github.com/Boolector/boolector/" -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 @@ -47,7 +48,7 @@ pkg_setup() { } src_configure() { - local mycmakeargs=( + local -a mycmakeargs=( -DBUILD_SHARED_LIBS=ON -DBtor2Tools_LIBRARIES=/usr/$(get_libdir)/libbtor2parser.so -DUSE_PYTHON2=OFF |