sys-libs/libcxx: -9999 → -10.0.0.9999
authorMichał Górny <mgorny@gentoo.org>
Sun, 21 Jul 2019 10:35:17 +0000 (12:35 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sun, 21 Jul 2019 19:40:09 +0000 (21:40 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
sys-libs/libcxx/libcxx-10.0.0.9999.ebuild [moved from sys-libs/libcxx/libcxx-9999.ebuild with 98% similarity]

similarity index 98%
rename from sys-libs/libcxx/libcxx-9999.ebuild
rename to sys-libs/libcxx/libcxx-10.0.0.9999.ebuild
index 71e8ea26429b7df09fdd5b0683fe2e75b5492b29..7f4a5523bd2d9f2c3f9d466d1bf87d5dae1983d0 100644 (file)
@@ -12,14 +12,14 @@ EGIT_REPO_URI="https://git.llvm.org/git/libcxx.git
        https://github.com/llvm-mirror/libcxx.git"
 PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
 
-[[ ${PV} == 9999 ]] && SCM="git-r3" || SCM=""
+[[ ${PV} == *9999 ]] && SCM="git-r3" || SCM=""
 
 inherit ${SCM} cmake-multilib llvm multiprocessing python-any-r1 \
        toolchain-funcs
 
 DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
 HOMEPAGE="https://libcxx.llvm.org/"
-if [[ ${PV} != 9999 ]] ; then
+if [[ ${PV} != *9999 ]] ; then
        SRC_URI="https://llvm.org/releases/${PV}/${P}.src.tar.xz"
        S="${WORKDIR}/${P}.src"
 else
@@ -28,7 +28,7 @@ fi
 
 LICENSE="|| ( UoI-NCSA MIT )"
 SLOT="0"
-if [[ ${PV} != 9999 ]] ; then
+if [[ ${PV} != *9999 ]] ; then
        KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
 else
        KEYWORDS=""