Skip to content

Commit

Permalink
dev-util/abi-compliance-checker: EAPI 8
Browse files Browse the repository at this point in the history
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jul 10, 2022
1 parent db02213 commit 09a93fb
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6
EAPI=8

DESCRIPTION="A tool for checking backward compatibility of a C/C++ library"
HOMEPAGE="http://ispras.linuxbase.org/index.php/ABI_compliance_checker"
SRC_URI="https://github.com/lvc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/lvc/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/lvc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
RDEPEND="
dev-util/abi-dumper
dev-util/ctags"
dev-util/ctags
"
BDEPEND="dev-lang/perl"

src_install() {
dodir /usr
Expand Down
24 changes: 13 additions & 11 deletions dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
# Copyright 1999-2018 Gentoo Foundation
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit git-r3
EAPI=8

DESCRIPTION="A tool for checking backward compatibility of a C/C++ library"
HOMEPAGE="http://ispras.linuxbase.org/index.php/ABI_compliance_checker"
SRC_URI=""
EGIT_REPO_URI="https://github.com/lvc/${PN}.git"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/lvc/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/lvc/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE=""

DEPEND="dev-lang/perl"
RDEPEND="${DEPEND}
RDEPEND="
dev-util/abi-dumper
dev-util/ctags"
dev-util/ctags
"
BDEPEND="dev-lang/perl"

src_install() {
dodir /usr
Expand Down

0 comments on commit 09a93fb

Please sign in to comment.