1 |
commit: 7c27c492d9e629e176d5b045f28dda8637fc304e |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 11 18:25:20 2019 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 11 18:25:20 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c27c492 |
7 |
|
8 |
dev-ruby/barby: cleanup |
9 |
|
10 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
12 |
|
13 |
dev-ruby/barby/Manifest | 1 - |
14 |
dev-ruby/barby/barby-0.6.5.ebuild | 99 --------------------------------------- |
15 |
2 files changed, 100 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/barby/Manifest b/dev-ruby/barby/Manifest |
18 |
index 1372c2e74b1..db5bdb4d094 100644 |
19 |
--- a/dev-ruby/barby/Manifest |
20 |
+++ b/dev-ruby/barby/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST barby-0.6.5.tar.gz 93781 BLAKE2B 52589bd473403e6640426eeda6c5f4f9e0b070693e2a146fc077bba33e141fd73bc0ff73908f61d0efb6b8d1c5cd971527f9ae75333ecf029d44ea21135c2133 SHA512 f6101edf7a75986c55577d27dcbb0628fc7a6a4d2b8b4eab7a53e2703fbd0a1ec70a062c7a1e3d2b65db2afeecf8f0375a936c2932125b0d96647b8d24dd0e5c |
23 |
DIST barby-0.6.6.tar.gz 95120 BLAKE2B e46f261eb11eb2f5b17061e6cbe04419df81d4248a9bed8a5f8f90cba9329915cacf3fa48cc922f4eac14ca7eada87e5be526d9b0d2e0bd1f443daf09af89088 SHA512 5b0a00861b9cecee153c5e1f4e1564d99021b3f7f6005efc48d666f8b4255e91f18792d19b9ae635d40f72dbb38de8db215a252b553138be737a52a8ba85c728 |
24 |
|
25 |
diff --git a/dev-ruby/barby/barby-0.6.5.ebuild b/dev-ruby/barby/barby-0.6.5.ebuild |
26 |
deleted file mode 100644 |
27 |
index 619911e8ac6..00000000000 |
28 |
--- a/dev-ruby/barby/barby-0.6.5.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,99 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-USE_RUBY="ruby22 ruby23 ruby24" |
37 |
- |
38 |
-RUBY_FAKEGEM_TASK_TEST="test" |
39 |
- |
40 |
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" |
41 |
- |
42 |
-RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" |
43 |
- |
44 |
-inherit ruby-fakegem |
45 |
- |
46 |
-DESCRIPTION="Ruby barcode generator that doesn't rely on 3rd party libraries" |
47 |
-HOMEPAGE="http://toreto.re/barby/" |
48 |
- |
49 |
-GITHUB_USER="toretore" |
50 |
-SRC_URI="https://github.com/${GITHUB_USER}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
51 |
- |
52 |
-LICENSE="MIT" |
53 |
-SLOT="0" |
54 |
-KEYWORDS="~amd64" |
55 |
-IUSE="test qrcode rmagick prawn png cairo" |
56 |
- |
57 |
-ruby_add_rdepend " |
58 |
- rmagick? ( dev-ruby/rmagick ) |
59 |
- cairo? ( dev-ruby/rcairo )" |
60 |
- |
61 |
-ruby_add_rdepend "qrcode? ( dev-ruby/rqrcode ) |
62 |
- png? ( dev-ruby/chunky_png ) |
63 |
- prawn? ( dev-ruby/prawn:* )" |
64 |
- |
65 |
-ruby_add_bdepend "test? ( dev-ruby/minitest )" |
66 |
- |
67 |
-# testing requires imagemagick capable of png output |
68 |
-DEPEND+=" test? ( media-gfx/imagemagick[png] )" |
69 |
- |
70 |
-# prawn breaks tests for some reasons, needs to be investigated; code |
71 |
-# still works though. |
72 |
-RESTRICT="prawn? ( test )" |
73 |
- |
74 |
-all_ruby_prepare() { |
75 |
- sed -i -e 's/README/README.md/' Rakefile || die |
76 |
- |
77 |
- sed -i -e '/[bB]undler/s:^:#:' test/test_helper.rb || die |
78 |
- |
79 |
- if use qrcode; then |
80 |
- sed -i -e '/^end/i s.add_dependency "rqrcode"' ${RUBY_FAKEGEM_GEMSPEC} |
81 |
- else |
82 |
- rm \ |
83 |
- lib/barby/barcode/qr_code.rb \ |
84 |
- test/qr_code_test.rb |
85 |
- fi |
86 |
- |
87 |
- if use rmagick; then |
88 |
- sed -i -e '/^end/i s.add_dependency "rmagick"' ${RUBY_FAKEGEM_GEMSPEC} |
89 |
- else |
90 |
- rm \ |
91 |
- lib/barby/outputter/rmagick_outputter.rb \ |
92 |
- test/outputter/rmagick_outputter_test.rb |
93 |
- fi |
94 |
- |
95 |
- if use prawn; then |
96 |
- sed -i -e '/^end/i s.add_dependency "prawn"' ${RUBY_FAKEGEM_GEMSPEC} |
97 |
- else |
98 |
- rm \ |
99 |
- lib/barby/outputter/prawn_outputter.rb \ |
100 |
- test/outputter/prawn_outputter_test.rb |
101 |
- fi |
102 |
- |
103 |
- if use png; then |
104 |
- sed -i -e '/^end/i s.add_dependency "chunky_png"' ${RUBY_FAKEGEM_GEMSPEC} |
105 |
- else |
106 |
- rm \ |
107 |
- lib/barby/outputter/png_outputter.rb \ |
108 |
- test/outputter/png_outputter_test.rb |
109 |
- fi |
110 |
- |
111 |
- if use cairo; then |
112 |
- sed -i -e '/^end/i s.add_dependency "cairo"' ${RUBY_FAKEGEM_GEMSPEC} |
113 |
- else |
114 |
- rm \ |
115 |
- lib/barby/outputter/cairo_outputter.rb \ |
116 |
- test/outputter/cairo_outputter_test.rb |
117 |
- fi |
118 |
- |
119 |
- rm -f \ |
120 |
- lib/barby/barcode/data_matrix.rb \ |
121 |
- test/data_matrix_test.rb \ |
122 |
- lib/barby/outputter/pdfwriter_outputter.rb \ |
123 |
- test/outputter/pdfwriter_outputter_test.rb || die |
124 |
- |
125 |
- sed -i \ |
126 |
- -e '/semacode/d' \ |
127 |
- -e '/pdf-writer/d' \ |
128 |
- ${RUBY_FAKEGEM_GEMSPEC} || die |
129 |
-} |