summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-07-10 15:37:45 +0100
committerSam James <sam@gentoo.org>2022-07-10 15:39:41 +0100
commit09a93fbf9ea15d6f11dc10871559f6c9fa01b365 (patch)
treeb5925c002ccdceaa4c8c9e3facacaa7a1fc6cb04 /dev-util/abi-compliance-checker
parentx11-misc/virtualgl: add github upstream metadata (diff)
downloadgentoo-09a93fbf9ea15d6f11dc10871559f6c9fa01b365.tar.gz
gentoo-09a93fbf9ea15d6f11dc10871559f6c9fa01b365.tar.bz2
gentoo-09a93fbf9ea15d6f11dc10871559f6c9fa01b365.zip
dev-util/abi-compliance-checker: EAPI 8
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/abi-compliance-checker')
-rw-r--r--dev-util/abi-compliance-checker/abi-compliance-checker-2.3-r1.ebuild (renamed from dev-util/abi-compliance-checker/abi-compliance-checker-2.3.ebuild)21
-rw-r--r--dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild24
2 files changed, 26 insertions, 19 deletions
diff --git a/dev-util/abi-compliance-checker/abi-compliance-checker-2.3.ebuild b/dev-util/abi-compliance-checker/abi-compliance-checker-2.3-r1.ebuild
index f01d3ea13d73..42214fbbaed1 100644
--- a/dev-util/abi-compliance-checker/abi-compliance-checker-2.3.ebuild
+++ b/dev-util/abi-compliance-checker/abi-compliance-checker-2.3-r1.ebuild
@@ -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
diff --git a/dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild b/dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild
index d9351e95a936..42214fbbaed1 100644
--- a/dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild
+++ b/dev-util/abi-compliance-checker/abi-compliance-checker-9999.ebuild
@@ -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