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