diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-misc/pet | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-misc/pet')
-rw-r--r-- | app-misc/pet/Manifest | 34 | ||||
-rw-r--r-- | app-misc/pet/metadata.xml | 22 | ||||
-rw-r--r-- | app-misc/pet/pet-0.2.3-r1.ebuild | 58 | ||||
-rw-r--r-- | app-misc/pet/pet-0.2.3.ebuild | 62 | ||||
-rw-r--r-- | app-misc/pet/pet-0.2.4.ebuild | 57 | ||||
-rw-r--r-- | app-misc/pet/pet-0.3.0.ebuild | 60 |
6 files changed, 293 insertions, 0 deletions
diff --git a/app-misc/pet/Manifest b/app-misc/pet/Manifest new file mode 100644 index 000000000000..63ad19134861 --- /dev/null +++ b/app-misc/pet/Manifest @@ -0,0 +1,34 @@ +DIST github.com-BurntSushi-toml-b26d9c308763d68093482582cea63d69be07a0f0.tar.gz 41564 BLAKE2B 267579e3e2135626bfdce4524db2baf26a6dae14135421368c0f3cb21c41ec844cf42e127c4e0af7845b8caab4abd35c50ed5b0642fd713708e753ea54ee3100 SHA512 0a1ac02221645e06c60fdb5d162d1422fef791d101409c237a048a3d94708e3f1cf1e8e40bc390dc7cd6340f28514c2ae2d9c99a9ec2c3f969c7a8fbd5d0d232 +DIST github.com-briandowns-spinner-48dbb65d7bd5c74ab50d53d04c949f20e3d14944.tar.gz 11663 BLAKE2B 17e4c4d8403663b27c85074f456c60f7da3d43c875816b6f4da32ccc4c422b59cb28c11a894705430b6001766ba3a63ddaade95ab1510f87ce19cfe0b1391d04 SHA512 9ba6de3249259ddbc81faef63e0c801822687f875acb5965dcdfd52c85bca887dd5248be731e0731f1dcf274de64a87630cb902fc2e15718ffb327922f023bea +DIST github.com-chzyer-readline-41eea22f717c616615e1e59aa06cf831f9901f35.tar.gz 35509 BLAKE2B 66c231463c6ab3a6f680e6f7359f5308d2c07cf41a445d106339a0b8f190b790c458e07715f1a2dc5febc86b8559d33f87d29554e6a4113b7de863f38fbc406c SHA512 44c70da26dff59e3ae264e9b586517327e1612d9e173d7d4a2dc50740a067bfb5af2dd9a6dceef86fa65bef719ae8dd443306078e02b2a06eefd9971896079fe +DIST github.com-chzyer-readline-f6d7a1f6fbf35bbf9beb80dc63c56a29dcfb759f.tar.gz 36845 BLAKE2B 2c99997fcbc05cf6eee1d8f5829b331d14d9981598a913832a71c58a19fa889a4b270df7f4612a0dff3eddc03dcf6d4be42c05f762010a9ed4f53817b0b61d86 SHA512 f8d2c9c40c594a3ac2724c7109eaf22b212b644c39846f6c86ee4199c61f7197b0e276dfefdd037accdbfdb24ddf850a2b3608fbaaeeca2048269c219dbf93cd +DIST github.com-fatih-color-570b54cabe6b8eb0bc2dfce68d964677d63b5260.tar.gz 588432 BLAKE2B 0ea1b91d459a9708896d8e6fda386924d0dd8aeb44cf58de4a1c7d51185e9ad106333029fc807f6221db0decf7e8da883d98ba390250dc5fa47474fa951836f7 SHA512 a24eb00104b7763d7b711a4e555f00464fd19d117fe7d5c6bf0c007167dcad1b893a7130abc46619f29136fef4ee080662d4622d5f15019d41c24ae55a804a3d +DIST github.com-fatih-color-9131ab34cf20d2f6d83fdc67168a5430d1c7dc23.tar.gz 587208 BLAKE2B 9950f95e1d9bcac7e97e88d211ed0cce83ea3bb43808b70a7443d93f9d4f0c14c3714968b3c37dd703bd6cca1fa7c7f9d20966979b8b331469af40b712ee6131 SHA512 cc36bf9807a8f50951c9da6b49ced1f3b3fff8437371e8bb0fab5f56785f2e9c0bada77efe08107405f4a72f6d5b0e0fdd34be60498bd5e52d3cabe6c6cd2a7a +DIST github.com-golang-appengine-150dc57a1b433e64154302bdc40b6bb8aefa313a.tar.gz 230977 BLAKE2B a551b24b20e846e81305181130bdf47af11ab0ce93d9b2c7a626df507c5eb8a88f416e919dfe7a9f73d47c606d34182a90a64e08b4279928a300bac664250368 SHA512 a1d337d50378604f28c275dc3192565a7b058ace04cfefa5b5cce7141873e88925b63750a9ba62e87e4b3e65f4c94875435674653836d8785c02b26f82a1ceb6 +DIST github.com-golang-appengine-170382fa85b10b94728989dfcf6cc818b335c952.tar.gz 245917 BLAKE2B 28ebc8887957684a7d952300b3309d7846eb273945172c3ac833cd5fd7d947df35fb6f872afd4f18c4edffee5078c5833c85a9a7c2dca0c6c6d620e258752a2c SHA512 bf77e378486d96ac62353e2c92dae6e8e7a7daf59c26053fe66d455b2d3319101e217f0c8edb9f40ed7b00034537040a99eb96d1d9859e01794d07fd6d96d42f +DIST github.com-google-go-github-2966f2579cd93bc62410f55ba6830b3925e7629d.tar.gz 169813 BLAKE2B 3bc9dd34e9c2626cacaf53dba8d173013ee3c0a4ecd376021c0fbe82463bd12382c515fb473ab423cdd2549b9ea62243719e332c1e7b64a0611439e7fc8d0787 SHA512 aaedfc089a6b1300e5c3a73fa634a982e5391463f7f594a4908cdd7c7e37c9626c7fecb2907e5bca067395fcb826001748fa1a84b3cb3ff59f8cf7006a4f6bd1 +DIST github.com-google-go-github-e48060a28fac52d0f1cb758bc8b87c07bac4a87d.tar.gz 195878 BLAKE2B 46e186bc1a3096dd043780a35a989959b2cbcabd063bd4bd671fb3b4536ecff731037c57479228badb438fb53bb0c21e8fbb1db881f1438be9bd2398a75c9455 SHA512 da15b3ff93cc1b26439b9e7acf3ae5a12e7d23c0d6e11c691c4013133d37b41d35275f8040a74fcd4f90a9ad93c0b95b48687de43e94831b699df60fbf0c5159 +DIST github.com-google-go-querystring-53e6ce116135b80d037921a7fdd5138cf32d7a8a.tar.gz 7489 BLAKE2B 93ae5c6fc79a511852fa71da41cc9a53d4c93f9e7da43b4b105481f6d77efcbbf30379e7a90ba8e4330553956fa435e3d2e93d8865e7dfda293bbebe9b0ddfa1 SHA512 18830dbf6e14eb7757f7bdee1405e278b6c966fc7632be3decf34ea947705d66f8c0def8060371aa1e3c90cee7ca4324e67d9926627243f987281db52ffa2bca +DIST github.com-inconshreveable-mousetrap-76626ae9c91c4f2a10f34cad8ce83ea42c93bb75.tar.gz 2292 BLAKE2B 5220adf6cf740368b1b3a238795791b422d600b0293e350bcb5cae4f3ea452865e14e6271ae5d475c717da2c96cea7e0b12a5d71228f7679f67868de50852f17 SHA512 287a52df6a3ac88a95aed19ea2c76524f9916d6c6713365f56d86e08bd4ac686d3e231aefd3361ccfbf8c9ff702c94b3cc9d200640f05149f1d885ff61164b55 +DIST github.com-jroimartin-gocui-4f518eddb04b8f73870836b6d1941e8aa3c06637.tar.gz 28059 BLAKE2B e760c6976b7cf6bf4df46bc355eb1ecbd62795d65ddc8172f4ee727579a5848f1e202afe9fa1fd649ab52c417af8f0c8aa09a139904a57114214859206404028 SHA512 27931ff511b9ddca3ad0f21d648ac4652736907366136d8e0282a89acf4afb589821aee0362166a8df2de2cbd6b20edf13c13d2686e6e5f9ea2d773e6e507b36 +DIST github.com-jroimartin-gocui-ba396278de0a3c63658bbaba13d2d2fa392edb11.tar.gz 27556 BLAKE2B 0fa04ef876787441426eaa0801a04e82ef50dbe9a538652e75e74704ae5814e3171d5c82f77961b43b2d6409b0398a38f34193f5dab3ff2fb8b9a81fd54dd228 SHA512 70fbbc37ddae36769fd75d16c342fb41a19f0b7f09e3291fb8579afaa7f02962f7192d9030be4b35cce0fc847275ecad88121e254d28e963efa16a99cd42b41a +DIST github.com-mattn-go-colorable-167de6bfdfba052fa6b2d3664c8f5272e23c9072.tar.gz 7598 BLAKE2B 21a5b6e25859f38416a185646e3d63cb7fc2d175f816ba71b924a80a939fdd47af5be8eec35146703822e1eaa91a3a2f41123eba475f678cd0206b597b879189 SHA512 47f401a01ecc8d08504bb8da3164b95c814ff567d9d44dcdd8aed7dcc2768e4aae0b65504f15931a20c3ec6bd9873383e2b1150660a7ae5016dc1d389305a0f9 +DIST github.com-mattn-go-colorable-5411d3eea5978e6cdc258b30de592b60df6aba96.tar.gz 6670 BLAKE2B 97161231d163ac1e196ef4038a77952e9258e256baaede2abd32d5ddaf2d9f06dd31764d59ee72c36953a9f423bd1338e0251145f1c6f55f02086a273f92b28b SHA512 a9f0dbb97686e819f1982406ae3a990c855116e60b18809ca926f040d426ca984613ce01461832369a96bcc61fb09e7e63a28d543feeccfe4935d848e8fcf543 +DIST github.com-mattn-go-isatty-0360b2af4f38e8d38c7fce2a9f4e702702d73a39.tar.gz 3366 BLAKE2B a98547ec2761d17b7afa7e69408292c3450c0661f442fe8aa0ae918c19c54c2fad4243f91a374f12029f0da0d2dd8145ba9d50ee91f052b69c99755f3701504d SHA512 e75aa6d17ee5fb1222b9505ebd015d9a5392b9627487adc7ebf83bdc66c337520ec819a41e4a92e231c6ca9ffbb145eb1bd3140852083c4c69df9b2ca886e172 +DIST github.com-mattn-go-isatty-57fdcb988a5c543893cc61bce354a6e24ab70022.tar.gz 3323 BLAKE2B b7f8fcc57dd652cc4c320237e3287286aa3dfc8cd5d6115b49835a4fa7f1d507963feaaf0103712b03a0ae09195aa863da31caedef549d9b29dde9f0daf82ab3 SHA512 30ef451bf1f85c7489464e367a95a7f558c2c1a424ff49c5148393d631ceb98c58edef23fcb2b4f1bed0e7c1b3fdd8b5273874ba9304e6f29e83c0d9e127d34d +DIST github.com-mattn-go-runewidth-9e777a8366cce605130a531d2cd6363d07ad7317.tar.gz 22390 BLAKE2B 20b6793a424d2620e5ce57fad619e86e7bf251ad612322132939c3c53eeaa17c1a100aa75888209975c05e4c7f1ec099ac4c51b61f4fdd62a42d2e506c4f5b75 SHA512 85430512b8c199e7e2ae4bfa77aef58958211bf85148ea439cf26ffc30704d3bbbe21e1525df579a65e0262c7f8780ff0ec345fb76907f4c66bf715f10ff6e12 +DIST github.com-nsf-termbox-go-88b7b944be8bc8d8ec6195fca97c5869ba20f99d.tar.gz 31339 BLAKE2B 38224fa7af5e8e56500fc01f3e861aeae2e81b4cc38859d9598b0883ccde7504f1f717a73db4a76c4ea4baa5f052fb5b7f39413aa8be9e5cde5b70d8693f2044 SHA512 f53f34059016336cdf2d061594b50ce5a3bad9a9a97158218342e245c277ae68571647fe00bf207274a8714ce103a536ff80b820feaefb44cbd12abc5debdd47 +DIST github.com-nsf-termbox-go-b6acae516ace002cb8105a89024544a1480655a5.tar.gz 30244 BLAKE2B 1e770aaaa79326b3acbf4bd956924538411c8d805b6c213603106e6a87a6b4e4aaa6095033393a5b1437073004e2672596e55f6d1b4fe7e902c71237f192e2a0 SHA512 194ccef5dc9aee30422285bc752700d24b7dc05475dd5bce5023f8fe426257d0c3d75bde5c4a3681737b7604c944d964344f81c663a4ad180f9e41b70b1e81b5 +DIST github.com-pkg-errors-645ef00459ed84a119197bfb8d8205042c6df63d.tar.gz 11345 BLAKE2B 9f25872e040b5e0602e658fa728e93a300c00ed1064966370e1b676eea6a94d6bca491b2f6c33a9f2c4d1c522a3ceee540aede2dc638eed238de8485500821e9 SHA512 fa82643f622150b44b198451c1e41e042fd7ceefad9d68e32238d48c9a29c6fb14780fca9d9a7dec660365062d4089c638196960fac056b685e7543410774228 +DIST github.com-spf13-cobra-63121c8814fc0b99184dbc1c8b7ef4fddae437c3.tar.gz 74684 BLAKE2B 7c3809f3040dbf8872c6081afecb072ca198f8a22c89860edb452e55807a18dd41e2887911be4557448cd571d3db42493c7a5af2796bb8b9494ebd10822c00a6 SHA512 8919acb161f6f98e22f866726f3f85b4d5071782debe7117ad55c28508e469b73a2975d4660998a9df7a86472e8f65f2f103cf71c42d913d79a1bab6e86d94db +DIST github.com-spf13-cobra-7b2c5ac9fc04fc5efafb60700713d4fa609b777b.tar.gz 101642 BLAKE2B 9d0ea2e12e915d79a3c8351357cc0ec564910dc145be7d0b8eced6422e4e841e66f28f211e369d5639fcacc201af553e70a740dab76354f9b3b256bf08c3d100 SHA512 5618be996d70382efa9a84d0d06fe866b0fc955ea79240f37132588d0f793988ed4ed1584e716d2644a774d5b4e0e80b77a04d8740cab313107929eb413e25c2 +DIST github.com-spf13-pflag-2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51.tar.gz 39235 BLAKE2B 743ad732b19efa4450b4a8a8512d51e03694592f9803233dfd946e7eaa513c8edf0e4b2763f458bae2e6af58a26a4d9559c54a35a0da6af9909d6b2b9b0a9624 SHA512 6bb7e34efe274e9a77fe95771ce8831a73537c5745f58ae62ec75a3744010752e1b4f3d1c35c689a41e1b0488a090224aaa3276f0981febd0838cf1a889be202 +DIST github.com-spf13-pflag-e57e3eeb33f795204c1ca35f56c44f83227c6e66.tar.gz 39045 BLAKE2B a933e0ae64f3bb344a7dffdf8f7ed73e4fba329a81794442ac3a8fa8904f29958bcc6b0f2af9848bc6c715b27abc5908d5ff16d23ea790899f71d2f5ff0ce6cb SHA512 c05ef1bc05cba471a55a11a2209fe4bdaaba491434a28b7f08d23528f4074b82a656b62972efdd49384dd49bde429d2d2c0e6ba311cae0d23f55b229b768dae8 +DIST pet-0.2.3.tar.gz 2733693 BLAKE2B 92024983e2418c5c47f3a18ea664073fe847e2ef9be58ceb2d8e610cf8b9ac75a95d26a2512d26334c1cf989ad570fad83fe58ac7cd828740371c7276fd6855a SHA512 5207773b71ce773c974187cd86b8ddc7d1191f1baf615e035e290254d49d8c0ac4372b3ac004c0883a3fe7167447cab21e5b0711a78ce8ba57fcace975ef80a3 +DIST pet-0.2.4.tar.gz 2734689 BLAKE2B 2f6a4b0814cd69ec7b58f7a0892d955e8b4bc402c526c32b2b3240d7a883515b86b3f7d99a76bf58592eaa2eaf8f230889f0dd5ade6500506c217db68e6928cd SHA512 59b4c8f660fbcd208742e4c90a90c9eb4736d99631e14def5e8bdc1c75add2a6a67c358d2ec59ca816f6485d3d824bc6dc1592949889bace1734a5f2c3023e3d +DIST pet-0.3.0.tar.gz 2735876 BLAKE2B c2b629db202c263b7419e79e15e07b808ea2a395030ef79214c541ac0d17a9fbe9cf3db9bc7e1a886da38ff8becd06d18abc24a69131cf6e3009ee2d72b1e6db SHA512 deb0323fbcd0195df9638bd82077a55be6554d80c44ddbb08cbb63c2a055659f5aa42fd87bc498d5cb0c93d57047f48462ec428ebff3d89a80dcd4b3661447fc +EBUILD pet-0.2.3-r1.ebuild 2012 BLAKE2B 592a7253976aa5efbecc118306943712cd505c111bd2b573b1c6d0b939e283e7bd304694b3ff11d073eeb9867af7b7cb34fce3d1e2ec49b7c7e47c49f03fd885 SHA512 cfc5aabf28f43fbda06e8316e67b3522eeeb4a6c5caa8b78bc8e095e86a7f64e51577e30f9d8d174858dda1cb47c4a22b448c97bfe212e9dd3b59b5ce704e313 +EBUILD pet-0.2.3.ebuild 1988 BLAKE2B 4a8b7687f9f5009ca16fd4ef3673ee608da3f038f95684d3d90ec772843d1362d4b5146312538a139bd651bc199e3b06bf193a3b8bcbada66e9c5631ce3927f1 SHA512 5360ab9e5213cd89a2114617950c610a51e1d7002a0621e3431d50da1f5bb0f2b4dfae3e3a9d088883161880c78479b327a22df98215ad1e87f10906fb37e053 +EBUILD pet-0.2.4.ebuild 1998 BLAKE2B 317dfc8a59b15199cbddea040f1ac8c87bdc1d2b75ee8991c6aa447d0f80ceff70ca1ca9bc98dad3932d56a3bffce68f944bb9deacaeaef5c2d193748577a019 SHA512 2a7e813468571e3366402567eac5909568e2187cecc6b3baefb3189e9d7014ba436f563945d3dc12c784dcb306548d6e87c8552ed215451819951d30a679b6ed +EBUILD pet-0.3.0.ebuild 2169 BLAKE2B c82ef596b6abfb64733fafce4a3538c0ee825f102b092b267592aeed9369171c73a0f5cad9e9f71ec4dc4069a5754f330824e788dbc27e756912d0f585a3440b SHA512 ea6141990ccd11c3498ae71f71d398c7f46c05a44cf9b9961781cf9e1ecc2a9e29af9a5c07eeda69fa7b6c3619b5f280a35eefc12e920ff17733d3b991c1e5a1 +MISC metadata.xml 769 BLAKE2B 299b0963eaefbf40ffeb93e18f23089ebabdfe4249d085dff54069d2defd6478311164dfdc700f043f16a4e18f3017cb335a070380d424933a2422a9f190071c SHA512 5b9ba002b1ce80e106f9cb79c5210616daec3718c9c02502d4e5adbb7144df4a1c18795e5a44ec08927cf3a2135470cc3c505afb8a2a53498e4d37bf8ad91e64 diff --git a/app-misc/pet/metadata.xml b/app-misc/pet/metadata.xml new file mode 100644 index 000000000000..95a5086f8109 --- /dev/null +++ b/app-misc/pet/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>spiderx@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <longdescription lang="en"> + A simple command-line snippet manager for rarely used commands. + It is capable: register command snippets, use variables in snippets, + search snippets interactively, run snippets directly, + edit snippets easily (config is just a TOML file), + sync snippets via Gist. + </longdescription> + <upstream> + <remote-id type="github">knqyf263/pet</remote-id> + </upstream> +</pkgmetadata> diff --git a/app-misc/pet/pet-0.2.3-r1.ebuild b/app-misc/pet/pet-0.2.3-r1.ebuild new file mode 100644 index 000000000000..1f1da8f503b4 --- /dev/null +++ b/app-misc/pet/pet-0.2.3-r1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0" + "github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35" + "github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23" + "github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d" + "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a" + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + "github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11" + "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96" + "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022" + "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317" + "github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5" + "github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3" + "github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51" + "google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine" ) + +EGO_PN="github.com/knqyf263/${PN}" + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Simple command-line snippet manager" +HOMEPAGE="https://github.com/knqyf263/pet" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="zsh-completion" + +# dev-go/toml doesn't provide sources +DEPEND="dev-go/glide + dev-go/go-crypto + dev-go/go-net + dev-go/go-oauth2 + dev-go/go-protobuf + dev-go/go-sys" +RDEPEND="${DEPEND} + zsh-completion? ( app-shells/zsh-completions )" + +src_install() { + dobin pet + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins src/github.com/knqyf263/pet/misc/completions/zsh/_${PN} + fi +} + +pkg_postinstall() { + einfo "You should consider to install app-shells/peco to be able to use selector command" +} diff --git a/app-misc/pet/pet-0.2.3.ebuild b/app-misc/pet/pet-0.2.3.ebuild new file mode 100644 index 000000000000..47ede51781c5 --- /dev/null +++ b/app-misc/pet/pet-0.2.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( + "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0" + "github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35" + "github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23" + "github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d" + "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a" + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + "github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11" + "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96" + "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022" + "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317" + "github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5" + "github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3" + "github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51" + "google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine" +) + +EGO_PN="github.com/knqyf263/${PN}" + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Simple command-line snippet manager" +HOMEPAGE="https://github.com/knqyf263/pet" +SRC_URI=" + ${ARCHIVE_URI} + ${EGO_VENDOR_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="zsh-completion" + +# dev-go/toml doesn't provide sources +DEPEND=" + dev-go/glide + dev-go/go-crypto + dev-go/go-net + dev-go/go-oauth2 + dev-go/go-protobuf + dev-go/go-sys" +RDEPEND="${DEPEND} + zsh-completion? ( app-shells/zsh-completions )" + +src_install() { + dobin pet + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins misc/completions/zsh/_${PN} + fi +} + +pkg_postinstall() { + einfo "You should consider to install app-shells/peco to be able to use selector command" +} diff --git a/app-misc/pet/pet-0.2.4.ebuild b/app-misc/pet/pet-0.2.4.ebuild new file mode 100644 index 000000000000..baa71dab3843 --- /dev/null +++ b/app-misc/pet/pet-0.2.4.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0" + "github.com/chzyer/readline 41eea22f717c616615e1e59aa06cf831f9901f35" + "github.com/fatih/color 9131ab34cf20d2f6d83fdc67168a5430d1c7dc23" + "github.com/google/go-github 2966f2579cd93bc62410f55ba6830b3925e7629d" + "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a" + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + "github.com/jroimartin/gocui ba396278de0a3c63658bbaba13d2d2fa392edb11" + "github.com/mattn/go-colorable 5411d3eea5978e6cdc258b30de592b60df6aba96" + "github.com/mattn/go-isatty 57fdcb988a5c543893cc61bce354a6e24ab70022" + "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317" + "github.com/nsf/termbox-go b6acae516ace002cb8105a89024544a1480655a5" + "github.com/spf13/cobra 63121c8814fc0b99184dbc1c8b7ef4fddae437c3" + "github.com/spf13/pflag 2300d0f8576fe575f71aaa5b9bbe4e1b0dc2eb51" + "google.golang.org/appengine 170382fa85b10b94728989dfcf6cc818b335c952 github.com/golang/appengine" ) + +EGO_PN="github.com/knqyf263/${PN}" + +inherit golang-build golang-vcs-snapshot + +ARCHIVE_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +DESCRIPTION="Simple command-line snippet manager" +HOMEPAGE="https://github.com/knqyf263/pet" +SRC_URI="${ARCHIVE_URI} + ${EGO_VENDOR_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="zsh-completion" + +# dev-go/toml doesn't provide sources +DEPEND="dev-go/go-crypto + dev-go/go-net + dev-go/go-oauth2 + dev-go/go-protobuf + dev-go/go-sys" +RDEPEND="${DEPEND} + zsh-completion? ( app-shells/zsh-completions )" + +src_install() { + dobin pet + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins src/github.com/knqyf263/pet/misc/completions/zsh/_${PN} + fi +} + +pkg_postinstall() { + einfo "You should consider to install app-shells/peco to be able to use selector command" +} diff --git a/app-misc/pet/pet-0.3.0.ebuild b/app-misc/pet/pet-0.3.0.ebuild new file mode 100644 index 000000000000..991478810dcf --- /dev/null +++ b/app-misc/pet/pet-0.3.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +EGO_VENDOR=( "github.com/BurntSushi/toml b26d9c308763d68093482582cea63d69be07a0f0" + "github.com/briandowns/spinner 48dbb65d7bd5c74ab50d53d04c949f20e3d14944" + "github.com/chzyer/readline f6d7a1f6fbf35bbf9beb80dc63c56a29dcfb759f" + "github.com/fatih/color 570b54cabe6b8eb0bc2dfce68d964677d63b5260" + "github.com/google/go-github e48060a28fac52d0f1cb758bc8b87c07bac4a87d" + "github.com/google/go-querystring 53e6ce116135b80d037921a7fdd5138cf32d7a8a" + "github.com/inconshreveable/mousetrap 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + "github.com/jroimartin/gocui 4f518eddb04b8f73870836b6d1941e8aa3c06637" + "github.com/mattn/go-colorable 167de6bfdfba052fa6b2d3664c8f5272e23c9072" + "github.com/mattn/go-isatty 0360b2af4f38e8d38c7fce2a9f4e702702d73a39" + "github.com/mattn/go-runewidth 9e777a8366cce605130a531d2cd6363d07ad7317" + "github.com/nsf/termbox-go 88b7b944be8bc8d8ec6195fca97c5869ba20f99d" + "github.com/pkg/errors 645ef00459ed84a119197bfb8d8205042c6df63d" + "github.com/spf13/cobra 7b2c5ac9fc04fc5efafb60700713d4fa609b777b" + "github.com/spf13/pflag e57e3eeb33f795204c1ca35f56c44f83227c6e66" + "google.golang.org/appengine 150dc57a1b433e64154302bdc40b6bb8aefa313a github.com/golang/appengine" ) + +EGO_PN="github.com/knqyf263/${PN}" + +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Simple command-line snippet manager" +HOMEPAGE="https://github.com/knqyf263/pet" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_VENDOR_URI}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="zsh-completion" + +# dev-go/toml doesn't provide sources +DEPEND="dev-go/go-crypto:= + dev-go/go-net:= + dev-go/go-oauth2:= + dev-go/go-protobuf:= + dev-go/go-sys:=" +RDEPEND="${DEPEND} + zsh-completion? ( app-shells/zsh-completions )" + +src_install() { + dobin pet + + if use zsh-completion ; then + insinto /usr/share/zsh/site-functions + doins src/github.com/knqyf263/pet/misc/completions/zsh/_pet + fi +} + +pkg_postinst() { + if ! has_version app-shells/peco ; then + einfo "You should consider to install app-shells/peco" + einfo "to be able to use selector command" + fi +} |