diff options
author | Max Grinberg <codeswhite@protonmail.com> | 2021-09-12 21:20:40 +0300 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2021-09-14 10:38:12 +0300 |
commit | 2a517e340063ae7ce4f8f2aeb47b2a363c037eb5 (patch) | |
tree | a80021bac79b15a4f2a487c3f8f08fbdd1abf572 /app-editors/micro | |
parent | sci-libs/libqalculate: x86 stable wrt bug #812974 (diff) | |
download | gentoo-2a517e340063ae7ce4f8f2aeb47b2a363c037eb5.tar.gz gentoo-2a517e340063ae7ce4f8f2aeb47b2a363c037eb5.tar.bz2 gentoo-2a517e340063ae7ce4f8f2aeb47b2a363c037eb5.zip |
app-editors/micro: Version bump to 2.0.10
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Max Grinberg <codeswhite@protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22277
Closes: https://bugs.gentoo.org/812800
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-editors/micro')
-rw-r--r-- | app-editors/micro/Manifest | 3 | ||||
-rw-r--r-- | app-editors/micro/micro-2.0.10.ebuild | 133 |
2 files changed, 136 insertions, 0 deletions
diff --git a/app-editors/micro/Manifest b/app-editors/micro/Manifest index b28298589ad5..138eb4d8bb40 100644 --- a/app-editors/micro/Manifest +++ b/app-editors/micro/Manifest @@ -56,6 +56,8 @@ DIST github.com%2Fzyedidia%2Fjson5%2F@v%2Fv0.0.0-20200102012142-2da050b1a98d.mod DIST github.com%2Fzyedidia%2Fjson5%2F@v%2Fv0.0.0-20200102012142-2da050b1a98d.zip 81515 BLAKE2B 17abd39f209386757e5d8e3edb912b6f71f5ecce3f1cee31f1cac2b46f254d14f07dd262f54fa6f0c6ded359c8d30798a99a2964e4d2ed0cf6372495d3512c66 SHA512 fa1b78d2b42eaa619bf950fa01973c8c5a21b6b647d73f2ee74f9687f473927f6bc0cf7c2a272d10b80a90cfd0d2b82a5f01aa639471b584d13cbfa13a899ea4 DIST github.com%2Fzyedidia%2Fpoller%2F@v%2Fv1.0.1.mod 34 BLAKE2B 22d6340dbabd18dd078d1ceba0ec6f17b15680007822b628a0bad52ac9388745cbb253661aef08d58c63850fa5a478a46b635a8e314a37286de505daf7c4eb35 SHA512 daf83940cc17a02565aa383103449e60cb06ad55c8e7bb42ea4374cf9d4783a8c1b4be8da2d38933c528bf4a558a75e6b96d9e09171c87128c3e650d68c74286 DIST github.com%2Fzyedidia%2Fpoller%2F@v%2Fv1.0.1.zip 25272 BLAKE2B 50eee92c460dfff99f8261c1b5bd45d8ddd029396fff85acb67afe0eb25e0120a683c575d8f331daeb2c9b74e829d418700cc937655fdd8545153e947b3034e8 SHA512 0234099663b08401480685679a73e322bd506791e058423516d0cd6670c6c1ac0999d613a442fa7b1f7846086df0f92d83659e116b713c17709f804003097fd1 +DIST github.com%2Fzyedidia%2Fpty%2F@v%2Fv1.1.15.mod 40 BLAKE2B aff997dcc39cacc15c2c70f9c55b59423e04a0d674c16f69650844da8eaef71d07407db21acbc90e4ca223007572a6d0cdafa8027f3392da97b682c040302eb3 SHA512 ac31a74f5618ad145697ab02ce101f6fab35ae2518ed3ba1f160024b370f9741ebf3fa2831527fe0fcf08b54d81b9793ef096b39a33992c8412ef514bdb0ced5 +DIST github.com%2Fzyedidia%2Fpty%2F@v%2Fv1.1.15.zip 24480 BLAKE2B c12522ff9844ba6cd151074d938f2be36d19c4e5cac4906ee0373116c7b8c3241dac349282c11c3c021c9f4416e3c36a8cd91418eeff29f8406bd8b4a8cb3ba9 SHA512 cd4a9dfd077afeda2c1c501c8d010ff7b51dad6c79354db10be3e869e665ae90f60992132f91d91a8754b8124cb902d91ecfdb5a9fc1aaf7df2d036c720c6023 DIST github.com%2Fzyedidia%2Fpty%2F@v%2Fv2.0.0+incompatible.mod 31 BLAKE2B 0d0decd07c2ebd17e899f2c4032a6dab06ea54a764b90997442d29d5b7464bb993cbeb9a842b547424e8b187717895ad811e589784a213e4d00fabf0b8e28db8 SHA512 919c519a4fb1d1f3d13f1217f59f82aaaa202a65ac201c64ef0ebde46a4e5f6c977282b5afcd11778ad38d35b4591c1190bb94be66010a346a47253d1ee32db2 DIST github.com%2Fzyedidia%2Fpty%2F@v%2Fv2.0.0+incompatible.zip 15796 BLAKE2B d4cb2490b6b8d1914f802e7e767e0d29be06b6946012c4d84f9e7a898a4a2d20d64b9cd84eb5ab729ff8c1d1925a8f3ccab78f56f249d56a7cc5feacadd82ea7 SHA512 a51787e01adcedd20ddbba543351904bdde3c25f44f9621cfe0ffa73ed28d0b21327aadbe529a73374ffbd315b91b4d0d0d7f2c9fcc033d67f21158ce486e2f1 DIST github.com%2Fzyedidia%2Ftcell%2Fv2%2F@v%2Fv2.0.6.mod 348 BLAKE2B ea7eb55e01e85f76b88f072b02e36bbeb800eaec4ce39404f4acc409ac05af51e78c3e26d317cfdade2a3adb28bfddbd5233db60c300bc5f3a8e5eeb7f09eeac SHA512 b3db94f2a7c44d7350d89acb9a118c6f8d3c39530a1af23c5e1aa9f9fa842a06ec5e7f5af4e87901cb08c841e7f953b3f83a3ae6488f9f3d14d4ee063b53ffcb @@ -85,4 +87,5 @@ DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.7.mod 95 BLAKE2B adb3684980f1d8e6c23444e9102 DIST gopkg.in%2Fyaml.v2%2F@v%2Fv2.2.7.zip 80579 BLAKE2B d5de9f0dbf72902ec2244971ef1d62790008d5686ec66b67ca5ded08503168e507d7afdbc38fbfe3b431432e32d2c79540e407a2916ea93de24d45040262366a SHA512 c4a38c485edfd1773be4d3b3dd97c475b1894603526f5d95b40a3ba34b148f3979f0983444009d716e106fea0a2362836a5277f49ea21f764a55279f343a3920 DIST layeh.com%2Fgopher-luar%2F@v%2Fv1.0.7.mod 109 BLAKE2B 08629b072202d338d461af7142fd4049b4db1c2df5997c995edfa9b12b2db2df0da8160db7032bc84215c742ad67021910b2fa3ec87c33c14fec309a137cb174 SHA512 b2ec68ffa8d8e747ebfc1f6103ec980c0e02d372a50d44c1ca289688cceb41006443c02c937975bf5847460a6a071d17f1f0c8ee7549fa1cf4eccdf848020ac2 DIST layeh.com%2Fgopher-luar%2F@v%2Fv1.0.7.zip 36857 BLAKE2B c4ff2a1bbc2dc984fc24065f71b560cbdda220b78d88cff9ed5a91654984cd56c9e85b64a416c140e4b01bfda75734f7c77f882e3fb45a0227b3f47cc02781c8 SHA512 94b70a83a31acde7232223ca82d6588716b39d6463baf5f15d921a5bc24a7d9b98307b8d44d3bbc9a5a82f6e4111b2b9ba1c15ee313a3784a30d63fe5d198bd3 +DIST micro-2.0.10.tar.gz 814030 BLAKE2B 8becaf7caa167747443e1aa3af32e96588af275d2b921fa88fe9d55b4eec22622cf7a68d85d47834159042100414855c5bb3f8b9f7c8d934f762ec63f4d40435 SHA512 06796270a6d99578ac36f3313dffb6ba56c5e8963c6b59562b4ef9e65036ae2ed21ce602b39ee08d2f3c54c501089166fdecc5719a1ca535d84960b3b4b67f72 DIST micro-2.0.9.tar.gz 811560 BLAKE2B 2e461593e71fda69a6f75e5adfaedd7bcf052b8bda9899f03a1e25e3db3bb8071bec80716d14a0ff7a381728871f0705076ef69e4de58f40499a7501343b4063 SHA512 5dbf81deb734618ec0a8ccaffc65f972d8da1d28b761c31bf3f5433c02ad6daa2360b1ea825c0a2cfce2f8d31d6481d468bbe29b42e1c96083c7a941fe42bc3a diff --git a/app-editors/micro/micro-2.0.10.ebuild b/app-editors/micro/micro-2.0.10.ebuild new file mode 100644 index 000000000000..d86140de7e6d --- /dev/null +++ b/app-editors/micro/micro-2.0.10.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module optfeature desktop xdg + +# Building this list can be done by: +# cd $(mktemp -d) +# PV="2.0.10" +# wget "https://github.com/zyedidia/micro/archive/v${PV}.tar.gz" +# tar -xvzf "v${PV}.tar.gz" +# sed -Ee 's/^(.+) h1:.+$/\t"\1"/g' "micro-${PV}/go.sum" > go.sum.out +EGO_SUM=( + "github.com/blang/semver v3.5.1+incompatible" + "github.com/blang/semver v3.5.1+incompatible/go.mod" + "github.com/chzyer/logex v1.1.10/go.mod" + "github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod" + "github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod" + "github.com/davecgh/go-spew v1.1.0/go.mod" + "github.com/davecgh/go-spew v1.1.1" + "github.com/davecgh/go-spew v1.1.1/go.mod" + "github.com/dustin/go-humanize v1.0.0" + "github.com/dustin/go-humanize v1.0.0/go.mod" + "github.com/gdamore/encoding v1.0.0" + "github.com/gdamore/encoding v1.0.0/go.mod" + "github.com/go-errors/errors v1.0.1" + "github.com/go-errors/errors v1.0.1/go.mod" + "github.com/kr/pretty v0.1.0" + "github.com/kr/pretty v0.1.0/go.mod" + "github.com/kr/pty v1.1.1/go.mod" + "github.com/kr/text v0.1.0" + "github.com/kr/text v0.1.0/go.mod" + "github.com/lucasb-eyer/go-colorful v1.0.3" + "github.com/lucasb-eyer/go-colorful v1.0.3/go.mod" + "github.com/mattn/go-isatty v0.0.11" + "github.com/mattn/go-isatty v0.0.11/go.mod" + "github.com/mitchellh/go-homedir v1.1.0" + "github.com/mitchellh/go-homedir v1.1.0/go.mod" + "github.com/pmezard/go-difflib v1.0.0" + "github.com/pmezard/go-difflib v1.0.0/go.mod" + "github.com/rivo/uniseg v0.1.0" + "github.com/rivo/uniseg v0.1.0/go.mod" + "github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff" + "github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff/go.mod" + "github.com/sergi/go-diff v1.1.0" + "github.com/sergi/go-diff v1.1.0/go.mod" + "github.com/stretchr/objx v0.1.0/go.mod" + "github.com/stretchr/testify v1.4.0" + "github.com/stretchr/testify v1.4.0/go.mod" + "github.com/xo/terminfo v0.0.0-20200218205459-454e5b68f9e8" + "github.com/xo/terminfo v0.0.0-20200218205459-454e5b68f9e8/go.mod" + "github.com/yuin/gopher-lua v0.0.0-20190206043414-8bfc7677f583/go.mod" + "github.com/yuin/gopher-lua v0.0.0-20191220021717-ab39c6098bdb" + "github.com/yuin/gopher-lua v0.0.0-20191220021717-ab39c6098bdb/go.mod" + "github.com/zyedidia/clipboard v1.0.3" + "github.com/zyedidia/clipboard v1.0.3/go.mod" + "github.com/zyedidia/glob v0.0.0-20170209203856-dd4023a66dc3" + "github.com/zyedidia/glob v0.0.0-20170209203856-dd4023a66dc3/go.mod" + "github.com/zyedidia/go-runewidth v0.0.12" + "github.com/zyedidia/go-runewidth v0.0.12/go.mod" + "github.com/zyedidia/go-shellquote v0.0.0-20200613203517-eccd813c0655" + "github.com/zyedidia/go-shellquote v0.0.0-20200613203517-eccd813c0655/go.mod" + "github.com/zyedidia/highlight v0.0.0-20170330143449-201131ce5cf5" + "github.com/zyedidia/highlight v0.0.0-20170330143449-201131ce5cf5/go.mod" + "github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d" + "github.com/zyedidia/json5 v0.0.0-20200102012142-2da050b1a98d/go.mod" + "github.com/zyedidia/poller v1.0.1" + "github.com/zyedidia/poller v1.0.1/go.mod" + "github.com/zyedidia/pty v1.1.15" + "github.com/zyedidia/pty v1.1.15/go.mod" + "github.com/zyedidia/tcell/v2 v2.0.8" + "github.com/zyedidia/tcell/v2 v2.0.8/go.mod" + "github.com/zyedidia/terminal v0.0.0-20180726154117-533c623e2415" + "github.com/zyedidia/terminal v0.0.0-20180726154117-533c623e2415/go.mod" + "golang.org/x/sys v0.0.0-20190204203706-41f3e6584952/go.mod" + "golang.org/x/sys v0.0.0-20190626150813-e07cf5db2756/go.mod" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037" + "golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod" + "golang.org/x/text v0.3.0/go.mod" + "golang.org/x/text v0.3.2" + "golang.org/x/text v0.3.2/go.mod" + "golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod" + "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod" + "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15" + "gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod" + "gopkg.in/sourcemap.v1 v1.0.5" + "gopkg.in/sourcemap.v1 v1.0.5/go.mod" + "gopkg.in/yaml.v2 v2.2.2/go.mod" + "gopkg.in/yaml.v2 v2.2.4/go.mod" + "gopkg.in/yaml.v2 v2.2.7" + "gopkg.in/yaml.v2 v2.2.7/go.mod" + "layeh.com/gopher-luar v1.0.7" + "layeh.com/gopher-luar v1.0.7/go.mod" +) + +go-module_set_globals + +DESCRIPTION="Modern and intuitive terminal-based text editor" +HOMEPAGE="https://github.com/zyedidia/micro" +SRC_URI=" + https://github.com/zyedidia/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz + ${EGO_SUM_SRC_URI} +" + +LICENSE="MIT Apache-2.0 BSD MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +BDEPEND="dev-vcs/git" + +src_compile() { + go build -v -work -x -o ${PN} -ldflags \ + "-s -w -X github.com/zyedidia/micro/v2/internal/util.Version=${PV} -X github.com/zyedidia/micro/v2/internal/util.CompileDate=$(date -u +%Y-%m-%dT%H:%M:%SZ)" \ + ./cmd/micro || die +} + +src_install() { + dobin ${PN} + doman ./assets/packaging/micro.1 + domenu assets/packaging/micro.desktop + einstalldocs +} + +pkg_postinst() { + # update desktop file mime cache + xdg_desktop_database_update + xdg_pkg_postinst + + optfeature_header "Clipboard support with display servers:" + optfeature "Xorg" x11-misc/xsel x11-misc/xclip + optfeature "Wayland" gui-apps/wl-clipboard +} |