Gentoo Archives: gentoo-commits

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/xarthisius:master commit in: dev-ruby/lockfile/, dev-ruby/ncursesw-ruby/files/, mail-client/sup/, ...
Date: Fri, 06 May 2011 16:30:07
Message-Id: 45fc7e41ff3db93077c18cd1729bf671aa87e80c.xarthisius@gentoo
1 commit: 45fc7e41ff3db93077c18cd1729bf671aa87e80c
2 Author: Kacper Kowalik (Xarthisius) <xarthisius <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 6 16:29:47 2011 +0000
4 Commit: Kacper Kowalik <xarthisius <AT> gentoo <DOT> org>
5 CommitDate: Fri May 6 16:29:47 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/xarthisius.git;a=commit;h=45fc7e41
7
8 add mail-client/sup and all deps that are not in g-x86
9
10 ---
11 dev-ruby/lockfile/Manifest | 2 +
12 dev-ruby/lockfile/lockfile-1.4.3.ebuild | 22 ++++++++++
13 dev-ruby/ncursesw-ruby/Manifest | 3 +
14 .../files/ncursesw-ruby-1.2.4.3-fix-trace.patch | 11 +++++
15 .../ncursesw-ruby/ncursesw-ruby-1.2.4.3.ebuild | 44 ++++++++++++++++++++
16 mail-client/sup/Manifest | 2 +
17 mail-client/sup/sup-0.12.1.ebuild | 35 ++++++++++++++++
18 7 files changed, 119 insertions(+), 0 deletions(-)
19
20 diff --git a/dev-ruby/lockfile/Manifest b/dev-ruby/lockfile/Manifest
21 new file mode 100644
22 index 0000000..02ab579
23 --- /dev/null
24 +++ b/dev-ruby/lockfile/Manifest
25 @@ -0,0 +1,2 @@
26 +DIST lockfile-1.4.3.tgz 33146 RMD160 b5718fac2fc72992eaf1100758c60166a07c20ce SHA1 440b743e45ae35a7ef3c635d1cc6d8d4bf462ac0 SHA256 b25f49b01cda827c60098898c18cd1767b15966a8b0fb759aeffe006d32f7ed7
27 +EBUILD lockfile-1.4.3.ebuild 485 RMD160 e4765bc425bd090e1a7b78681483c860b86b815a SHA1 e89857cac7df0e32a4d675194c537c993d7c599a SHA256 4885e5d7dacd43c3ded1db85a54e03b26ba7aa9127a7f7fdec8b9b7a527cb077
28
29 diff --git a/dev-ruby/lockfile/lockfile-1.4.3.ebuild b/dev-ruby/lockfile/lockfile-1.4.3.ebuild
30 new file mode 100644
31 index 0000000..ecf5a54
32 --- /dev/null
33 +++ b/dev-ruby/lockfile/lockfile-1.4.3.ebuild
34 @@ -0,0 +1,22 @@
35 +# Copyright 1999-2011 Gentoo Foundation
36 +# Distributed under the terms of the GNU General Public License v2
37 +# $Header: $
38 +
39 +EAPI=4
40 +
41 +USE_RUBY="ruby18"
42 +
43 +RUBY_FAKEGEM_TASK_DOC=""
44 +RUBY_FAKEGEM_TASK_TEST=""
45 +
46 +inherit ruby-fakegem
47 +
48 +DESCRIPTION="ruby library for creating NFS safe lockfiles"
49 +HOMEPAGE="http://codeforpeople.com/lib/ruby/
50 + http://rubyforge.org/projects/codeforpeople/"
51 +SRC_URI="http://codeforpeople.com/lib/ruby/${PN}/${P}.tgz"
52 +
53 +LICENSE="GPL-2"
54 +SLOT="0"
55 +KEYWORDS="~amd64"
56 +IUSE=""
57
58 diff --git a/dev-ruby/ncursesw-ruby/Manifest b/dev-ruby/ncursesw-ruby/Manifest
59 new file mode 100644
60 index 0000000..7f9a141
61 --- /dev/null
62 +++ b/dev-ruby/ncursesw-ruby/Manifest
63 @@ -0,0 +1,3 @@
64 +AUX ncursesw-ruby-1.2.4.3-fix-trace.patch 319 RMD160 3714ba42d5b1d84e1443f9bcb8c9c92c0d95d9c4 SHA1 2169fa4b74854519e2d14a92b6c9dea467e86981 SHA256 ba78c6da6a2826cf2472d2344904298fd49ac512e0b1129f927da1626e6c5faa
65 +DIST ncursesw-1.2.4.3.gem 66560 RMD160 980bcf2708c4d1da6a05f6480ae75ad5d9e66523 SHA1 4a3698e727a1de8959da6a180a5d0d37c30c9921 SHA256 3d48edb4100ebcbac0417febebef3131c69cfb02e4eeb2cd7931149d77e5f155
66 +EBUILD ncursesw-ruby-1.2.4.3.ebuild 932 RMD160 3200fe3bc63a16fe86fd51a29ea3096354ced715 SHA1 367b327a69f4edb7932e6787d2732809feab9aa3 SHA256 9c99735388fa0043b7d96f865d8d83bd23f1e5095a2495537e7439867d54751c
67
68 diff --git a/dev-ruby/ncursesw-ruby/files/ncursesw-ruby-1.2.4.3-fix-trace.patch b/dev-ruby/ncursesw-ruby/files/ncursesw-ruby-1.2.4.3-fix-trace.patch
69 new file mode 100644
70 index 0000000..479ce3a
71 --- /dev/null
72 +++ b/dev-ruby/ncursesw-ruby/files/ncursesw-ruby-1.2.4.3-fix-trace.patch
73 @@ -0,0 +1,11 @@
74 +--- ncurses_wrap.c
75 ++++ ncurses_wrap.c
76 +@@ -2394,7 +2394,7 @@
77 + return Qnil;
78 + }
79 + _tracef("%s",
80 +- STR2CSTR(funcall3(rb_mKernel, rb_intern("sprintf"), argc, argv)));
81 ++ STR2CSTR(rb_funcall3(rb_mKernel, rb_intern("sprintf"), argc, argv)));
82 + return Qnil;
83 + }
84 + #endif /* HAVE__TRACEF */
85
86 diff --git a/dev-ruby/ncursesw-ruby/ncursesw-ruby-1.2.4.3.ebuild b/dev-ruby/ncursesw-ruby/ncursesw-ruby-1.2.4.3.ebuild
87 new file mode 100644
88 index 0000000..4095114
89 --- /dev/null
90 +++ b/dev-ruby/ncursesw-ruby/ncursesw-ruby-1.2.4.3.ebuild
91 @@ -0,0 +1,44 @@
92 +# Copyright 1999-2011 Gentoo Foundation
93 +# Distributed under the terms of the GNU General Public License v2
94 +# $Header: $
95 +
96 +EAPI=2
97 +USE_RUBY="ruby18"
98 +
99 +RUBY_FAKEGEM_TASK_TEST=""
100 +RUBY_FAKEGEM_TASK_DOC="rdoc"
101 +RUBY_FAKEGEM_EXTRADOC="Changes README THANKS TODO"
102 +RUBY_FAKEGEM_NAME="ncursesw"
103 +
104 +inherit multilib ruby-fakegem
105 +
106 +DESCRIPTION="Ruby wrapper for ncurses providing wide character support."
107 +HOMEPAGE="https://github.com/rlane/ncursesw-ruby"
108 +SRC_URI="http://gems.rubyforge.org/gems/ncursesw-${PV}.gem"
109 +LICENSE="LGPL-2.1"
110 +SLOT="0"
111 +KEYWORDS="~amd64"
112 +IUSE="examples"
113 +
114 +DEPEND=">=sys-libs/ncurses-5.3"
115 +RDEPEND="${DEPEND}"
116 +
117 +RUBY_PATCHES=( "${FILESDIR}"/${P}-fix-trace.patch )
118 +
119 +each_ruby_configure() {
120 + ${RUBY} extconf.rb || die
121 +}
122 +
123 +each_ruby_compile() {
124 + emake || die
125 + mv ncursesw_bin$(get_modname) lib/ || die
126 +}
127 +
128 +all_ruby_install() {
129 + all_fakegem_install
130 +
131 + if use examples; then
132 + insinto /usr/share/doc/${PF}
133 + doins -r examples || die
134 + fi
135 +}
136
137 diff --git a/mail-client/sup/Manifest b/mail-client/sup/Manifest
138 new file mode 100644
139 index 0000000..573656a
140 --- /dev/null
141 +++ b/mail-client/sup/Manifest
142 @@ -0,0 +1,2 @@
143 +DIST sup-0.12.1.tgz 130010 RMD160 36de383960b0c64286c2c64c91ce78026357acd9 SHA1 40689289dae138fc59a1dc817bd00e340e36774c SHA256 0719ef26c06e7d24bf7eae1599beb5d3154048f665df3551aa6f8c5aeb7bf450
144 +EBUILD sup-0.12.1.ebuild 783 RMD160 568f8c1b889577976fa05055dc2293e080e10893 SHA1 7722ce0f05821b3e5a4b7af0184d191bb2c2ab7c SHA256 61e6bb97a3b8e6f86d09b18718e8d516696f697eade64d836a6f9ae0449a8741
145
146 diff --git a/mail-client/sup/sup-0.12.1.ebuild b/mail-client/sup/sup-0.12.1.ebuild
147 new file mode 100644
148 index 0000000..c0779c6
149 --- /dev/null
150 +++ b/mail-client/sup/sup-0.12.1.ebuild
151 @@ -0,0 +1,35 @@
152 +# Copyright 1999-2011 Gentoo Foundation
153 +# Distributed under the terms of the GNU General Public License v2
154 +# $Header: $
155 +
156 +EAPI=4
157 +USE_RUBY="ruby18"
158 +
159 +RUBY_FAKEGEM_TASK_DOC=""
160 +RUBY_FAKEGEM_TASK_TEST=""
161 +RUBY_FAKEGEM_EXTRADOC="History.txt README.txt ReleaseNotes"
162 +
163 +inherit ruby-fakegem
164 +
165 +DESCRIPTION="console-based email client for people with a lot of mails"
166 +HOMEPAGE="http://sup.rubyforge.org/"
167 +SRC_URI="mirror://rubyforge/${PN}/${P}.tgz"
168 +
169 +LICENSE="GPL-2"
170 +SLOT="0"
171 +KEYWORDS="~amd64"
172 +IUSE=""
173 +
174 +DEPEND=""
175 +RDEPEND="dev-libs/xapian-bindings[ruby]"
176 +
177 +ruby_add_rdepend "dev-ruby/highline
178 + dev-ruby/ncurses-ruby
179 + dev-ruby/ncursesw-ruby
180 + dev-ruby/net-ssh
181 + dev-ruby/trollop
182 + dev-ruby/mime-types
183 + dev-ruby/ruby-gettext
184 + dev-ruby/rubymail
185 + dev-ruby/fastthread
186 + dev-ruby/lockfile" # <- not in portage