summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2019-12-12 13:39:56 +0100
committerDavid Seifert <soap@gentoo.org>2019-12-12 13:39:56 +0100
commitc47259fa5c6453eab7c1eb3e260f76e71ed02b30 (patch)
treeb63c80be33c6ffffe89e68cad8968f494723ea19 /app-backup
parentdev-ros/ament_cmake_core: add live ebuild (diff)
downloadgentoo-c47259fa5c6453eab7c1eb3e260f76e71ed02b30.tar.gz
gentoo-c47259fa5c6453eab7c1eb3e260f76e71ed02b30.tar.bz2
gentoo-c47259fa5c6453eab7c1eb3e260f76e71ed02b30.zip
app-backup/rdedup: [QA] Fix ebuild style
Package-Manager: Portage-2.3.81, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/rdedup/rdedup-1.0.2.ebuild19
1 files changed, 9 insertions, 10 deletions
diff --git a/app-backup/rdedup/rdedup-1.0.2.ebuild b/app-backup/rdedup/rdedup-1.0.2.ebuild
index 378d63f771d7..aa991f439d71 100644
--- a/app-backup/rdedup/rdedup-1.0.2.ebuild
+++ b/app-backup/rdedup/rdedup-1.0.2.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
CRATES="
aho-corasick-0.5.3
@@ -44,21 +44,20 @@ inherit cargo
DESCRIPTION="data deduplication with compression and public key encryption"
HOMEPAGE="https://github.com/dpc/rdedup"
SRC_URI="$(cargo_crate_uris ${CRATES})"
-RESTRICT=""
+
LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
-DEPEND="${DEPEND} >=dev-libs/libsodium-1.0.11"
-RDEPEND="${DEPEND}"
-DOCS=( README.md CHANGELOG.md )
+
+RDEPEND=">=dev-libs/libsodium-1.0.11:="
+DEPEND="${RDEPEND}"
src_prepare() {
- default_src_prepare
- ln -sf "${WORKDIR}/cargo_home/gentoo/rdedup-lib-${PV}" "${S}/lib"
+ default
+ ln -sf "${WORKDIR}/cargo_home/gentoo/rdedup-lib-${PV}" lib || die
}
src_install() {
cargo_src_install
- einstalldocs
+ dodoc {CHANGELOG,README}.md
}