sys-fs/cryfs: Drop superfluous vars
authorJohannes Huber <johu@gentoo.org>
Wed, 11 Oct 2017 18:09:02 +0000 (20:09 +0200)
committerJohannes Huber <johu@gentoo.org>
Wed, 11 Oct 2017 19:15:13 +0000 (21:15 +0200)
Package-Manager: Portage-2.3.11, Repoman-2.3.3

sys-fs/cryfs/cryfs-0.9.7.ebuild
sys-fs/cryfs/cryfs-9999.ebuild

index a275fa9d2e70bd3d717bb15ba590becb40367fce..8ec33b43416d7be633b071762623e65308be2a13 100644 (file)
@@ -20,8 +20,6 @@ LICENSE="LGPL-3 BSD-2 MIT"
 if [[ "${PV}" == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/cryfs/cryfs"
-       SRC_URI=""
-       KEYWORDS=""
 else
        SRC_URI="https://github.com/cryfs/cryfs/releases/download/${PV}/${P}.tar.xz
        https://dev.gentoo.org/~johu/distfiles/${P}-spdlog.patch.xz"
index cc9eea2b0e7be94e9e1d2848b976b8441ca583b3..f669b893699b828e6646c88bdbfce1534180b9e9 100644 (file)
@@ -20,8 +20,6 @@ LICENSE="LGPL-3 BSD-2 MIT"
 if [[ "${PV}" == 9999 ]] ; then
        inherit git-r3
        EGIT_REPO_URI="https://github.com/cryfs/cryfs"
-       SRC_URI=""
-       KEYWORDS=""
 else
        SRC_URI="https://github.com/cryfs/cryfs/releases/download/${PV}/${P}.tar.xz"
        KEYWORDS="~amd64 ~x86"
@@ -37,13 +35,13 @@ DEPEND="${RDEPEND}
        ${PYTHON_DEPS}"
 
 src_prepare() {
+       cmake-utils_src_prepare
+
        # remove tests that require internet access to comply with Gentoo policy
        sed -i -e '/CurlHttpClientTest.cpp/d' -e '/FakeHttpClientTest.cpp/d' test/cpp-utils/CMakeLists.txt || die
 
        # remove non-applicable warning
        sed -i -e '/WARNING! This is a debug build. Performance might be slow./d' src/cryfs-cli/Cli.cpp || die
-
-       cmake-utils_src_prepare
 }
 
 src_configure() {