1 |
commit: 70c51977816777c5db1a7b83aa43d36e129bb828 |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 2 16:20:03 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 2 16:20:26 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70c51977 |
7 |
|
8 |
dev-ruby/barby: cleanup |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
12 |
|
13 |
dev-ruby/barby/Manifest | 1 - |
14 |
dev-ruby/barby/barby-0.6.7.ebuild | 99 --------------------------------------- |
15 |
2 files changed, 100 deletions(-) |
16 |
|
17 |
diff --git a/dev-ruby/barby/Manifest b/dev-ruby/barby/Manifest |
18 |
index a8986389d87..cffe78877a3 100644 |
19 |
--- a/dev-ruby/barby/Manifest |
20 |
+++ b/dev-ruby/barby/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST barby-0.6.7.tar.gz 95199 BLAKE2B b1729e361a41deee248a3c74c56d072fe0eeb3463ff4730744736e1a523f2844e877d63b058ec02e4cdad1f77620bcd476e823864428aff78b462cf29b20909a SHA512 29ba52612b2390ebd2a9e0acc0eec4a4c119ca305662f47e6656cb63727956877970d14f9b924466fad6e9e927e23f74c2614b41e09ca6b068bdabbaae21f93f |
23 |
DIST barby-0.6.8.tar.gz 96647 BLAKE2B b0af8e5573dc7d3d1881c793895d1c440b97bb5609b0759f56bdecfed7b4b74080f96301d2511101abb21760074584905fdc4e94938d38e2a553933686ccf976 SHA512 1d51dece22febd8c8a234241b88edd3ea93eae328e69fbd8dba3f48afcea7943ec4a72252a74b476aae5812ee132de6b87e37f9fd4c2a43d7c79ec68c831b68c |
24 |
|
25 |
diff --git a/dev-ruby/barby/barby-0.6.7.ebuild b/dev-ruby/barby/barby-0.6.7.ebuild |
26 |
deleted file mode 100644 |
27 |
index c6bb8935472..00000000000 |
28 |
--- a/dev-ruby/barby/barby-0.6.7.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,99 +0,0 @@ |
31 |
-# Copyright 1999-2019 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-USE_RUBY="ruby24 ruby25" |
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 |
-} |