commit:     a555c7d0fe1013e4b18397d8d496280c70f804dd
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 15:31:35 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 15:31:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a555c7d0

dev-libs/properties-cpp: QA fixes

- bump EAPI
- cmake-utils --> cmake
- add missing test restrict
- remove whitespace
- sort keywords

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 ...ties-cpp-0.0.2.ebuild => properties-cpp-0.0.2-r1.ebuild} | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild 
b/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild
similarity index 83%
rename from dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild
rename to dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild
index 2ebf2319c..ce77b9352 100644
--- a/dev-libs/properties-cpp/properties-cpp-0.0.2.ebuild
+++ b/dev-libs/properties-cpp/properties-cpp-0.0.2-r1.ebuild
@@ -1,10 +1,10 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 URELEASE="groovy"
-inherit cmake-utils
+inherit cmake
 
 # Handle version strings here so as not to use 'ubuntu-versionator' eclass #
 MY_PV="${PV:0:5}"
@@ -17,13 +17,14 @@ 
SRC_URI="https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${MY_PV}.ori
 
 LICENSE="LGPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~arm ~arm64"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="doc test"
-RESTRICT="mirror"
+RESTRICT="!test? ( test ) mirror"
 
 DEPEND="dev-libs/boost
        doc? ( app-doc/doxygen )
-        test? ( >=dev-cpp/gtest-1.8.1 )"
+       test? ( >=dev-cpp/gtest-1.8.1 )
+"
 
 S="${WORKDIR}/${MY_P}"
 MAKEOPTS="${MAKEOPTS} -j1"
@@ -31,5 +32,5 @@ MAKEOPTS="${MAKEOPTS} -j1"
 src_prepare() {
        use !doc && truncate -s0 doc/CMakeLists.txt
        use !test && truncate -s0 tests/CMakeLists.txt
-       cmake-utils_src_prepare
+       cmake_src_prepare
 }

Reply via email to