summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2016-07-11 08:45:11 -0500
committerDoug Goldstein <cardoe@gentoo.org>2016-11-30 11:17:51 -0600
commit4719aa4072b1298169db3940d7aced6c574f29fa (patch)
tree5137d0e3a01192977df17b73c31d8cd5f7e47033 /dev-util/rustfmt
parenteclass/cargo: ensure people have a good cargo depend (diff)
downloadgentoo-4719aa4072b1298169db3940d7aced6c574f29fa.tar.gz
gentoo-4719aa4072b1298169db3940d7aced6c574f29fa.tar.bz2
gentoo-4719aa4072b1298169db3940d7aced6c574f29fa.zip
rustfmt: initial version
This is an initial version of rustfmt.
Diffstat (limited to 'dev-util/rustfmt')
-rw-r--r--dev-util/rustfmt/Manifest24
-rw-r--r--dev-util/rustfmt/metadata.xml8
-rw-r--r--dev-util/rustfmt/rustfmt-0.5.0.ebuild46
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-util/rustfmt/Manifest b/dev-util/rustfmt/Manifest
new file mode 100644
index 000000000000..626e7683f403
--- /dev/null
+++ b/dev-util/rustfmt/Manifest
@@ -0,0 +1,24 @@
+DIST aho-corasick-0.5.1.crate 29015 SHA256 67077478f0a03952bed2e6786338d400d40c25e9836e08ad50af96607317fd03 SHA512 81dbcf720613671880c5f28066a1368ee7e953c5d9f44253dc1f9c31b601e87bac518baa48cfaa34b905a4f687ec30233c1dcb00da093dbe502ce8a2f96b9619 WHIRLPOOL 33ddea81b7768c02a14d4a461b0f8e0175567ffbf70dc0aa849bbd46830df0607212c2c5d51efa1b3902ad156b20f22c14fa07be2d03b848a202b66579639d54
+DIST bitflags-0.5.0.crate 10940 SHA256 4f67931368edf3a9a51d29886d245f1c3db2f1ef0dcc9e35ff70341b78c10d23 SHA512 220511ed57391bbbd4c8828cf485aed25d078a1cad6305367939072383e48468d545550002398a288d30d8501b9232fb9a91e7a3651f67103991677b9f25de0c WHIRLPOOL b2f567584f039de09c214eda79307a8e88c454a6e11e545abb100171947ec876b0573e0422c22d320c713750cccaba990518915fa6318656f6a3ac5fbf193bbe
+DIST diff-0.1.9.crate 2954 SHA256 e48977eec6d3b7707462c2dc2e1363ad91b5dd822cf942537ccdc2085dc87587 SHA512 d208be8da107d438168197c7ea67377048519b350c10d30410b57d71954ef634d03dfdb87b88f5a9fd7e0527ac31d165df95bf7a040b03c161831b9bb3f78dee WHIRLPOOL fdf5e092d43de67799e116f67e1f2b4c6014e93cd85e495f04be44f908b1ffea6e45a63bbebafc69fc61e93056526f53273f347a11d909578ff2f0f8991b33f0
+DIST env_logger-0.3.3.crate 5603 SHA256 aba65b63ffcc17ffacd6cf5aa843da7c5a25e3bd4bbe0b7def8b214e411250e5 SHA512 336384348b052e5af4f1b8be2930e124b35b4652c4c6fdf4861012092b81790da51776c6fea1d2667bcca65d0e0a27186ceee7aba6657a45551dfbc37a348b48 WHIRLPOOL 26a2cf3dd76a17e98939498e56255d5d14eb89705a7b8912fff2288e62cd2836b0e3d00f37a452a3583cad1aa991f16f0040968c7b856e509a23dac4ce2b488a
+DIST getopts-0.2.14.crate 16622 SHA256 d9047cfbd08a437050b363d35ef160452c5fe8ea5187ae0a624708c91581d685 SHA512 bb6101403b6d4ed6102dc84c69e95114c0f336924a3f45643a5a92ca82a2ad5ef6b0405e1975b84853831dcb7518b24d094a211a54cc2b46d32ff914e2f977bd WHIRLPOOL 43b3a9bb5dadb22ee63731003dadf0baef31b85dc70d22f16fca6d3059e40a426a249b1748793c8667655efc9dc7b1f05c6679368d4f4320f918b088af1965d6
+DIST kernel32-sys-0.2.1.crate 24530 SHA256 b5b5e7edf375e6d26243bde172f1d5ed1446f4a766fc9b7006e1fd27258243f1 SHA512 7d63fda3200fc565853e5c2733f06c97f48f94ddfb13db73f889197917478948c3f73b61a9c0efc42cd4f8a4355af4c1790e3145ea18f35ccf29a2be997f5bad WHIRLPOOL 80af653642291337ba9a3d581f8c98f042f26c6138e650a563eae8b7e41064934c565dab2b50b55e93482cb0567a14ae2fd46bb89beda528675e59ba47bdf7c5
+DIST libc-0.2.9.crate 77923 SHA256 95ca44454e7cfe7f8a2095a41a10c79d96a177c0b1672cbf1a30d901a9c16ee5 SHA512 4c0c7d1a28f42ad9c7ac8a12171a6d5d747b174ad3637497ea0db79f3b72469f811f2f6fb8dbbc6aee8d9e04637a9de7d8888db766b15a35b428c986d2650a16 WHIRLPOOL 956a7a182edf78907cc6b32a0fe2c8cfd8d627d5b833bab9e17ec9458ef9d7829a66a6070176ec7ec7da8d058a6b2bdd242d2165a2ff779290a376bf15c1a05c
+DIST log-0.3.6.crate 16110 SHA256 ab83497bf8bf4ed2a74259c1c802351fcd67a65baa86394b6ba73c36f4838054 SHA512 f2e5526a2613f70301a607cbc79213a946a6039f85473f9de28ceb2f3b464be61a584f34ca6381e077d8bf6ac751c93011087d1723649c0d7722281f1a2b7174 WHIRLPOOL 18ef70829fae28a19e545479f4fd6f181d5dbd67ea17dadfa5b8ecdb8437c04f07036de5c2d5421bec4f783ba9b6390e833d624506bdbe99d1b0c47624082bab
+DIST memchr-0.1.11.crate 6977 SHA256 d8b629fb514376c675b98c1421e80b151d3817ac42d7c667717d282761418d20 SHA512 96bbdb69913966326acba4bb82b8dfe0516edba225ac38b3355d60a2337ca620807750682fff3de7a2a38a7f70f0db7d8c1638701aacca7ab4c14098ba0fbcab WHIRLPOOL af0984d7e8084cc1aef94e486506a0fad9ec81d7be505233343e9fdad2ef0627a4d33bf99c2923959f9604326713ea24a01e2581aaa91249574b6c6d1a6d01a3
+DIST mempool-0.3.1.crate 6678 SHA256 4163a9c003e88a1d8d1ebe0a64101f66213f23735de6797ef91d136162e95594 SHA512 79c6d1891b6d8c6b8d2e6ec76b3ce49a4595fe5d4d21320c004657c6db37d0ef56d7caf6a7e113a1ad8332fa5be333aaa54e7a7ba88ea59c6ccb971e7043ef03 WHIRLPOOL c68bbd7bd64d97c2d4888db68d218d284d2c445a3e7fae503c55be51f333bc252bc7a9caafbbe5fd9b7c1d1a9195523149c2a2aeb9ed8a6ae9a61fdc91367f24
+DIST regex-0.1.63.crate 276618 SHA256 0452ff4986fadf8eff4c7165ebbab51fe51a42e7fc6fa337eee2fbe58b70eb03 SHA512 1758fc37f60e64a44bdaee66af84e9f5126c694186cf17612da7ff9b828261cb5136ea34a14e0a160cc7de2aa211f8fa806e3d27762e3aba8d0f4e0ba8c4e13d WHIRLPOOL 528440f6cd6bb211a8f570a758c1e698edf8463e05bb2c306e486172a527c1234d3a3864db0a3f384a450281a0a72bbc1cb7cd8e5996f898b9c19698c9d512f0
+DIST regex-syntax-0.3.1.crate 115911 SHA256 841591b1e05609a643e3b4d0045fce04f701daba7151ddcd3ad47b080693d5a9 SHA512 ed040291d3c9e195923134fae7cf436752578c9bf975b48e3a426009ea5a71eb3852441036726781172f2006dc450801b12f6dc0cba31e60d7ed4fa8e85dd721 WHIRLPOOL e676a41c26794f1a49bd86b3bf844b62d254412c6fa3879eff97a896c62cb8db5dd90d3642f48a64941ad42611e7246f033ab9c50d06a00b08f1e0d0eb2948bc
+DIST rustc-serialize-0.3.19.crate 40870 SHA256 6159e4e6e559c81bd706afe9c8fd68f547d3e851ce12e76b1de7914bab61691b SHA512 265f6426287e532822ba4ab7e209b0a0ba0fd58466f292c38b554ea12c7a992ad1a1910e10d151eedf1f0c99c248c64cdc4d4609cb67e36472e425d315f8a83e WHIRLPOOL 154e73db1b26bf65eef86b7f66aeae6def77a19e05d8786b89d74ae73ffac7e7d994e94572061a68cd07f01ed362d4320de901850aa8f089046a6165b4aa7fd6
+DIST rustfmt-0.5.0.crate 77624 SHA256 c2d860213f6e653527de316bdd9bf4fa821cc3c3b052540885a26653e7a77288 SHA512 228a68ba7d2c12483635506d2564edae3203848fd00020554993ffdad3d160be78ffb917564553f0eaafe2862c53316447dc131269cf14abeec9714a137d8fed WHIRLPOOL 59467598b6b9747be5d775b194ca3cee097c72d1e695d68536f67b46e8b907084383afe65629477b5b7e9762180104af9cb3cc8857f53808a10bfdbd77126608
+DIST strings-0.0.1.crate 12981 SHA256 54f86446ab480b4f60782188f4f78886465c5793aee248cbb48b7fdc0d022420 SHA512 be94151f46962ce4980d225af4bd007cd3bd56e630e361078b119796ae34566db97e8f35ae82e6bcef299fb79cd3101570eff25914dd9b4b410ea133ec0938a9 WHIRLPOOL b3018af3c0eb2220884ea68be7826ca7438fc306c27d9f8400e6bea5be5a0c2a00f8a427d75d2731b0884c6af328b9f732c713f928b92b6202b27a7f22fd4a1e
+DIST syntex_syntax-0.32.0.crate 663466 SHA256 86169b0992bf734955f1a3bb07e8ac9851506b1337d7d1f7c5537084f4e6efd5 SHA512 28059e6c68dc1324c0fb4411f829ad6a25fdb4573e15be5021206fb519b1a4d350129a073d279c7bf785308becfced5ecbdb7a60eb6ca78eada0111b5480d61b WHIRLPOOL 4236f466c18d8310f297797a70d97fdd8e10c87f1f647693bcd8f5ba01343e7ee4526092abc3dca75b141c192ee7cd2be47e5b1f23b0bc9cb9c1c3ca1f8e15bf
+DIST term-0.2.14.crate 25395 SHA256 f2077e54d38055cf1ca0fd7933a2e00cd3ec8f6fed352b2a377f06dcdaaf3281 SHA512 34872c1c1b06afb79ed3ac8a92d9c145681d22c09a3f1f5dd6047dfcc177ad5b1b9c9201ec982009e9f85d7ea71bac26d1f317fecfc67d2cd7569aa52c3327ed WHIRLPOOL 7a77e568ff67d47f7280cf4fcac4775f001d185325cf5559c342eac8ce882b2cae947d819b702f22a6e5d5b9f5cb21c8342004c5509dc9d1718ff0c592a8809d
+DIST term-0.4.4.crate 35853 SHA256 3deff8a2b3b6607d6d7cc32ac25c0b33709453ca9cceac006caac51e963cf94a SHA512 df99c7273ca6f97ec3d9206f98601540d26370124a7a5404cc072bf2e6621bc48fa74101e60f29bea10869278401193648e253fc2029f4cf8e3c8303625b11f7 WHIRLPOOL 57de8f4d686d6806fd18a3de9ead347d2c4c8b63af5175d3c2df4e894ffe13b62caa93774bd320e3d2c42108849012071bce8c07414856af8374884661bd164a
+DIST toml-0.1.28.crate 42323 SHA256 fcd27a04ca509aff336ba5eb2abc58d456f52c4ff64d9724d88acb85ead560b6 SHA512 4b4af8fa2f9079259e2c4ebddde70e82f96603c4ec69a266394366671a5c42c61a6ea13fd51145a97c286ca48cbe731650065fac1c20822f818aff48f2a2b13c WHIRLPOOL 7746b110241648466382a1e73ccf7569ed996f49270e2552443f7ff23bbe4bae3fc22e87513239828387efb1ba984220957dabe6b70bbaee14463a38cbea6d75
+DIST unicode-segmentation-0.1.2.crate 53030 SHA256 b905d0fc2a1f0befd86b0e72e31d1787944efef9d38b9358a9e92a69757f7e3b SHA512 bdc196b56b7776fba44ed068823752fd48b962fbf9fa64fc3b976ab6ef3bced449b9f76c2fa5ab5c91294253b697871c1fc66a9ea6b95f087fadd1ee047bddd9 WHIRLPOOL e89ed0a1e36fe8e059479cb575fa5a17063eebb37cc5412663d45da7cf8484a941fb08c6981169ac32cdbffec424ca66c13790f9565339ae96411ded57472bf4
+DIST unicode-xid-0.0.3.crate 15998 SHA256 36dff09cafb4ec7c8cf0023eb0b686cb6ce65499116a12201c9e11840ca01beb SHA512 268c1f3ec79ed2255c4e3759e4526b4892cb04f54ced07afbfff0ff8dcdec953e5b540fcb58b30bfec01b6401b58ef3b21320a0c1bf3a43aec22f0715568dcc5 WHIRLPOOL 6e11d1a02e8f03c7490e644b112a64b8ececa1e05e7fe39bdf63c540f17d5d5d676de775bf8c6a69efdbc926c3584a69a727ecbcffea34dbb608e36a8bbdb261
+DIST utf8-ranges-0.1.3.crate 8422 SHA256 a1ca13c08c41c9c3e04224ed9ff80461d97e121589ff27c753a16cb10830ae0f SHA512 84bd9b67c423923b856452e113f0d786ac438bc7f9b4d4d9f31f6f91f141a8ac4c93f45f722ac5a8a4bac8eac0e355fe7db1eebc62391709326e9817eda8c374 WHIRLPOOL 05b6f88e1ba81a2139d38d0feb60781976859adfc46731ef322a552b17db71e0bf61c6626432812fb2e0ca45ce10a5438d9dcf218a962ef7415187adaa0280fa
+DIST winapi-0.2.6.crate 741153 SHA256 4dfaaa8fbdaa618fa6914b59b2769d690dd7521920a18d84b42d254678dd5fd4 SHA512 ee81295e8154b0656b2ec892a38c69b3e1f839d6915ff68439ab5fe9ef9cf2d85cdadc9e8c9779d0eb3046821cafbc1f6e7977057178c85b29a21a86781bcc38 WHIRLPOOL 60e95e757262cab7eb8dc2fbefbf6ecb9578ce77a5841a7221eedf78b42a4faa0ce4a56c2a35726a85fa8105b84464468cb23b9c855853f9e777b69e601c66cb
+DIST winapi-build-0.1.1.crate 669 SHA256 2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc SHA512 8b0a239e205a5368892f41c870a8a7ea16e3468c364b03382bef7fa3a2e7159b09c07661e95b1227578f6d72c14879daa4444b28c51ae20ef15d985d59ca5a77 WHIRLPOOL 036080513776fe806cc9dd68bbf5b797776b98ca9fdceaa4bd77c87c66d2e5bd0eec8b0e7f0100dab8f2ced754da058f67e651002c786b4992c2be416a5d52ff
diff --git a/dev-util/rustfmt/metadata.xml b/dev-util/rustfmt/metadata.xml
new file mode 100644
index 000000000000..85cf4eb92057
--- /dev/null
+++ b/dev-util/rustfmt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>rust@gentoo.org</email>
+ <name>Rust Project</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-util/rustfmt/rustfmt-0.5.0.ebuild b/dev-util/rustfmt/rustfmt-0.5.0.ebuild
new file mode 100644
index 000000000000..a84908e85e18
--- /dev/null
+++ b/dev-util/rustfmt/rustfmt-0.5.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CRATES="
+aho-corasick-0.5.1
+unicode-xid-0.0.3
+log-0.3.6
+term-0.2.14
+rustc-serialize-0.3.19
+memchr-0.1.11
+toml-0.1.28
+bitflags-0.5.0
+strings-0.0.1
+getopts-0.2.14
+diff-0.1.9
+mempool-0.3.1
+unicode-segmentation-0.1.2
+term-0.4.4
+syntex_syntax-0.32.0
+winapi-0.2.6
+winapi-build-0.1.1
+kernel32-sys-0.2.1
+utf8-ranges-0.1.3
+regex-0.1.63
+regex-syntax-0.3.1
+rustfmt-0.5.0
+env_logger-0.3.3
+libc-0.2.9
+"
+
+inherit cargo
+
+DESCRIPTION="Tool to find and fix Rust formatting issues"
+HOMEPAGE="https://github.com/rust-lang-nursery/rustfmt"
+SRC_URI="$(cargo_crate_uris ${CRATES})"
+RESTRICT="mirror"
+LICENSE="|| ( MIT Apache-2.0 )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/rust-1.8.0"
+RDEPEND=""