dev-libs/jthread: bump EAPI to 7

Switch from cmake-utils to cmake eclass

Reported-by: Andreas Sturmlechner <asturm@gentoo.org>
Closes: https://bugs.gentoo.org/770583
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
This commit is contained in:
Sergey Popov
2021-02-17 11:23:27 +03:00
parent 2737fc0172
commit 3925c99dae

View File

@@ -1,8 +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
CMAKE_ECLASS=cmake
inherit cmake-multilib
DESCRIPTION="JThread provides some classes to make use of threads easy on different platforms"
@@ -22,5 +23,5 @@ src_prepare() {
if ! use static-libs; then
sed -i -e '/jthread-static/d' src/CMakeLists.txt || die 'sed on src/CMakeLists.txt failed'
fi
cmake-utils_src_prepare
cmake_src_prepare
}