commit:     8a1b386bd1d68c400e5728dd807fa9af064ef109
Author:     Craig Andrews <candrews <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  6 20:42:48 2021 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Sat Mar  6 20:44:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a1b386b

dev-libs/gost-engine: EAPI-7 bump & port to cmake.eclass

Closes: https://bugs.gentoo.org/774486
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Craig Andrews <candrews <AT> gentoo.org>

 ...e-9999.ebuild => gost-engine-1.1.0.3_p20181031-r2.ebuild} | 12 ++++++------
 dev-libs/gost-engine/gost-engine-9999.ebuild                 |  8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild 
b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r2.ebuild
similarity index 72%
copy from dev-libs/gost-engine/gost-engine-9999.ebuild
copy to dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r2.ebuild
index 945c78a4f22..449f37079b6 100644
--- a/dev-libs/gost-engine/gost-engine-9999.ebuild
+++ b/dev-libs/gost-engine/gost-engine-1.1.0.3_p20181031-r2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="A reference implementation of the Russian GOST crypto algorithms 
for OpenSSL"
 HOMEPAGE="https://github.com/gost-engine/engine";
@@ -29,11 +29,11 @@ if [[ ${PV} == "9999" ]] ; then
        inherit git-r3
 else
        KEYWORDS="~amd64 ~hppa"
-       SRC_URI="https://github.com/gost-engine/engine/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-       S="${WORKDIR}/engine-${PV}"
+       
SRC_URI="https://github.com/gost-engine/engine/archive/e5cc3684f3b3ad40e186e23b00b253d234df92ab.tar.gz
 -> ${P}.tar.gz"
+       S="${WORKDIR}/engine-e5cc3684f3b3ad40e186e23b00b253d234df92ab"
 fi
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
        sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die
 }

diff --git a/dev-libs/gost-engine/gost-engine-9999.ebuild 
b/dev-libs/gost-engine/gost-engine-9999.ebuild
index 945c78a4f22..fd08e96d4a6 100644
--- a/dev-libs/gost-engine/gost-engine-9999.ebuild
+++ b/dev-libs/gost-engine/gost-engine-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="A reference implementation of the Russian GOST crypto algorithms 
for OpenSSL"
 HOMEPAGE="https://github.com/gost-engine/engine";
@@ -34,6 +34,6 @@ else
 fi
 
 src_prepare() {
-       cmake-utils_src_prepare
+       cmake_src_prepare
        sed 's:Werror:Wno-error:g' -i "${S}/CMakeLists.txt" || die
 }

Reply via email to