dev-cpp/popl: port to EAPI 7

Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-08-30 14:52:31 +02:00
committed by Sam James
parent 9cc464c43d
commit 3de9f762ff
2 changed files with 12 additions and 12 deletions

View File

@@ -1,21 +1,21 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit cmake
DESCRIPTION="Header-only C++ program options parser library"
HOMEPAGE="https://github.com/badaix/popl"
if [[ ${PV} == *9999 ]] ; then
inherit cmake-utils git-r3
inherit git-r3
EGIT_REPO_URI="https://github.com/badaix/popl.git"
EGIT_BRANCH="develop"
else
inherit cmake-utils
SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -25,5 +25,5 @@ SLOT="0"
src_configure() {
local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
cmake-utils_src_configure
cmake_src_configure
}

View File

@@ -1,21 +1,21 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
inherit cmake
DESCRIPTION="Header-only C++ program options parser library"
HOMEPAGE="https://github.com/badaix/popl"
if [[ ${PV} == *9999 ]] ; then
inherit cmake-utils git-r3
inherit git-r3
EGIT_REPO_URI="https://github.com/badaix/popl.git"
EGIT_BRANCH="develop"
else
inherit cmake-utils
SRC_URI="https://github.com/badaix/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
@@ -25,5 +25,5 @@ SLOT="0"
src_configure() {
local mycmakeargs=( -DBUILD_EXAMPLE=OFF )
cmake-utils_src_configure
cmake_src_configure
}