commit:     ea077de541cdcd6985ddd1b6d9353ac2021f260f
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 19 09:00:21 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Jun 19 09:01:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea077de5

dev-util/ccache: drop old

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 dev-util/ccache/Manifest             |  1 -
 dev-util/ccache/ccache-4.2.1.ebuild  | 81 --------------------------------
 dev-util/ccache/ccache-4.3-r1.ebuild | 89 ------------------------------------
 3 files changed, 171 deletions(-)

diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest
index cbbdfedebd8..4e9442f6a4b 100644
--- a/dev-util/ccache/Manifest
+++ b/dev-util/ccache/Manifest
@@ -1,2 +1 @@
-DIST ccache-4.2.1.tar.xz 431484 BLAKE2B 
10bb0d1e263e441d91c2dfcd2b2c89f64dfb10b4c5aa66012c388fea2c99d8488538e84b5cef86abf0c9f9aaa0a562b7c7be8a9d4a4073ae3c046e7fe28b7eda
 SHA512 
46bb760ddad5999c5bdff4f3ce6e405eb2018c4a591ad76ba3dd7921b8bfd59a257d992d285e38d69aaf86537962602689175b8741894094819775eec9493b77
 DIST ccache-4.3.tar.xz 433508 BLAKE2B 
6ab48aa587b4dc86020e3b0f722003dc5c03709626e143a1d38506b6072f9963fc76e89b6d18128dfc28035bf8d24e46ea44f219db69a1b3a294416f0b023090
 SHA512 
ec082de95ea8b22154ce1e67e0a0fc28266cfb71f382205f7eab14e6ac1c7841027d063041131832b3227d833d99ec874e90df238f35f433de4c381566931c7f

diff --git a/dev-util/ccache/ccache-4.2.1.ebuild 
b/dev-util/ccache/ccache-4.2.1.ebuild
deleted file mode 100644
index afcecdc6d9e..00000000000
--- a/dev-util/ccache/ccache-4.2.1.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="fast compiler cache"
-HOMEPAGE="https://ccache.dev/";
-SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz";
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-IUSE="test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-       app-arch/zstd:0=
-       dev-util/shadowman
-       sys-apps/gentoo-functions
-"
-# clang-specific tests use dev-libs/elfutils to compare objects for equality.
-# Let's pull in the dependency unconditionally.
-DEPEND+="
-       test? ( dev-libs/elfutils )
-"
-BDEPEND="
-       app-text/asciidoc
-"
-
-RESTRICT="!test? ( test )"
-
-DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
-       "${FILESDIR}"/${PN}-4.0-objdump.patch
-       "${FILESDIR}"/${PN}-4.1-avoid-run-user.patch
-)
-
-src_prepare() {
-       cmake_src_prepare
-
-       sed \
-               -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
-               "${FILESDIR}"/ccache-config-3 > ccache-config || die
-
-       # mainly used in tests
-       tc-export CC OBJDUMP
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DUSE_CCACHE=OFF
-               -DUSE_FASTER_LINKER=OFF
-               -DZSTD_FROM_INTERNET=OFF
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       dobin ccache-config
-       insinto /usr/share/shadowman/tools
-       newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin"
-}
-
-pkg_prerm() {
-       if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
-               eselect compiler-shadow remove ccache
-       fi
-}
-
-pkg_postinst() {
-       if [[ ${ROOT:-/} == / ]]; then
-               eselect compiler-shadow update ccache
-       fi
-}

diff --git a/dev-util/ccache/ccache-4.3-r1.ebuild 
b/dev-util/ccache/ccache-4.3-r1.ebuild
deleted file mode 100644
index 1410477f616..00000000000
--- a/dev-util/ccache/ccache-4.3-r1.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake toolchain-funcs
-
-DESCRIPTION="fast compiler cache"
-HOMEPAGE="https://ccache.dev/";
-SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}.tar.xz";
-
-LICENSE="GPL-3 LGPL-3"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
-IUSE="static-c++ test"
-
-DEPEND=""
-RDEPEND="${DEPEND}
-       app-arch/zstd:0=
-       dev-util/shadowman
-       sys-apps/gentoo-functions
-"
-# clang-specific tests use dev-libs/elfutils to compare objects for equality.
-# Let's pull in the dependency unconditionally.
-DEPEND+="
-       test? ( dev-libs/elfutils )
-"
-BDEPEND="
-       app-text/asciidoc
-"
-
-RESTRICT="!test? ( test )"
-
-DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md )
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-3.5-nvcc-test.patch
-       "${FILESDIR}"/${PN}-4.0-objdump.patch
-       "${FILESDIR}"/${PN}-4.1-avoid-run-user.patch
-)
-
-src_prepare() {
-       cmake_src_prepare
-
-       sed \
-               -e "/^EPREFIX=/s:'':'${EPREFIX}':" \
-               "${FILESDIR}"/ccache-config-3 > ccache-config || die
-
-       # mainly used in tests
-       tc-export CC OBJDUMP
-
-       # Avoid dependency on libstdc++.so. Useful for cases when
-       # we would like to use ccache to build older gcc which injects
-       # into ccache locally built (possibly outdated) libstdc++
-       # See bug #761220 for examples.
-       #
-       # Ideally gcc should not use LD_PRELOAD to avoid this type of failures.
-       use static-c++ && append-ldflags -static-libstdc++
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DUSE_CCACHE=OFF
-               -DUSE_FASTER_LINKER=OFF
-               -DZSTD_FROM_INTERNET=OFF
-       )
-
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       dobin ccache-config
-       insinto /usr/share/shadowman/tools
-       newins - ccache <<<"${EPREFIX}/usr/lib/ccache/bin"
-}
-
-pkg_prerm() {
-       if [[ -z ${REPLACED_BY_VERSION} && ${ROOT:-/} == / ]] ; then
-               eselect compiler-shadow remove ccache
-       fi
-}
-
-pkg_postinst() {
-       if [[ ${ROOT:-/} == / ]]; then
-               eselect compiler-shadow update ccache
-       fi
-}

Reply via email to