summaryrefslogtreecommitdiff
path: root/dev-util/coverity
diff options
context:
space:
mode:
authorBertrand Jacquin <bertrand@jacquin.bzh>2020-10-02 22:00:14 +0100
committerBertrand Jacquin <bertrand@jacquin.bzh>2020-10-18 16:02:52 +0100
commite9c2f7ee5cbb933e4732ca352383b9af5c3a1fea (patch)
treed4f5add09435798d92fde27314b80c0dabe7734d /dev-util/coverity
parentprofiles/desktop: remove connman (diff)
downloadportage-e9c2f7ee5cbb933e4732ca352383b9af5c3a1fea.tar.xz
dev-util/coverity: drop old
Diffstat (limited to 'dev-util/coverity')
-rw-r--r--dev-util/coverity/Manifest2
-rw-r--r--dev-util/coverity/coverity-2017.07.ebuild98
-rw-r--r--dev-util/coverity/metadata.xml8
3 files changed, 0 insertions, 108 deletions
diff --git a/dev-util/coverity/Manifest b/dev-util/coverity/Manifest
deleted file mode 100644
index 54afba38..00000000
--- a/dev-util/coverity/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST cov-analysis-linux-2017.07.tar.gz 480416104 BLAKE2B 7c3eb4fc770d51811cb3ffe46d5d20051c6ac9b80d73630cae0615e7050c57d8a84cb8d53f5ef07bfd13c9acd26cb929e1556648fdd16eea1ddaeb7548cd1045 SHA512 c93034b26af784fd6ea205710631df36a67d1bab11a3994e024cead301eac564108175c1a0825c9fb920aaef86225d4692d72e620245bc5f456c38aef9b2e84e
-DIST cov-analysis-linux64-2017.07.tar.gz 545194721 BLAKE2B 186247a337eedc54d6155fdb9d39a9b0e1b2d2ea0ce7e6d257da83517b802d65eef369f3da06af0db57c29f751260ce3caf34ac8c8708de953a4e0fe950ebb8f SHA512 c93ab2eee182ce7b087baff486d1f379a3d67a11a5ffe94838607c71d4f36d830c57bfba324303b00e192ac9ce41f36ee13673bbe6d785aeb0aae35ec0b89e80
diff --git a/dev-util/coverity/coverity-2017.07.ebuild b/dev-util/coverity/coverity-2017.07.ebuild
deleted file mode 100644
index d8a37056..00000000
--- a/dev-util/coverity/coverity-2017.07.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Coverity provides the results of analysis on open source coding projects"
-HOMEPAGE="https://www.coverity.com"
-SRC_URI="amd64? ( cov-analysis-linux64-${PV}.tar.gz )
- x86? ( cov-analysis-linux-${PV}.tar.gz )"
-
-LICENSE="coverity-PLA"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-L10N="ja ko zh-CN"
-for _l in ${L10N} ; do
- IUSE="${IUSE} l10n_${_l}"
-done
-
-RESTRICT="fetch mirror bindist"
-
-QA_PREBUILT="opt/coverity/bin/*"
-
-pkg_nofetch() {
- eerror "Please go to https://scan.coverity.com/download"
- use amd64 && eerror "and download Linux64"
- use x86 && eerror "and download Linux32"
- eerror "then put the file in ${DISTDIR}"
- use amd64 && eerror "named as cov-analysis-linux64-${PV}.tar.gz"
- use x86 && eerror "named as cov-analysis-linux-${PV}.tar.gz"
-}
-
-src_unpack() {
- default
-
- use amd64 && S="${WORKDIR}/cov-analysis-linux64-${PV}"
- use x86 && S="${WORKDIR}/cov-analysis-linux-${PV}"
-}
-
-src_prepare () {
- default
-
- echo "PATH='/opt/${PN}/bin'" > "${T}/99${PN}"
-
- # Rename invalid locale files
- mv locale/zh-cn locale/zh-CN
-
- # Cleanup
- find -type f -name '*.DS_Store' -exec rm {} +
- find -type f -name '*.bak' -exec rm {} +
-
- rm -rf lib/python*
-
- # Already available in /usr/portage/licenses
- rm -r doc/*/licenses
- rm doc/*/ScanUserAgreementv2016.1.pdf
-}
-
-src_install () {
- doenvd "${T}/99${PN}"
-
- insinto "/opt/${PN}"
- doins -r config dtd lib
-
- into "/opt/${PN}"
- dobin bin/cov-*
- dobin bin/lib*.so
-
- insinto "/opt/${PN}/doc"
- doins -r doc/en
-
- if use doc ; then
- for _l in ${L10N} ; do
- if use "l10n_${_l}" ; then
- [[ -d "doc/${_l}" ]] && doins -r "doc/${_l}"
- fi
- done
- fi
-
- insinto /usr/share/locale
- for _l in ${L10N} ; do
- if use "l10n_${_l}" ; then
- doins -r "locale/${_l}"
- fi
- done
-}
-
-pkg_postinst() {
- elog "Coverity build tool comes pre-configured for gcc, msvc and java."
- elog "For other compiler, run cov-configure as described in"
- elog "https://communities.coverity.com/thread/2726#5328"
- elog
- elog "See also: https://communities.coverity.com/message/4838#4838"
- elog
- elog "You need to run env-update and source /etc/profile in any open shells"
- elog "to get coverity in PATH"
-}
diff --git a/dev-util/coverity/metadata.xml b/dev-util/coverity/metadata.xml
deleted file mode 100644
index 82f7232e..00000000
--- a/dev-util/coverity/metadata.xml
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>bertrand@jacquin.bzh</email>
- <name>Bertrand Jacquin</name>
- </maintainer>
-</pkgmetadata>