diff options
Diffstat (limited to 'dev-util/sccache')
-rw-r--r-- | dev-util/sccache/Manifest | 8 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.10.ebuild | 2 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.12.ebuild | 359 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.8-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.9.ebuild | 2 |
5 files changed, 367 insertions, 6 deletions
diff --git a/dev-util/sccache/Manifest b/dev-util/sccache/Manifest index 423d53a05970..59ff6aa7e288 100644 --- a/dev-util/sccache/Manifest +++ b/dev-util/sccache/Manifest @@ -194,6 +194,7 @@ DIST safemem-0.2.0.crate 6450 BLAKE2B 44598e47fa6185ec0890b4ba6d0e7b5f52f8892875 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.12.tar.gz 244128 BLAKE2B 7d20af625ba954c950e4e54f789b3f755178b73d700453361a2a9c8603aa89a6044bd85dcb7895837cb2898ba3adbf5167bb023857b439e73c164cb70f924994 SHA512 1f7495aa7c0749c4bfbd85a88a304a6ed18cc9bfcd341f0f1a668a743ae31d355bc8c5b3199b048d8bcab3ce8e9c8b844a609e4c3009d4e5497dd080aa881a45 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 @@ -298,7 +299,8 @@ 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 +EBUILD sccache-0.2.10.ebuild 6385 BLAKE2B 1cb01844ad67be510d683986031fdd9ff2ebadc0c4bbb336b4a907adfc048ffd33780a14a39ea46c179a64e319476631c6978c47de8c0baf9434e32493125d3b SHA512 afd2b6d84bc62241dbe7db9f8d25cdd5984a30bf1a2c049ff570dd56c884a24a258b423a95491e9520f9605c504a30abccbbc5dfd47fb035d01b71c5c52b9ce2 +EBUILD sccache-0.2.12.ebuild 6406 BLAKE2B 51319706337caf471192178c230ea417652f9d9a05ea3f7e994b8a9e3839d4b5a3c72ae67782169686ad3eff3b300db1c61f88b521ec45b87ae3f7a56ee990a6 SHA512 6a563d57b7a2df6c6643478110ab7816e7f0dd80488ba594cd10429663d38637ce8904fee19c208cd54d8c529a0e20d626ba8d752be5978e20ebe8312384e369 +EBUILD sccache-0.2.8-r2.ebuild 6410 BLAKE2B 68c04331d4560a815560418e08272fc2d7958f2e983810a0b03a9f2d9bf939c2c300cba05ce5b644969092bb13074480d013ef71617077035e4b2f0af57499b5 SHA512 9a64917751abda6eb695e2d34a041f29ff6edb89a32b88054500ef13eb8132ef5a4cd78971d24567b1630f948b0cb8a4ea5b4b3e73a427e6d04a8231081a71ee +EBUILD sccache-0.2.9.ebuild 6384 BLAKE2B 780a57ecc794e77a245aaebd04c4920fbe371d62907709d82f6598a6349b6aedd48cbaf8e14cc0ce411d93beedb38aa7d8087d11f72433b82a19b2272fdd540d SHA512 f4fc836e377eb8ea415b3b809de37ebb231f2fca274c3691c8525b7abd9838f0d338f258eb35e92143e9c76f9005d2fc28d45066de6223c95781819882981fb6 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 index 09322dc521cc..79d25139c158 100644 --- a/dev-util/sccache/sccache-0.2.10.ebuild +++ b/dev-util/sccache/sccache-0.2.10.ebuild @@ -331,7 +331,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache diff --git a/dev-util/sccache/sccache-0.2.12.ebuild b/dev-util/sccache/sccache-0.2.12.ebuild new file mode 100644 index 000000000000..1cec922e072b --- /dev/null +++ b/dev-util/sccache/sccache-0.2.12.ebuild @@ -0,0 +1,359 @@ +# 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 +lazy_static-0.2.11 +lazy_static-1.2.0 +lazycell-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 +lru-disk-cache-0.3.0 +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 +num-integer-0.1.39 +num-traits-0.1.43 +num-traits-0.2.6 +num_cpus-1.8.0 +number_prefix-0.2.8 +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 +rust-crypto-0.2.36 +rustc-demangle-0.1.9 +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 +utf8-ranges-1.0.2 +utf8parse-0.1.1 +uuid-0.6.5 +uuid-0.7.1 +vcpkg-0.2.6 +vec_map-0.8.1 +version-compare-0.0.8 +version_check-0.1.5 +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 ${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 +} diff --git a/dev-util/sccache/sccache-0.2.8-r2.ebuild b/dev-util/sccache/sccache-0.2.8-r2.ebuild index 21a6f2c2688f..3cec993ae5e8 100644 --- a/dev-util/sccache/sccache-0.2.8-r2.ebuild +++ b/dev-util/sccache/sccache-0.2.8-r2.ebuild @@ -328,7 +328,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache diff --git a/dev-util/sccache/sccache-0.2.9.ebuild b/dev-util/sccache/sccache-0.2.9.ebuild index d1941557a46d..9995856c3628 100644 --- a/dev-util/sccache/sccache-0.2.9.ebuild +++ b/dev-util/sccache/sccache-0.2.9.ebuild @@ -331,7 +331,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache |