dev-libs/liborcus: Pin dev-util/mdds to (API-)slot
authorAndreas Sturmlechner <asturm@gentoo.org>
Fri, 10 Apr 2020 11:51:53 +0000 (13:51 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Fri, 10 Apr 2020 13:48:38 +0000 (15:48 +0200)
Package-Manager: Portage-2.3.98, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-libs/liborcus/liborcus-0.15.4.ebuild
dev-libs/liborcus/liborcus-9999.ebuild

index 605eab7c77609b1ecdea32d2eaf148dd3292da63..0d5789e0eb5e43b842229f4eb9859d127d118fa4 100644 (file)
@@ -28,7 +28,7 @@ RDEPEND="
        spreadsheet-model? ( dev-libs/libixion:${SLOT} )
 "
 DEPEND="${RDEPEND}
-       >=dev-util/mdds-1.5.0:1
+       dev-util/mdds:1/1.5
 "
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
index 605eab7c77609b1ecdea32d2eaf148dd3292da63..b85a1c840f57e28deb81c30cca0a6635b1f4dde2 100644 (file)
@@ -10,9 +10,11 @@ DESCRIPTION="Standalone file import filter library for spreadsheet documents"
 HOMEPAGE="https://gitlab.com/orcus/orcus/blob/master/README.md"
 
 if [[ ${PV} == *9999* ]]; then
+       MDDS_SLOT="1/9999"
        EGIT_REPO_URI="https://gitlab.com/orcus/orcus.git"
        inherit git-r3 autotools
 else
+       MDDS_SLOT="1/1.5"
        SRC_URI="https://kohei.us/files/orcus/src/${P}.tar.xz"
        KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 fi
@@ -28,7 +30,7 @@ RDEPEND="
        spreadsheet-model? ( dev-libs/libixion:${SLOT} )
 "
 DEPEND="${RDEPEND}
-       >=dev-util/mdds-1.5.0:1
+       dev-util/mdds:${MDDS_SLOT}
 "
 
 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"