diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /dev-util/sccache | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'dev-util/sccache')
-rw-r--r-- | dev-util/sccache/Manifest | 3 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.10.ebuild | 358 |
2 files changed, 361 insertions, 0 deletions
diff --git a/dev-util/sccache/Manifest b/dev-util/sccache/Manifest index 109971816ed7..423d53a05970 100644 --- a/dev-util/sccache/Manifest +++ b/dev-util/sccache/Manifest @@ -193,6 +193,7 @@ DIST ryu-0.2.7.crate 41382 BLAKE2B 267fc35f85a118384ff716f5e3d4045678f0addb74f1e DIST safemem-0.2.0.crate 6450 BLAKE2B 44598e47fa6185ec0890b4ba6d0e7b5f52f8892875741c3819559dfa61491736d4326fa1713916ca41d6daac72829ad31d0905f2e339a069a987d9715f340795 SHA512 71901f472668572e849504a8a830d4dd9a742729b0158d2c6865a5ad86e65cae8b5bb83707240ba03a7a74c610ace87f8b59bde68998d2bd66c19849aec4fc8a DIST safemem-0.3.0.crate 6947 BLAKE2B 1f3e86944eda42c890a5f5792b7e0a50fe6574b1cbb077b7f08aca7dfd33e26deb0fccb3aa96056de3d637d014658b682aa47b523f0efb1f8145af7bf34ce3a7 SHA512 c7d56204b29e9c0fcf925ccc43a2c910f6cd74d232c500b61996559a783ced3938cefa058128d72759e94edea683bb8922ac5ea631d16e31b58de093d6650b0f DIST same-file-0.1.3.crate 7078 BLAKE2B 175390d4c7cbe5b98b27b6d23adcef78beda50277f0035eb58d630591023fff92756e928d2089e915e166c5da6a8b1d5b3184e82576eab5145c1681d46b4e953 SHA512 2d3d03ab0dd4add93cd32e7ca43041d541bee41000fd8d98575a58cbd192fe4498234ab80baa3c4791de9f3d4214feae90f628fd655e3510ede61f757be3a82c +DIST sccache-0.2.10.tar.gz 242187 BLAKE2B cbb6e7673cbecb855c2126f5e5938866097fc57f05e24c74538112b887071e87f63cae864982d7b153f862711b6014e33e1a7145e6d01300123f2031e01d128a SHA512 4f4c051e93d937bae42739d9030dddddde48af59d66c69256172ad660e8d6135c64a77421174b98d304ddff9949d33a04e84e05c255ceccc73cd9cab32663989 DIST sccache-0.2.8.tar.gz 229658 BLAKE2B 95a9f7f3adf72dfc49e344de10e374e80e09d0d0ec91fa913da06f8c068a3e4632aecf30a3349ae02ebaa5d3984d5342258842656133fac77db33e0aaae7f75b SHA512 3469a50339892ca2495f5655a1bd9fcb21a60bd01384c6851789e806902d95d605a941b1a09e0172eef663bddbc7d32fba3afc9ec76bd2a27f32acb1b7b0a35f DIST sccache-0.2.9.tar.gz 239624 BLAKE2B a8b91e71512cf37c4d51fcfab8339345c8c4c6ab542422228f0b573220b2b5256d54c8347e36c54cbe39b6c3b5f7ecea3606b52564dc21af0a143bb2cf49f7aa SHA512 289109338913c935752e9bbcd45b7bf4ef48be03b5a7d92c93ac220b98f04338ff562030cf126f80bda8db41e83b1103e6c2bd55caaeef4d7804157f4f685080 DIST schannel-0.1.14.crate 38833 BLAKE2B 8825f6325f65c5aa4031a2260c4c54ad2a65634d2ce349bf6c31fc10a76f539dfe58d4de1e04fe6e48e885fabf5f720f5b4e4625f4a511e96c7cfe9837c901fa SHA512 550623a87f01c3c6181dad44d44397f172aa07c1b262a78d6eb38ca0676d68bcb8f231970c4eac87e93286225e17acae09551b07128c43b576ea77caae18c0b7 @@ -279,6 +280,7 @@ DIST uuid-0.6.5.crate 26185 BLAKE2B 60e120be31fcfe5f3fffc7a89b394889d20ac2f7adea DIST uuid-0.7.1.crate 32775 BLAKE2B b5d5d558a3b9091dd9c938a8f493de1ba11bb805829881acde4fc7f97cd565d3a87cd793c36dcf0503a33961ad44cb08e25b9b64d76fc884b760a7120947f5e0 SHA512 6559d538ee7a0ec8ec01f86dfc650a46aea8c7dd7c828c3e6c907c252573ec088261726eade02b89fa626b1058a6a5b3f679f507a506cc75ef838c885194453d DIST vcpkg-0.2.6.crate 9866 BLAKE2B c9c6e1a52e54d6d4103e0b833d77cdd4b2463123a5a12d7c15922bf782c7d56f0055ed5dc9d2bd236a14fb0ed6612c7b691d8a31a98e34b48f84228e6c10a567 SHA512 55678e3cbb7b1bf80e2589df3fc580bb595576a5f24e515819906082ed081e47a546d6825bb92fae56ed0157407244e1b77af1677f0380f2fdd15cc54853675e DIST vec_map-0.8.1.crate 14959 BLAKE2B f5c179ccb4349d543747d5e3bb3edfca4bc9f3f64ba3c2d40fb1d9cba98433b7a0641387aafda6347c9b3603592c64bd820b217b46fbfcd37f802f298e5793ab SHA512 026cf10dc7ba98ae51dd312fc847cbaea41c25f0da5db6e0e22c2ecf75584bbf876d7bd96035fbbcf6696d702d5a3f25977e02a2d77cf519aa21e3ed05710e40 +DIST version-compare-0.0.8.crate 14852 BLAKE2B 45d979e5c6ca2391f0e55260a5fea7734437731115468d3fdca29ead7433e3440b15e0619610903654bca702dfc96558550752b54b1d87dcbb550bd19f3d1b40 SHA512 15a26fdbcce0a41c8a9b89347001d26f9e1b9d682ad24f7a1ec30b0dfd1fb67d4938e5f1d45c43b7558e6682727c73932795f08d86e6fc07afead6ef7c1c9114 DIST version_check-0.1.5.crate 8173 BLAKE2B c1778a95fbc79e93bc25d6ee85c408cbcc2afc1a2317bd96b6d5e1c99862f26cc031e0a8b14451d7ea5a44d96c9b599c899bcebda36d3974effc51f9c236ca56 SHA512 cd3ca0b36108b0fe8e6a5c26614b4f3e3c36ffd13cd9eeb7693086b4a1f7b67c025613d90e79f4dd1bd3234a3e387b2ee890c6c410fe67d293b9b5503f5e9362 DIST void-1.0.2.crate 2356 BLAKE2B 41578fb5507f94e7d135f9595cec107ed00a926f4968df8b59792d1676ba5b6980cd67310f820fc37a9c14ebe43a171833fa8dfc09eac5dd42f2ebe808632a83 SHA512 1cc7d282600dc0164d7e410aa895d5dc99de1174991549c6733c94cc2027026517f66797751d737869eae58c560fa26edbf43f36b3015eb2fd99828fe40e0aa1 DIST vte-0.3.3.crate 2397439 BLAKE2B 213fccf5b1f09b2d23bca57be2abec0a3580ab01864c51dd364676f5c66decc5184ef15f0e484f9a94e892f118863655f4b2ed2a340a47276b3fe7b4db901dec SHA512 5e00e8409ef21edb5aa6fbe482785fd5969dd17a6695f82328c4ae12ea8622712dc3473f33832fdfe0cc2395411431fd47842e86e35022149d5e958c4e5f8fe9 @@ -296,6 +298,7 @@ DIST wincolor-1.0.1.crate 4737 BLAKE2B b1519327a69d71845bc4d7ebf34205d63883aacbe DIST ws2_32-sys-0.2.1.crate 4697 BLAKE2B 52a7a3f57bcd73156730ada4d78fe12a54a498c9064e0928e09de13a95bd9237f884538e5f9368b47a7ac3c425f0f798c26bad85f20bed4ea26c2fa16c779b97 SHA512 18356861fc595efe7d0180afb8ce7649da35a4f9ba456271d2068679ab258a861af32a2e016e241fbfbf5f6ef0eb33127b26eabfc11428af39506538faa4821f DIST xattr-0.2.2.crate 11750 BLAKE2B a5fc393d16935411a89e152e7afe9622f5b78cc207c1f3980c65f26adbe177efaa6c93e0c6ecac4ee0687609a932c957efb11678c9176d44010eebee651fc84c SHA512 a89d34313c35ab02d6ea25675c99f9c9650dee40a76223d62941edda43b3d2db83ed223bada129625b3cf8487c293646ce9980afc6dba8888fa078d5aa035cab DIST zip-0.4.2.crate 25852 BLAKE2B ea5e0e32ec66bc0b5bc0f3cfec4c81aa1c8c9dbf714ba024b9d609c2fe9b2cb0b11f9f788e74eb03a1764cf819c51cff6a637ab0580b52031841c00785b9d010 SHA512 84bf51fb83db91d0f6151e7ed4fe59cfcac5dacaa4da58ab09e226a48b14287275f121cf6302b29c693dbcb16e720fbccce7d6d986364ad5d403715235ed98e4 +EBUILD sccache-0.2.10.ebuild 6394 BLAKE2B 2fa1b79a2be1df52ea221cebc80df0a1aafcdc57d94cd87fbb56845823cb1f252d0582003a1bd7bd40a4156befb4dbaffe6793edd8f1d5194fd1e60b9e54ed43 SHA512 152d04c8e9afd0858bc773c3a50bc5ecff8dbfbdd9c285976624e0d67efb16c2a5eb978322fb7ffcd625908a647ffd5352305406cf122654c7afe1109c7f9940 EBUILD sccache-0.2.8-r2.ebuild 6419 BLAKE2B 9c0405202cc4146003c4852188b365689d25a2c23703131d9114bd2f83817d83d925c384916bce0c49077b0442ecf010f793dd48c1305f79cea49937f47b8c94 SHA512 3e1ab2fc36197abffed8a8e9d646055fe1e459e3659efa2954c82516fb4a3ddf2dc5ff6a6517f7c127a4d63189f96d424f9d2ea4e7f7edbd204d0e3103037acf EBUILD sccache-0.2.9.ebuild 6393 BLAKE2B d71659395cb9313b4c7ec1b1402b963b4950ed9d29fba63f99095d344fdf5d5474618c2165831660c19437a98b4e518b548de27bd34cec59f82cde6597a5286c SHA512 2d13edf303a22d84b6480008a099c15e5058d2e53a20b448dea1b06b2d9f2ccb57564035079765bb98b0919b5f05fa650cdbeef75c0a6803b47d8165b4ac0648 MISC metadata.xml 1054 BLAKE2B 13d8f1062d23ea96ec26e52b27c8a3b4a47b3e3f48e06b2b4ae39bb068604556ecb76f3319fc2578babc10cd235ed0ab5a28722b9cbb0a776b8a35d60dead4ea SHA512 2f8a4161a99a060d4651f195eb459173f0e02bf3dd72371611b94408c8cb2f8e7537004a0b9d90cae461cc0ba8e1531a80823db6734cb8241ad57737fd50b5a5 diff --git a/dev-util/sccache/sccache-0.2.10.ebuild b/dev-util/sccache/sccache-0.2.10.ebuild new file mode 100644 index 000000000000..09322dc521cc --- /dev/null +++ b/dev-util/sccache/sccache-0.2.10.ebuild @@ -0,0 +1,358 @@ +# Copyright 2017-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# needs itoa-0.3.4 for tests +CRATES=" +adler32-1.0.3 +aho-corasick-0.6.9 +ansi_term-0.11.0 +ar-0.6.1 +arc-swap-0.3.6 +arraydeque-0.4.3 +arrayvec-0.4.7 +ascii-0.8.7 +ascii-0.9.1 +assert_cmd-0.9.1 +atty-0.2.11 +backtrace-0.3.9 +backtrace-sys-0.1.24 +base64-0.9.3 +bincode-0.8.0 +bincode-1.0.1 +bitflags-0.9.1 +bitflags-1.0.4 +buf_redux-0.6.3 +bufstream-0.1.4 +build_const-0.2.1 +byteorder-1.2.7 +bytes-0.4.11 +case-0.1.0 +cc-1.0.25 +cfg-if-0.1.6 +chrono-0.4.6 +chunked_transfer-0.3.1 +clap-2.32.0 +cloudabi-0.0.3 +combine-3.6.3 +conhash-0.4.0 +core-foundation-0.2.3 +core-foundation-0.5.1 +core-foundation-sys-0.2.3 +core-foundation-sys-0.5.1 +counted-array-0.1.2 +crc-1.8.1 +crossbeam-deque-0.6.2 +crossbeam-epoch-0.6.1 +crossbeam-utils-0.5.0 +crossbeam-utils-0.6.1 +daemonize-0.3.0 +derive-error-0.0.3 +difference-2.0.0 +directories-1.0.2 +dtoa-0.4.3 +either-1.5.0 +encoding_rs-0.8.10 +env_logger-0.5.13 +error-chain-0.11.0 +error-chain-0.12.1 +escargot-0.3.1 +failure-0.1.3 +failure_derive-0.1.3 +filetime-0.1.15 +filetime-0.2.4 +flate2-1.0.5 +flate2-crc-0.1.1 +float-cmp-0.4.0 +fnv-1.0.6 +foreign-types-0.3.2 +foreign-types-shared-0.1.1 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +futures-0.1.25 +futures-cpupool-0.1.8 +gcc-0.3.55 +getopts-0.2.18 +h2-0.1.13 +http-0.1.14 +httparse-1.3.3 +humantime-1.1.1 +hyper-0.11.27 +hyper-0.12.16 +hyper-tls-0.1.4 +hyper-tls-0.3.1 +hyperx-0.12.0 +idna-0.1.5 +indexmap-1.0.2 +iovec-0.1.2 +itertools-0.7.9 +itoa-0.3.4 +itoa-0.4.3 +jobserver-0.1.11 +jsonwebtoken-5.0.1 +kernel32-sys-0.2.2 +language-tags-0.2.2 +lazycell-1.2.0 +lazy_static-0.2.11 +lazy_static-1.2.0 +libc-0.2.44 +libflate-0.1.18 +libmount-0.1.11 +linked-hash-map-0.2.1 +local-encoding-0.2.0 +lock_api-0.1.5 +log-0.3.9 +log-0.4.6 +matches-0.1.8 +md5-0.3.8 +memcached-rs-0.3.0 +memchr-1.0.2 +memchr-2.1.1 +memoffset-0.2.1 +mime-0.2.6 +mime-0.3.12 +mime_guess-1.8.6 +mime_guess-2.0.0-alpha.6 +miniz_oxide-0.2.0 +miniz_oxide_c_api-0.2.0 +mio-0.6.16 +mio-named-pipes-0.1.6 +mio-uds-0.6.7 +miow-0.2.1 +miow-0.3.3 +msdos_time-0.1.6 +multipart-0.13.6 +native-tls-0.1.5 +native-tls-0.2.2 +net2-0.2.33 +nix-0.11.0 +nodrop-0.1.13 +normalize-line-endings-0.2.2 +number_prefix-0.2.8 +num_cpus-1.8.0 +num-integer-0.1.39 +num-traits-0.1.43 +num-traits-0.2.6 +openssl-0.10.15 +openssl-0.9.24 +openssl-probe-0.1.2 +openssl-sys-0.9.39 +owning_ref-0.4.0 +parking_lot-0.6.4 +parking_lot_core-0.3.1 +percent-encoding-1.0.1 +phf-0.7.23 +phf_codegen-0.7.23 +phf_generator-0.7.23 +phf_shared-0.7.23 +pkg-config-0.3.14 +podio-0.1.6 +predicates-0.9.1 +predicates-core-0.9.0 +predicates-tree-0.9.0 +proc-macro2-0.4.24 +pulldown-cmark-0.0.3 +quick-error-1.2.2 +quote-0.3.15 +quote-0.6.10 +rand-0.3.22 +rand-0.4.3 +rand-0.5.5 +rand-0.6.1 +rand_chacha-0.1.0 +rand_core-0.2.2 +rand_core-0.3.0 +rand_hc-0.1.0 +rand_isaac-0.1.0 +rand_pcg-0.1.1 +rand_xorshift-0.1.0 +redis-0.9.1 +redox_syscall-0.1.42 +redox_termios-0.1.1 +regex-1.0.6 +regex-syntax-0.6.3 +relay-0.1.1 +remove_dir_all-0.5.1 +reqwest-0.8.8 +reqwest-0.9.5 +retry-0.4.0 +ring-0.13.5 +rouille-2.2.0 +rustc-demangle-0.1.9 +rust-crypto-0.2.36 +rustc-serialize-0.3.24 +rustc_version-0.2.3 +ryu-0.2.7 +safemem-0.2.0 +safemem-0.3.0 +same-file-0.1.3 +schannel-0.1.14 +scoped-tls-0.1.2 +scopeguard-0.3.3 +security-framework-0.1.16 +security-framework-0.2.1 +security-framework-sys-0.1.16 +security-framework-sys-0.2.1 +selenium-rs-0.1.1 +semver-0.9.0 +semver-parser-0.7.0 +serde-1.0.80 +serde_derive-1.0.80 +serde_json-1.0.33 +serde_urlencoded-0.5.4 +sha1-0.6.0 +signal-hook-0.1.6 +siphasher-0.2.3 +skeptic-0.4.0 +slab-0.4.1 +smallvec-0.6.6 +socket2-0.3.8 +stable_deref_trait-1.1.1 +string-0.1.2 +strip-ansi-escapes-0.1.0 +strsim-0.7.0 +syn-0.11.11 +syn-0.15.21 +synom-0.11.3 +synstructure-0.10.1 +syslog-4.0.1 +tar-0.4.20 +tempdir-0.3.7 +tempfile-3.0.4 +term-0.5.1 +termcolor-1.0.4 +termion-1.5.1 +textwrap-0.10.0 +thread_local-0.3.6 +threadpool-1.7.1 +time-0.1.40 +tiny_http-0.6.2 +tokio-0.1.13 +tokio-codec-0.1.1 +tokio-core-0.1.17 +tokio-current-thread-0.1.4 +tokio-executor-0.1.5 +tokio-fs-0.1.4 +tokio-io-0.1.10 +tokio-named-pipes-0.1.0 +tokio-process-0.2.3 +tokio-reactor-0.1.7 +tokio-serde-0.1.0 +tokio-serde-bincode-0.1.1 +tokio-service-0.1.0 +tokio-signal-0.2.7 +tokio-tcp-0.1.2 +tokio-threadpool-0.1.9 +tokio-timer-0.2.8 +tokio-tls-0.1.4 +tokio-udp-0.1.3 +tokio-uds-0.2.4 +toml-0.4.9 +treeline-0.1.0 +try-lock-0.1.0 +try-lock-0.2.2 +twoway-0.1.8 +ucd-util-0.1.3 +unicase-1.4.2 +unicase-2.2.0 +unicode-bidi-0.3.4 +unicode-normalization-0.1.7 +unicode-width-0.1.5 +unicode-xid-0.0.4 +unicode-xid-0.1.0 +unix_socket-0.5.0 +unreachable-1.0.0 +untrusted-0.6.2 +url-1.7.2 +utf8parse-0.1.1 +utf8-ranges-1.0.2 +uuid-0.6.5 +uuid-0.7.1 +vcpkg-0.2.6 +vec_map-0.8.1 +version_check-0.1.5 +version-compare-0.0.8 +void-1.0.2 +vte-0.3.3 +walkdir-1.0.7 +want-0.0.4 +want-0.0.6 +which-2.0.0 +winapi-0.2.8 +winapi-0.3.6 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.4.0 +winapi-util-0.1.1 +winapi-x86_64-pc-windows-gnu-0.4.0 +wincolor-1.0.1 +ws2_32-sys-0.2.1 +xattr-0.2.2 +zip-0.4.2 +" + +inherit cargo eutils + +DESCRIPTION="ccache/distcc like tool with support for rust and cloud storage" +HOMEPAGE="https://github.com/mozilla/sccache/" +SRC_URI="https://github.com/mozilla/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="azure dist-client dist-server gcs memcached redis s3" + +DEPEND=" + dist-server? ( dev-libs/openssl:0= ) + gcs? ( dev-libs/openssl:0= ) +" + +RDEPEND="${DEPEND} + dist-server? ( sys-apps/bubblewrap ) +" + +QA_FLAGS_IGNORED="usr/bin/sccache*" + +src_configure() { + myfeatures=( + $(usev azure) + $(usev dist-client) + $(usev dist-server) + $(usev gcs) + $(usev memcached) + $(usev redis) + $(usev s3) + ) +} + +src_compile(){ + cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} + +src_install() { + cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + + keepdir /etc/sccache + + einstalldocs + dodoc -r docs/. + + if use dist-server; then + newinitd "${FILESDIR}"/server.initd-r1 sccache-server + newconfd "${FILESDIR}"/server.confd-r1 sccache-server + + newinitd "${FILESDIR}"/scheduler.initd-r1 sccache-scheduler + newconfd "${FILESDIR}"/scheduler.confd-r1 sccache-scheduler + fi +} + +src_test() { + cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features +} + +pkg_postinst() { + ewarn "${PN} is experimental, please use with care" + use memcached && optfeature "memcached backend support" net-misc/memcached + use redis && optfeature "redis backend support" dev-db/redis +} |