app-crypt/bestcrypt: eapi bump
authorAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 19:57:00 +0000 (21:57 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Sat, 4 Feb 2017 20:06:40 +0000 (22:06 +0200)
Package-Manager: portage-2.3.3

app-crypt/bestcrypt/bestcrypt-2.0.11.ebuild

index 283652a1f90b2ba94c693199e381986d8fa569a5..56b11f442522ee39cd15c708a4401cd4b6bf0a24 100644 (file)
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI="6"
 
 inherit eutils linux-mod toolchain-funcs versionator
 
@@ -22,6 +22,14 @@ RDEPEND=""
 
 S="${WORKDIR}/${MY_PN}-${PV}"
 
+DOCS=(
+       HIDDEN_PART README
+)
+
+PATCHES=(
+       "${FILESDIR}/${PN}-2.0.6-build.patch"
+)
+
 pkg_setup() {
        CONFIG_CHECK="MODULES"
        linux-mod_pkg_setup
@@ -41,10 +49,6 @@ pkg_setup() {
                BC_KERNEL_DIR=\"${KERNEL_DIR}\""
 }
 
-src_prepare() {
-       epatch "${FILESDIR}/${PN}-2.0.6-build.patch"
-}
-
 src_compile() {
        MAKEOPTS="-j1" linux-mod_src_compile \
                CXX="$(tc-getCXX)"
@@ -63,7 +67,6 @@ src_install() {
 
        newinitd "${FILESDIR}/bcrypt3" bcrypt
        sed -e '/\(bc_rc6\|bc_serpent\|bc_twofish\)/d' -i "${D}etc/init.d/bcrypt"
-       dodoc HIDDEN_PART README
 }
 
 pkg_postinst() {