Gentoo Archives: gentoo-commits

From: Naohiro Aota <naota@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/mikutter/
Date: Sat, 09 Oct 2021 15:56:31
Message-Id: 1633794970.e4810531c746ac89fa23eaace12dd7eba4512174.naota@gentoo
1 commit: e4810531c746ac89fa23eaace12dd7eba4512174
2 Author: Naohiro Aota <naota <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 9 15:47:16 2021 +0000
4 Commit: Naohiro Aota <naota <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 15:56:10 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4810531
7
8 net-misc/mikutter: bump to 4.1.7; drop no longer working old versions
9
10 Signed-off-by: Naohiro Aota <naota <AT> gentoo.org>
11
12 net-misc/mikutter/Manifest | 3 +-
13 net-misc/mikutter/mikutter-4.0.6-r1.ebuild | 119 ---------------------
14 ...utter-4.1.5-r1.ebuild => mikutter-4.1.7.ebuild} | 0
15 3 files changed, 1 insertion(+), 121 deletions(-)
16
17 diff --git a/net-misc/mikutter/Manifest b/net-misc/mikutter/Manifest
18 index 22567a46641..e7fc8abd380 100644
19 --- a/net-misc/mikutter/Manifest
20 +++ b/net-misc/mikutter/Manifest
21 @@ -1,3 +1,2 @@
22 -DIST mikutter-4.0.6.tar.gz 2322108 BLAKE2B 46d0cda2bc173ee971e516f017f66e26e9f7a4abd7330111ef66cd40bd0c6dd407b3d6988fa5955ca33a2c375cb77b4c234c8439dc27b6baf43dfcc9a34f4052 SHA512 16dca21bf7f989d2af71a8acc26816dbd7ebff7866b65d4c376b87cf2ba7757d8978a25483cb548448e3341c51d7767b638775e2696f64484b4f5ec8cdce050e
23 -DIST mikutter-4.1.5.tar.gz 2331485 BLAKE2B 25113ed59cad43094b77bacdf2e42079d9fb5a641a0b2e7ac9529e66183b6f7f953182350cf1d7f8703c10dda0a973edddd54b6c092fc3bf4c3ffe1cc243c2bf SHA512 a8d4be8fb4bf73a9b383ee0d18a6a6c91b6a4ad4ff5837c483da6274b70e4390600d729e303e00a3d4068791e80e0c83619760a3b885cbc4e3717eefb48b3c7c
24 +DIST mikutter-4.1.7.tar.gz 2331574 BLAKE2B a60918f2bfe3a56087536c0b3313f454cdee61fd4c988008581f8a9e3373a76d78e8c93d051ff21b45874e9d4944522c2feafc4ec06fd669e7568b8f9864911c SHA512 bb7fa2ebb22484e6244c2ac6747b811d0ebc1eadca9997c9b272c6378149f63f01b9f1b5c30b36150b38997c973233b8f7b9c3f310c5e36e3ee23edec67eddc5
25 DIST twitter_api_keys.rb 336 BLAKE2B 9b134fb9169f96c99582d1ceffe39cfa1675b6e747a8a46f6123cbff73b7e255e59aba3f6cf247decc9824244947d260658011b5aa72a915d50565e797e31703 SHA512 39efeed878f763101329c781fb501c5b5df848e4ae3c1f6bcdf3e6b151c5d647c68127f906eccf7861466d2ff88e7f1bdc27065205ed91a80e9cdc89fa5152e4
26
27 diff --git a/net-misc/mikutter/mikutter-4.0.6-r1.ebuild b/net-misc/mikutter/mikutter-4.0.6-r1.ebuild
28 deleted file mode 100644
29 index 0a87e3d4a47..00000000000
30 --- a/net-misc/mikutter/mikutter-4.0.6-r1.ebuild
31 +++ /dev/null
32 @@ -1,119 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -USE_RUBY="ruby25 ruby26"
39 -
40 -inherit desktop ruby-ng
41 -
42 -PLUGIN_HASH="30071c3008e4616e723cf4e734fc79254019af09"
43 -
44 -if [ "${PV}" = "9999" ]; then
45 - EGIT_REPO_URI="git://toshia.dip.jp/mikutter.git
46 - https://github.com/toshia/twitter_api_keys.git"
47 - inherit git-r3
48 - SRC_URI="https://raw.githubusercontent.com/toshia/twitter_api_keys/${PLUGIN_HASH}/twitter_api_keys.rb"
49 - EGIT_CHECKOUT_DIR="${WORKDIR}/all"
50 -else
51 - SRC_URI="http://mikutter.hachune.net/bin/${P}.tar.gz
52 - https://raw.githubusercontent.com/toshia/twitter_api_keys/${PLUGIN_HASH}/twitter_api_keys.rb"
53 - KEYWORDS="~amd64"
54 -fi
55 -
56 -DESCRIPTION="Simple, powerful and moeful twitter client"
57 -HOMEPAGE="https://mikutter.hachune.net/"
58 -
59 -LICENSE="MIT"
60 -SLOT="0"
61 -IUSE="+libnotify"
62 -
63 -DEPEND=""
64 -RDEPEND="
65 - libnotify? ( x11-libs/libnotify )
66 - media-sound/alsa-utils"
67 -
68 -ruby_add_rdepend "=dev-ruby/addressable-2.8*
69 - =dev-ruby/delayer-1.1*:1
70 - =dev-ruby/delayer-deferred-2.1*
71 - !<dev-ruby/delayer-deferred-2.1.3
72 - =dev-ruby/diva-1.0*
73 - !<dev-ruby/diva-1.0.2
74 - dev-ruby/httpclient
75 - dev-ruby/json:2
76 - =dev-ruby/memoist-0.16*
77 - !<dev-ruby/memoist-0.16.2
78 - dev-ruby/moneta
79 - dev-ruby/nokogiri
80 - >=dev-ruby/oauth-0.5.4
81 - =dev-ruby/pluggaloid-1.2*
82 - dev-ruby/rcairo
83 - =dev-ruby/ruby-gettext-3.3*
84 - !<dev-ruby/ruby-gettext-3.3.5
85 - =dev-ruby/ruby-gtk2-3.4*
86 - =dev-ruby/typed-array-0.1*
87 - !<dev-ruby/typed-array-0.1.2
88 - virtual/ruby-ssl"
89 -
90 -all_ruby_unpack() {
91 - if [ "${PV}" = "9999" ];then
92 - git-3_src_unpack
93 - else
94 - default
95 - fi
96 -}
97 -
98 -all_ruby_install() {
99 - local rubyversion
100 -
101 - if use ruby_targets_ruby26; then
102 - rubyversion=ruby26
103 - elif use ruby_targets_ruby25; then
104 - rubyversion=ruby25
105 - fi
106 -
107 - exeinto /usr/share/mikutter
108 - doexe mikutter.rb
109 - insinto /usr/share/mikutter
110 - doins -r core plugin
111 - sed -e "s/ruby19/${rubyversion}/" "${FILESDIR}"/mikutter \
112 - | newbin - mikutter
113 - dodoc README
114 - make_desktop_entry mikutter Mikutter \
115 - /usr/share/mikutter/core/skin/data/icon.png
116 -
117 - insinto /usr/share/mikutter/plugin/twitter_api_keys
118 - newins "${DISTDIR}"/twitter_api_keys.rb twitter_api_keys.rb.in
119 -}
120 -
121 -pkg_postinst() {
122 - echo
123 - elog "To use Twitter, you need to setup your Consumer Key/Consumer Secret by running"
124 - elog " emerge --config =${PF}"
125 -}
126 -
127 -pkg_config() {
128 - local PLUGIN_DIR="${EROOT}"/usr/share/mikutter/plugin
129 - local CK CS
130 -
131 - echo
132 - einfon "Please input your Consumer Key for Twitter: "
133 - read -r CK
134 -
135 - echo
136 - einfon "Please input your Consumer Secret for Twitter: "
137 - read -r CS
138 -
139 - if [ -z "${CK}" -o -z "${CS}" ]; then
140 - eerror "Consumer Key or Consumer Secret is missing."
141 - return
142 - fi
143 -
144 - sed -e "/consumer_key = /s!''!'${CK}'!" \
145 - -e "/consumer_secret = /s!''!'${CS}'!" \
146 - ${PLUGIN_DIR}/twitter_api_keys/twitter_api_keys.rb.in > \
147 - ${PLUGIN_DIR}/twitter_api_keys/twitter_api_keys.rb
148 -
149 - echo
150 - einfo "Consuker Key/Consumer secret is set."
151 -}
152
153 diff --git a/net-misc/mikutter/mikutter-4.1.5-r1.ebuild b/net-misc/mikutter/mikutter-4.1.7.ebuild
154 similarity index 100%
155 rename from net-misc/mikutter/mikutter-4.1.5-r1.ebuild
156 rename to net-misc/mikutter/mikutter-4.1.7.ebuild