From fc637fb28da700da71ec2064d65ca5a7a31b9c6c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 18 Aug 2019 18:16:17 +0100 Subject: gentoo resync : 18.08.2019 --- dev-util/ccache/Manifest | 8 ++-- dev-util/ccache/ccache-3.3.4-r1.ebuild | 70 ---------------------------- dev-util/ccache/ccache-3.6.ebuild | 84 ---------------------------------- dev-util/ccache/ccache-3.7.2.ebuild | 2 +- dev-util/ccache/ccache-3.7.3.ebuild | 82 +++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+), 160 deletions(-) delete mode 100644 dev-util/ccache/ccache-3.3.4-r1.ebuild delete mode 100644 dev-util/ccache/ccache-3.6.ebuild create mode 100644 dev-util/ccache/ccache-3.7.3.ebuild (limited to 'dev-util/ccache') diff --git a/dev-util/ccache/Manifest b/dev-util/ccache/Manifest index 3a3b83e15f78..f06c7782a3f0 100644 --- a/dev-util/ccache/Manifest +++ b/dev-util/ccache/Manifest @@ -3,12 +3,10 @@ AUX ccache-3.4-size-on-disk.patch 567 BLAKE2B 8ac22301eabf54922f69d135ad99a8ad9a AUX ccache-3.5-nvcc-test.patch 262 BLAKE2B b33b6372e8e6c597d7ed6c781f0a3ac22c435d1309fe387e62c5f9b61c783294ec81cfd1c8a0afc60e63148dcc89f95ebc6d313a0567431a8d05c96e3d59bae1 SHA512 651e26335df8eb551f95064d67925d6e7dd15c8a082b291cdea31fcbc2e5482b2358de71c205c668173b3dc5a75ef004d95dbdd92391e4a4aa6bc1283f5f3a72 AUX ccache-3.6-disable-sized-cleanup.patch 834 BLAKE2B a8f6ef6fc900c7cff9ae68a25f997c8e5b2cf1e98392047837efd07c91ede129dbbca2d6aa1a2532d149675f658220aa251b0fe066597f862aa2c44ec30fbda3 SHA512 3d0ab124e119b1757fd272a3585aee14e83c092459411d300fef198ca16483ec9149baedb54a9a8333b5a24a34506da550afcdf4e10ae2657c01164244e1519d AUX ccache-config-3 2147 BLAKE2B 6e703e12b6a2f83b838f8b1d1e534de3366b6e2994990b30c381b0df28be9c0ae7c0f1d7325282e97ca54881171846c13945b264bd4a793785ff1a19d0941669 SHA512 05d512b001b6a2fdc947d10d810c89683144080a060c24a37422e9b587594e1ee42fa1d7607461571f196819dae92146d861e8ae116e9226e1ff97ea035b3003 -DIST ccache-3.3.4.tar.xz 314468 BLAKE2B 6e465598df428979a2c821a698afef25c05d09045cbb54ec54cc3b65b8ce6416b6eb46fae0cf5d60f766129cef11eb01410b522318c67416fdf47f6e8fceae66 SHA512 891bcf11b27fa20a250bc86d182663e46af450a3a807b6cab502f202cd57123ce93bcb1fe5e48866feecda76912a5f742efa5869df9117d81624ba185dd4e02c -DIST ccache-3.6.tar.xz 340608 BLAKE2B fa92180f53612f84b71c68da4acccefee129e5bfc9b269caa45a9c16219ed835ccf034d61ff938a54f3673fa23410d960475cc37cf5d27d7be641e7518a43f0a SHA512 13ce4c9084983ce77617cf005235987715cd6b630dac13a17cb9badce24aab71bff505e63da4206878e32d337cc674f05fbf78540711ec5b33a0b8384c47fa0d DIST ccache-3.7.1.tar.xz 349276 BLAKE2B 4f36ccb378b614668777d8be32dd343a0e59e36885a845ba004082f7ca0f69a5e4d01ed08af445c33bff218d33ad0385ed6ade383c06da20e3d0271b2f7423dd SHA512 c2f369c861998f82600272deedc436840af7f85baa355a1e119dacea8f41275d601a0805c3e2a8bc434df621a4e52647bd8654a71c2329542a8b160f7f179cdf DIST ccache-3.7.2.tar.xz 351168 BLAKE2B 6e5c8847f961bd5aa2cf325e582ece9e8bfb9c015fe3dcb01c8ca1e1834fdfb82a351ec49e203721486817df58c6aebf28e0af011f470fb739d5016f72191654 SHA512 3290f0609c27a2f063e632392be01ef163273115700f87a6d2954fcfd52fcc14bf66fc147ecbd2b692258317e113bf8be9f7efdf377560e2e8d9dd67cef58147 -EBUILD ccache-3.3.4-r1.ebuild 1917 BLAKE2B 740c0be412ab1c4402682dc403e292c96e3f7b4ef9c881bc71d8a4dfcf58716141a8eba73baba94ceb21d25cb3398c1e3f2a5a0e5435acc02f9c561e3777dc9b SHA512 d4c0899d3bd5f7c8040e4591a658ee93fa7fb96339a0f72169016ef433266a98e558242250697ba9b5abad0eccd636fd23892f6e88e7ee30f9bed84a38eba04b -EBUILD ccache-3.6.ebuild 2095 BLAKE2B 55e4efe5c7aca294c71b4233840bdb9c71a72160f67857c96711e6f7856f464c647dfba632ef193ceb79aadea423a89fe974f39810c3c06d6a705364ae0cecbc SHA512 d90c00c9cbf75b7cca03c22e35976c14e1ede3a35954c984ca4d5012318fb2f21fe84bc34d4248a1e71c5d6c6059a56e95fc8f0300db881ccda661692f13e5d0 +DIST ccache-3.7.3.tar.xz 351416 BLAKE2B f825eea87e89246edecbbc0b02cd0f67bbb0e9eb082a4f0c3d9aadca14a20e2d8e9af5f2c067d78393ea92c11878a11423402160210f3f79a3135d345225e0ad SHA512 74e6dd9558273af74aaf085d932955e8ded3d9f7d7b316172109af8f703f00a75fcc27187469d9cb5ba8654bcad12e406bede77cfcacbc0a752d5ca42e52c628 EBUILD ccache-3.7.1.ebuild 2136 BLAKE2B c9e243c7cabac39716581c38271779a706f95a20d35cb40c3bef1d6b3768260fe5abcc05a35a43b34017e3ad5637758f27a386ff0b9cddf6be6751fe3a9fb50b SHA512 77335fd55a5fc9166a21a6b94a272107c97cb5b8b74bef26b3cc69a50f62a2c4f04673dba3f9dda1784c962effc2934be25fd5fe838ca5523c59a3131e1fddd2 -EBUILD ccache-3.7.2.ebuild 2149 BLAKE2B 4445dbcc88ac22f85a29fa14259181fa0b4f3a1084615ca988085694dcba1387b93604dedd20945fd94e5294b8adefe412da69ed34a037b33193d5979a2e95ea SHA512 289124fd35a518af43a580d39096eeb6d4ddef8b515334dd6035d063f9521f32b2e9b43c6b37cf7f8cf87561354fa23553229cf2af8feaf9bd4d4a10496a3f4d +EBUILD ccache-3.7.2.ebuild 2144 BLAKE2B 5c8ac9b8bea16f12337003d234fc8ce0b3416f1b4e46e3ddcfbeee18aa129066256adc77b4f1d2ff344553101f2b38bdef4ee90755ddf85d7697335d35efa8b2 SHA512 9d6b49ede8ffb44d1815cb9f6eecdd51e970a40d9e745ba22a84b3ba2d352d176b85716ed0989d4de6e30af58b07a8aa2e3b44475d22a7ad218b333128d57657 +EBUILD ccache-3.7.3.ebuild 2036 BLAKE2B d9a00991a72a8ccf1ea4f218edd246c39dd780ffa1b435e6f311d2c7f029b3bc8a000971d1c7b05d86dafdfd63e2bd9bc66dedf1e0e32a9223b123669521bb5f SHA512 50c39ce2528656d7eae8ec9089ab1d2fa3cb33c72802c441ac14caabe23234dbaa1facd7b7569b2d95f86fb83771caf614caf002a7a78b90f211fdf5c3767c71 MISC metadata.xml 445 BLAKE2B 8ef8f120989420428ea85108180c659c72a7553f3f20ab96597d26aa04b059f491aeae8c887697a214c437f2dba30fbb934cb47c1db93821eda7dd489e6cb693 SHA512 41ffcad23c9f0274c48a058090d6404cd782dea6674b81615a6b3b7fa272ff5df4c68404fb4dcdb9d2275c13fb137f21f0f65232d5fb1ef6152cc25213893249 diff --git a/dev-util/ccache/ccache-3.3.4-r1.ebuild b/dev-util/ccache/ccache-3.3.4-r1.ebuild deleted file mode 100644 index f031f691f2a1..000000000000 --- a/dev-util/ccache/ccache-3.3.4-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit readme.gentoo-r1 - -DESCRIPTION="fast compiler cache" -HOMEPAGE="https://ccache.samba.org/" -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd" -IUSE="" - -DEPEND="app-arch/xz-utils - sys-libs/zlib" -RDEPEND="${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions" - -src_prepare() { - # make sure we always use system zlib - rm -rf zlib || die - eapply "${FILESDIR}"/${PN}-3.3-size-on-disk.patch #456178 - eapply_user - sed \ - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ - "${FILESDIR}"/ccache-config-3 > ccache-config || die -} - -src_install() { - DOCS=( AUTHORS.txt MANUAL.txt NEWS.txt README.md ) - default - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<'/usr/lib/ccache/bin' - - DOC_CONTENTS=" -To use ccache with **non-Portage** C compiling, add -${EPREFIX}/usr/lib/ccache/bin to the beginning of your path, before ${EPREFIX}/usr/bin. -Portage 2.0.46-r11+ will automatically take advantage of ccache with -no additional steps. If this is your first install of ccache, type -something like this to set a maximum cache size of 2GB:\\n -# ccache -M 2G\\n -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n -ccache now supports sys-devel/clang and dev-lang/icc, too!" - - readme.gentoo_create_doc -} - -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 - - # nuke broken symlinks from previous versions that shouldn't exist - rm -rf "${EROOT}"/usr/lib/ccache.backup || die - - readme.gentoo_print_elog -} diff --git a/dev-util/ccache/ccache-3.6.ebuild b/dev-util/ccache/ccache-3.6.ebuild deleted file mode 100644 index 905e13b61112..000000000000 --- a/dev-util/ccache/ccache-3.6.ebuild +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 - -DESCRIPTION="fast compiler cache" -HOMEPAGE="https://ccache.samba.org/" -SRC_URI="https://www.samba.org/ftp/ccache/${P}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~amd64-fbsd" -IUSE="" - -DEPEND="app-arch/xz-utils - sys-libs/zlib" -RDEPEND="${DEPEND} - dev-util/shadowman - sys-apps/gentoo-functions" - -PATCHES=( - "${FILESDIR}"/${PN}-3.4-size-on-disk.patch #456178 - "${FILESDIR}"/${PN}-3.5-nvcc-test.patch - "${FILESDIR}"/${PN}-3.6-disable-sized-cleanup.patch #649440 -) - -src_prepare() { - default - - # make sure we always use system zlib - rm -rf src/zlib || die - sed \ - -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ - "${FILESDIR}"/ccache-config-3 > ccache-config || die -} - -src_compile() { - emake V=1 -} - -src_test() { - emake check V=1 -} - -src_install() { - DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) - default - - dobin ccache-config - insinto /usr/share/shadowman/tools - newins - ccache <<<'/usr/lib/ccache/bin' - - DOC_CONTENTS=" -To use ccache with **non-Portage** C compiling, add -'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before -'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with -no additional steps. If this is your first install of ccache, type -something like this to set a maximum cache size of 2GB:\\n -# ccache -M 2G\\n -If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n -# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n -ccache now supports sys-devel/clang and dev-lang/icc, too!" - - readme.gentoo_create_doc -} - -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 - - # nuke broken symlinks from previous versions that shouldn't exist - rm -rf "${EROOT}"/usr/lib/ccache.backup || die - - readme.gentoo_print_elog -} diff --git a/dev-util/ccache/ccache-3.7.2.ebuild b/dev-util/ccache/ccache-3.7.2.ebuild index 9722ebbef665..9f539b9ea7b2 100644 --- a/dev-util/ccache/ccache-3.7.2.ebuild +++ b/dev-util/ccache/ccache-3.7.2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ccache/ccache/releases/download/v${PV}/ccache-${PV}. LICENSE="GPL-3" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sh sparc ~x86 ~amd64-fbsd" IUSE="" DEPEND="app-arch/xz-utils diff --git a/dev-util/ccache/ccache-3.7.3.ebuild b/dev-util/ccache/ccache-3.7.3.ebuild new file mode 100644 index 000000000000..f3a519ee73c5 --- /dev/null +++ b/dev-util/ccache/ccache-3.7.3.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 + +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" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-fbsd" +IUSE="" + +DEPEND="app-arch/xz-utils + sys-libs/zlib" +RDEPEND="${DEPEND} + dev-util/shadowman + sys-apps/gentoo-functions" + +PATCHES=( + "${FILESDIR}"/${PN}-3.5-nvcc-test.patch +) + +src_prepare() { + default + + # make sure we always use system zlib + rm -rf src/zlib || die + sed \ + -e "/^EPREFIX=/s:'':'${EPREFIX}':" \ + "${FILESDIR}"/ccache-config-3 > ccache-config || die +} + +src_compile() { + emake V=1 +} + +src_test() { + emake check V=1 +} + +src_install() { + DOCS=( doc/{AUTHORS,MANUAL,NEWS}.adoc CONTRIBUTING.md README.md ) + default + + dobin ccache-config + insinto /usr/share/shadowman/tools + newins - ccache <<<'/usr/lib/ccache/bin' + + DOC_CONTENTS=" +To use ccache with **non-Portage** C compiling, add +'${EPREFIX}/usr/lib/ccache/bin' to the beginning of your path, before +'${EPREFIX}/usr/bin'. Portage will automatically take advantage of ccache with +no additional steps. If this is your first install of ccache, type +something like this to set a maximum cache size of 2GB:\\n +# ccache -M 2G\\n +If you are upgrading from an older version than 3.x you should clear all of your caches like so:\\n +# CCACHE_DIR='${CCACHE_DIR:-${PORTAGE_TMPDIR}/ccache}' ccache -C\\n +ccache now supports sys-devel/clang and dev-lang/icc, too!" + + readme.gentoo_create_doc +} + +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 + + # nuke broken symlinks from previous versions that shouldn't exist + rm -rf "${EROOT}"/usr/lib/ccache.backup || die + + readme.gentoo_print_elog +} -- cgit v1.2.3