diff --git a/dev-python/justbytes/Manifest b/dev-python/justbytes/Manifest index c23abc5..a0f1d5f 100644 --- a/dev-python/justbytes/Manifest +++ b/dev-python/justbytes/Manifest @@ -1,2 +1,2 @@ DIST justbytes-0.12.tar.gz 28425 BLAKE2B a568cbc1319965bee18d07f544f27aeedccfb7e5592e972c04aee28182f3c18ed0ea8b856a85d6760908e32359deb6e3810579000c2285537b9a64d8a976648d SHA512 2cf98b340d96c1fa7fa811173a99d17b8502040a6e59b0ffcf3cea83ff7625c91e6ec61c3170cb35f9523bbd2f68fae1053409d3a7d2c945b02a80f44a991adf -EBUILD justbytes-0.12.ebuild 540 BLAKE2B 3fed9f4dde388a5d5128c9bc717f593f8bce0c3995a04e6eae575c1788a0593902dc850aeaf711f64f5021955a7f2e1fd2e2ad166892e9c341575e817a5e811f SHA512 4430c74547a696d15de8451839c1082f659d733cc2d05908b4fcb28f2e4f37663aead2f75404e2357c5b70b6c8fa4688b56aae9fb0b386396409a9d5efab07b6 +EBUILD justbytes-0.12.ebuild 571 BLAKE2B cfd88638de879d9a0df3773f0fa8435b0954830e441e03522c4b9978fcfdc453b50825088778d2596e8d4a82a94c477f739a89412a3523f12cf12f449e241df5 SHA512 fcd9d5f656bfd7002cb17c94afb996d5703cdf84dcba4e044b5b2884f3d9617088ecaa9de1bc8862cbba932100f1ce3ae4246eec8c333d1623f18a0bb378ac4d diff --git a/dev-python/justbytes/justbytes-0.12.ebuild b/dev-python/justbytes/justbytes-0.12.ebuild index acf822a..f55b812 100644 --- a/dev-python/justbytes/justbytes-0.12.ebuild +++ b/dev-python/justbytes/justbytes-0.12.ebuild @@ -15,6 +15,7 @@ LICENSE="LGPL-2+" SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +RDEPEND="dev-python/justbases" DEPEND="${RDEPEND} dev-python/setuptools[${PYTHON_USEDEP}]" diff --git a/sys-fs/stratis-cli/Manifest b/sys-fs/stratis-cli/Manifest index d357f1f..dd3b0ba 100644 --- a/sys-fs/stratis-cli/Manifest +++ b/sys-fs/stratis-cli/Manifest @@ -1,2 +1,4 @@ DIST v1.1.0.tar.gz 35008 BLAKE2B 9300fb008bde6f3d90c6912c3da71f43090f7b713d05133339761bf1aed846199237e3cec0d59930de5a299405e988d5d7c596cca79d69f2f280236bede13e8c SHA512 0c79d646289a4f2390a52b10cb00eb58b55f3ca9b7dce22d5bae5afaa607ffcdb355b17465c69307d707963c4fbd958697e57046c8265f5bc5eee1acc871755e -EBUILD stratis-cli-1.1.0.ebuild 667 BLAKE2B 6ebb891920fbed44d9a517f24f7d5ac7c6bf9c7d1880fa0cf894ef934f98e52047d17e6700927dc69282e156ac0761508af1b30be2305bbc4d83f92951a06879 SHA512 b8b9c029d699c8417e1ec577249a7aa0c30308a14702887623b3ff0fdb9169d854874bcc06947acad062216835ac954bf2fd9f6802f62ddd12929be679323fc2 +DIST v2.0.0.tar.gz 41707 BLAKE2B a3354f73d0ea0b4e64f0bce8202e8052f0de6dc2e1339002d1c84293a8cf4f3c7444ac3930caeb190cf692adf5d533cdb7076843580aa8651a839ed3c1d3b6df SHA512 96ea380d279db4f1bde7dc640f097a15fc2744db329765adc26a8e59af3b4eab6d53808f03fe94edce34d533a5a0eb59863cff1bb002e3d7d7f7228875c8fcc3 +EBUILD stratis-cli-1.1.0.ebuild 673 BLAKE2B 7237fbd919e275b9bec40f20d69e51e557e4b51ae2c650e84fa449f6844277f0589cdd42f2da788305f3222efabed2b78c9d4b29637bbd807db5e1637fcbb477 SHA512 3c4b3b27c5846f4424ed76dfa41ad8e35f6fc7d87cd58badb54374f9b7ba195c92e0f360b91e4d98ae9cee546b9b0aa5f547c6cb55b51883c62a3b72bddde371 +EBUILD stratis-cli-2.0.0.ebuild 673 BLAKE2B 7237fbd919e275b9bec40f20d69e51e557e4b51ae2c650e84fa449f6844277f0589cdd42f2da788305f3222efabed2b78c9d4b29637bbd807db5e1637fcbb477 SHA512 3c4b3b27c5846f4424ed76dfa41ad8e35f6fc7d87cd58badb54374f9b7ba195c92e0f360b91e4d98ae9cee546b9b0aa5f547c6cb55b51883c62a3b72bddde371 diff --git a/sys-fs/stratis-cli/stratis-cli-1.1.0.ebuild b/sys-fs/stratis-cli/stratis-cli-1.1.0.ebuild index 4001703..ce049e8 100644 --- a/sys-fs/stratis-cli/stratis-cli-1.1.0.ebuild +++ b/sys-fs/stratis-cli/stratis-cli-1.1.0.ebuild @@ -19,8 +19,8 @@ DEPEND=" dev-python/setuptools[${PYTHON_USEDEP}] dev-python/dbus-python dev-python/psutil + dev-python/python-dateutil dev-python/justbytes - dev-python/justbases dev-python/dbus-client-gen dev-python/dbus-python-client-gen" RDEPEND="${DEPEND}" diff --git a/sys-fs/stratis-cli/stratis-cli-2.0.0.ebuild b/sys-fs/stratis-cli/stratis-cli-2.0.0.ebuild new file mode 100644 index 0000000..ce049e8 --- /dev/null +++ b/sys-fs/stratis-cli/stratis-cli-2.0.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="CLI for the Stratis project" +HOMEPAGE="https://stratis-storage.github.io" +SRC_URI="https://github.com/stratis-storage/${PN}/archive/v${PV}.tar.gz" + +SLOT="0" +LICENSE="Apache-2.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/dbus-python + dev-python/psutil + dev-python/python-dateutil + dev-python/justbytes + dev-python/dbus-client-gen + dev-python/dbus-python-client-gen" +RDEPEND="${DEPEND}" + +distutils_enable_tests pytest diff --git a/sys-fs/stratisd/Manifest b/sys-fs/stratisd/Manifest index 42d0b70..c94bce7 100644 --- a/sys-fs/stratisd/Manifest +++ b/sys-fs/stratisd/Manifest @@ -1,4 +1,4 @@ -AUX init.d.stratisd-r1 657 BLAKE2B 411032ef0a25784b6df72713c0bea45f7a1f8a459ef50d046a79df35eea969c676eafed14c5e57b1c12d96af85803a3f09a69e403b7622f43ad2a14994dde58c SHA512 59860ff5aa700b3afd9af801bd2b7f907964b84cdaaff42984c92d84735cee1a204f833c0122532ccfd4b241c1747572634317ee291687ad5f2c2f330f3aaa3c +AUX init.d.stratisd-r1 622 BLAKE2B 5c16c592ecbe9b905e0cc844eb98655693c574b50afa71b1196b0a986d8b3cb6e1dad19dfabc61a4b433f07686f7bfb3c28776dd979eee7399757e405397e173 SHA512 8e567c44c00cdf6ca0f1bbaa8c38238e48bf0d319eec7c223735ff81a9516aa45dce96ddc60e9db52c754fa1ddc28902a54b89d9ee3b4d3440cb8efcac2cfeae DIST aho-corasick-0.6.3.crate 24963 BLAKE2B 7d22a3501664a4324e43a20874fe4d2afcb1576d66f76bcfd894c0ea03b0daefd85e03e20196370dcb86d8c81067c3bc2202889349389c23b876d4b2bf8f2bbd SHA512 4d0d55d8a6657fe13009d66728b7417926325dd9ca4f7ad7cd5d40e59cf0a55b906cd109d724a0b385ee988526535fc64a467ded171419e452c5a8c90196ae45 DIST ansi_term-0.10.2.crate 16642 BLAKE2B 69c001a07e02f48eeea8d63b1a242fc1eeb2ab9cb874e6c0e6cf40efbb6a1d585572330f9b69abb4d8df3012edc6e861854f816571b35aa55ee759fce79f1203 SHA512 ad4572845913cb21fdd9d8c0bffc5fce1571ef62c32fe83fd41262f7955e918400a446077494038299c4c0dfb0bd030d089336b3f169e726a5e15ee5c78ea3b5 DIST atty-0.2.6.crate 5617 BLAKE2B 52274b58d4ae19cdd57a85a46449be32ac4662da6ce746382eff30c75729dbb5e50a9e9ad59f11b11f6d40b7ec2bc261e290f33127de62636c7f249c174bc4d3 SHA512 ae0aa91616571391eb4a2cc46b4765784dcd96b514fc7c3b64f756d1a180f95c83b9d14086f872fb7466be0e623f44a1a3170e786d7fbff5bdd949ef0cd88997 @@ -29,6 +29,7 @@ DIST fuchsia-zircon-sys-0.3.3.crate 7191 BLAKE2B 530bb5d475ac828843af248c6bbd24c DIST gcc-0.3.54.crate 37248 BLAKE2B e1e14c117776c6e194625223b027ff90b9fddc179ff381bb5649b7020dab10bf06a17237a8473ca9e7dff9c713da899314aeb9251e94fd0eacc8bdb94d68c7e0 SHA512 83b5371d33bbc67dd08d46bdaa3636e09a98078f7474912b92c20bcbc027ecdad65b1cae80f427e5508e1bf2de896c8c536375144aecaf0cbcdfdb7368ff97c1 DIST humantime-1.1.1.crate 16689 BLAKE2B fe9d8ef8ad396bb8452f1e28c4a122e3918c61042f0cee8c5769683f9b321f82514474a100aecc5bfc39422bfaadacfb35bf9f14bd3814d1de62fd0b7517e67e SHA512 b18608d088519df5e0c531c8756635f41bb6515ed7463891e6145b9a78ca2bc45c0698789015c093463c704b240434d1b54ab327fc4182a06a8b1d01f50430c6 DIST iovec-0.1.2.crate 8565 BLAKE2B c1ff225d7e8cb8b7efc2be01763740c4f0c1188a5f1f27c5fd3fc34104b2280bee59915d71812756bfd36832fb807374d531792936ed8a7228d52ab98d622a50 SHA512 3e523bcb8b9891be66398f44c97933d246b7a7fbfc4f315bfda6cdb22ca2786ccc82139ee1b646b4c24f6f50f57fba38f9b1fb7c75e859722e9e9c789b458223 +DIST itertools-0.8.0.crate 78917 BLAKE2B 4b519303380c421b5ec9af7b5c97575a39899ed77b0ff462d5c5db65a70f9c1f56959254aa7d20db3fc4f8af033340a96fbcebb189f4d92a2e09f887c736a898 SHA512 ce1dd1f52f6792a6f5303e15f74063d50c11b75312cb807eeddaae7811686347c390426956cbe87b827b970b14b6e4d57fb4ac0f288632766218ff8661feb610 DIST itoa-0.3.1.crate 73340 BLAKE2B b1cd133bf79f2c1ea7a38c5607a12cba1d8f707e65208e4d8e30448e0486320efb1933d4f19508a710b46803133bf98c33666d3406a2f52897d8544f8eabc611 SHA512 b6ade2740fefa2e437ad82a1b9ad7c284593f3525a6e746aa377e0d52b434f7f46a073df552c5ba9e9c47f1737f349654c38261c08ec762dfd9238a8d9c3d3ee DIST kernel32-sys-0.2.2.crate 24537 BLAKE2B dfc4a1e31d3ec9e2ac62b890839919fb7fed1444070c1dcd75bb75acfb53556d6cf2eddf5a6639e7852a3df2a0cc715c5ce1d3fc898ef16a1687020d98f715bc SHA512 682bc7c629aefd035966a2873518fd60719121cca7d63d89d6c97ff5306f24d8b5055a3c91b4eedaec22b1d5dd3fb8b48ff7341a05bbd72d86e06c422dab473b DIST lazy_static-0.2.8.crate 9950 BLAKE2B fff432af8299c8ae39f055a0c6bf0b8bdb7c3317b77ffc8a3c9b248e79434f8bb3f737596822fc5cf0dda7a2ce39616f699ca13a95d2f56cb619b3263beaf415 SHA512 21c6ea68cb40d187a19e6d960fe0d7e4671101f26b304e4cbe6124f1a3d983fc41c44c4ce9e0d9b984783b7ba94ea873236e48178bdf56cfb8c0a8cfb9ebe368 @@ -51,6 +52,7 @@ DIST num-traits-0.1.37.crate 20492 BLAKE2B c7327ac98110871c9ce2896653c8b7c7e3ce0 DIST num-traits-0.2.5.crate 39136 BLAKE2B cbac31ecc18b9617dcac752fcc45ec1d0e46597f5b0030d21a8427d66bac2211254d5783982403fa9376b57019971c8e616590b4ebad45075fd979949d78b3b0 SHA512 0c99188724984b37943b20375f111bcbb1ef5db2a41c6cfb22df4ba4702b43fdb03be6fbeba868761a62a3fd2997922a22db49ba4164d867cac95e765772b10e DIST pkg-config-0.3.9.crate 11055 BLAKE2B 8c8c9a4badcb2d2691a953b06a6c479794eae97e40d95509051ae34665ac467554849f050eafd83c03070c9239709b7873e1c33604a06acce396ddf678c96e34 SHA512 084e18e8c91ba6a1b305624d16c06f8f7df994c93cf86ccf443bc8f2669368a15bfa9875bc4f2933e94aa268e15fef783235c98558ba596cfc79dbd31f0b69d1 DIST proptest-0.8.7.crate 191364 BLAKE2B efcf51f35c5b8af21c6ee8b5d117d2d67ed06034edbf769ff0f639f72bae34dd29cf241513848b1315c53b1a967725d16926cd673e322a010dc219eb78c7b6ba SHA512 7c53afdd80678cae5e862f58a61588670b81596e1fa6d0dfaec06611c9ee9e9c71dbe79b537295d8df757baa693bcc3943d268a42ebe26bf4af7c1c551d8e23c +DIST proptest-0.9.0.crate 167488 BLAKE2B ddf91a61aa1fcc518ceb98ebdbe627f5fd60cd9f399c746bbe58caae33b4e2958ee345440065188f37df50cb789b276cd4f876cb86612952cfc1bdcf25bd5132 SHA512 c8bba125943a0e1da9d879208bc61e8e9784b17f762b48273b2dd230215355da2421240b5cfe94b70133174d938b840ad2539159090b6c6cd9b1e2a3c6ba1559 DIST quick-error-1.2.2.crate 15132 BLAKE2B 0c35f1d0145d4a3bc4b835f203cc4348e1d9e8f6f7c1ef887d923bf8a9a63f896929da67e27978f0d797a9455be5aa868078bccfb8eac480569d62ad64e0fee8 SHA512 f4ed283635e1fb72bd30929457ac04b1b79c36b4b08603af6266a3ea6e18f12c834cb88ac090e42bb869c8a608f7521812de81932a81073a34f16fc882c6148b DIST quote-0.3.15.crate 12041 BLAKE2B c5796b464539b018351b41b5e2287398681ccb2ca76f46178b4f310e61a8184afe9ea2b8dd7638f27bf5bf37f60458895497e51c82b31326abf6feb4f69404d7 SHA512 2e5dbe725c0f76a81c6624181b43b60b95dceac208e2babaad3fa6d1487794805169e2ffd967659e4bb4e1abebe96505be5a1007c514d10f2a63ef282d699ea7 DIST rand-0.4.3.crate 76094 BLAKE2B 3889a26c9c41fd6b0b5bfdc75961aa4f74dd22aa61060914b0391361129a7557b504f3f23777cfddba6c2f71092ef9f2a76359245c0d594988c5ae7aa2968ad4 SHA512 d287faa583d07134a10db61d1dad30a3ac006624815240d50a8a21faca49085c3ef5c01c3741def25b3e93cb52507fff36497521caacf525e106f419013381d3 @@ -71,6 +73,7 @@ DIST serde_derive-1.0.8.crate 24015 BLAKE2B d97f73055a5375d338fd078f2f55ca3db59c DIST serde_derive_internals-0.15.1.crate 16441 BLAKE2B e1b82c9a0b8c08eddaafbaa3ca5c23aa1b11462e3e45912d2ee109a991206df5a65605739bf8365e3a29836c2fb0a551401bb090f5bf1418c5d6ed9d41c91bd6 SHA512 5599b3022f9a1f16566c4d86ae2f173373905ec318499ffe28a061e58494f786d0e6dff6ca962422bf6d773604b66f62b0de8e19cd39057456d50e923180a41c DIST serde_json-1.0.2.crate 55422 BLAKE2B 346d929bfebaf04b0afaebc9ac1c54119f2ce9b77e7163b474fe92669051bae12f0e2fff8ce9899219cc37032b4ea9f5dfc2fbdc022440246526ee11dedb71bd SHA512 ff0a3806b138cadace0ffd600ae695047e6e75655699054e8974160619ae5a00e8d306b85dadb0f08672d16934f43870627e5619af29fbf68497638eb133d4a5 DIST stratisd-1.0.6.tar.gz 150485 BLAKE2B d8095f1a4a120607ac74678f78e17f0ed68c81beb7b435c7af3774b5ae034f5da05298a790a4218e03ee994b3f75ae1c8d598be5990d3b4e7bd83893217bcf48 SHA512 a640dc586d54148e83c8e023696e5c91fcbc5f9302959719513089bf2a40bbdb6540c36835bdfbb84fb893d087d54e1c0d659a17014398aea007e73b8728e09c +DIST stratisd-2.0.0.tar.gz 155480 BLAKE2B b42fcfbe688160525c43f1017ac501172d902da3b04e4e97649de3a7d62128fb7b05b731f7ecdf58cba538f8c557033f4aa764b3d40032a822f57a7fe32ad847 SHA512 e404dce0d4e24b578aaa4aa712bf4ac419f0b53f8960a430dedbb09e3a3e810074b46d94b7426370608109a23f57fafc5c67d91823924ba4d0850ec203a1562a DIST strsim-0.6.0.crate 8500 BLAKE2B fb5d756691a359d086886bf579445a262d2691285c120670e1b9da828922e43630339d59e4dbc98fe1fd6c92785264bef645be4ca80681059d8ee9f6d7be582b SHA512 43cbcf2cab7f91515f52f20719e8013cff23807ca79a9a69f1997ec1ba2eacf713d64c88e33f4c9ba852fb3dda4b87e943587ae4b6ff5bfbbb81deb6dbf76a97 DIST syn-0.11.11.crate 63309 BLAKE2B ee33d3f02af356faafd0c03539d1c86ade1f46db8bc30054f76536c1cf537b8fa0d990c78f86b1e5187392b31c5d7364ad5767ae96de5844e252c9c7c41ec962 SHA512 285bdc1f9b53fe791bd35b10a06fc106231c4eca908244f7ba7366a865452ec2dc8bbff275a52725d29c48d2065790ff6eb37c6eb9c1968aeb0af38c028d173e DIST synom-0.11.3.crate 17120 BLAKE2B 30c6bdaff48eb2f3c28a348f737ad4b9ebf4b385de75ec2510aa9fef3b426a8a00041d0dd1649d11a9ba39cd4b9363e0e3f7d808cd0b2d588a38edb395be86d5 SHA512 a9c75d667be94c82c7f545e0569bb5858afd1bfca6e045fd52f4ae18ec4fd440e7d374ef45dafc97bda6c749cd4b4e185d8192b833661657323229803ef4a28e @@ -98,3 +101,4 @@ DIST winapi-i686-pc-windows-gnu-0.3.2.crate 3143529 BLAKE2B 7327b344038bc568b957 DIST winapi-x86_64-pc-windows-gnu-0.3.2.crate 3165198 BLAKE2B 3e1787d5eef457d1f63602436e3756d9f5c6d5bae070b865bf0597c81c8a38e693423c8734a67a008439624ba2f2bc612162e783fd6130de9f7226699514281a SHA512 a471fa60252eb1f351881fba0e1a41ef3e4992985c0841450a5057e530490f52c842651ffd0cdfd428d46f78a7e6990b5384f3af819aa852933ac5fa6abf91c1 DIST wincolor-0.1.6.crate 4799 BLAKE2B 37e72b9603d912b65dd59fe74f1158dd87783ef10511527e50795efc28711348a4c34ee27a2cb4ab523389f443c66ede77c471dd8c2e1bfadb6e8f22726e634e SHA512 d8d9e3a16918844d82cf1cddd7ffdd35cbeb8367b661108cc392d5ce636c270a27a307a4d0307553103356db2958114f269b5a007e4271dd1e6039d7c737e374 EBUILD stratisd-1.0.6.ebuild 2841 BLAKE2B bf8b3918b4624e5bac2476e9e41f70a475278bbe95fa6b12dc7317b772d0ba32396b501e484342ad81df0a8759e698795d9a4c987b6731a4a176ee05f2c2b32a SHA512 7bcea647d779c3c795df421501a5d4efd13ca3c19aef839091234a623cc1922a170cc6bcdd8897881046ed7747a706508b954d0a7d991c6f56ca81faa97b08b6 +EBUILD stratisd-2.0.0.ebuild 2857 BLAKE2B f1edf5b244befac7ff36148f716309857a4c0177bd9c50e60bffa887d11ab087ff8383940bb554b17c3d9880556c4ab2a9a977588fde06fc9a20df603212ab36 SHA512 bc706eb9ce9840821b110d56372258b4f2798252bcffcdc8ce75ce5ec5257cb65bb5b1517ac23d0e30dbeade99642ce3b6af736600fe370f8ce2b276f8816695 diff --git a/sys-fs/stratisd/stratisd-2.0.0.ebuild b/sys-fs/stratisd/stratisd-2.0.0.ebuild new file mode 100644 index 0000000..bdf2fd1 --- /dev/null +++ b/sys-fs/stratisd/stratisd-2.0.0.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CRATES=" +aho-corasick-0.6.3 +ansi_term-0.10.2 +atty-0.2.6 +backtrace-0.3.3 +backtrace-sys-0.1.16 +bitflags-1.0.1 +bit-set-0.5.0 +bit-vec-0.5.0 +byteorder-1.2.7 +bytes-0.4.6 +cc-1.0.3 +cfg-if-0.1.2 +chrono-0.4.5 +clap-2.29.0 +cloudabi-0.0.3 +crc-1.4.0 +dbghelp-sys-0.2.0 +dbus-0.6.4 +devicemapper-0.28.0 +dtoa-0.4.1 +either-1.1.0 +env_logger-0.5.10 +errno-0.2.3 +error-chain-0.12.1 +fnv-1.0.6 +fuchsia-zircon-0.3.3 +fuchsia-zircon-sys-0.3.3 +gcc-0.3.54 +humantime-1.1.1 +iovec-0.1.2 +itertools-0.8.0 +itoa-0.3.1 +kernel32-sys-0.2.2 +lazy_static-0.2.8 +lazy_static-1.4.0 +libc-0.2.55 +libdbus-sys-0.1.5 +libmount-0.1.13 +libudev-0.2.0 +libudev-sys-0.1.3 +log-0.4.2 +loopdev-0.2.0 +macro-attr-0.2.0 +matches-0.1.8 +memchr-2.0.1 +memchr-1.0.1 +newtype_derive-0.1.6 +nix-0.14.0 +num-integer-0.1.39 +num-traits-0.2.5 +num-traits-0.1.37 +pkg-config-0.3.9 +proptest-0.9.0 +quick-error-1.2.2 +quote-0.3.15 +rand-0.5.5 +rand-0.4.3 +rand_core-0.3.0 +rand_core-0.2.2 +redox_syscall-0.1.18 +redox_termios-0.1.1 +regex-1.0.1 +regex-syntax-0.6.1 +remove_dir_all-0.5.1 +rustc-demangle-0.1.5 +rustc_version-0.1.7 +rusty-fork-0.2.1 +semver-0.1.20 +serde-1.0.82 +serde_derive-1.0.8 +serde_derive_internals-0.15.1 +serde_json-1.0.2 +strsim-0.6.0 +syn-0.11.11 +synom-0.11.3 +tempfile-3.0.2 +termcolor-0.3.6 +termion-1.5.1 +textwrap-0.9.0 +thread_local-0.3.4 +time-0.1.37 +timerfd-1.0.0 +ucd-util-0.1.1 +unicode-width-0.1.4 +unicode-xid-0.0.4 +unreachable-1.0.0 +utf8-ranges-1.0.0 +uuid-0.7.1 +vec_map-0.8.0 +version_check-0.1.5 +void-1.0.2 +wait-timeout-0.1.5 +winapi-0.3.3 +winapi-0.2.8 +winapi-build-0.1.1 +winapi-i686-pc-windows-gnu-0.3.2 +winapi-x86_64-pc-windows-gnu-0.3.2 +wincolor-0.1.6 +" + +inherit cargo systemd + +DESCRIPTION="Linux local storage management tool that aims to enable easy use of advanced storage features such as thin provisioning, snapshots, and pool-based management and monitoring." +HOMEPAGE="https://stratis-storage.github.io/" +SRC_URI="https://github.com/stratis-storage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + $(cargo_crate_uris ${CRATES})" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +BDEPEND=" + >=virtual/rust-1.37.0 +" +DEPEND=" + sys-apps/dbus + || ( sys-fs/eudev sys-fs/udev ) + dev-libs/libpcre +" +RDEPEND=" + ${DEPEND} + sys-fs/xfsprogs + sys-block/thin-provisioning-tools +" + +QA_FLAGS_IGNORED="/sbin/stratisd /usr/libexec/stratisd" + +src_compile(){ + cargo_src_compile --no-default-features + mv "${S}"/target/release/stratisd "${S}"/target/release/stratisd-init + cargo_src_compile --all-features +} + +src_install() { + exeinto /sbin + doexe "${S}"/target/release/stratisd-init + + exeinto /usr/libexec + doexe "${S}"/target/release/stratisd + + einstalldocs + dodoc -r docs/. + + newinitd "${FILESDIR}/init.d.stratisd-r1" stratisd + systemd_dounit "${S}/stratisd.service" + + insinto /etc/dbus-1/system.d + doins ${S}/stratisd.conf +}