diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ruby/rbpdf |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ruby/rbpdf')
-rw-r--r-- | dev-ruby/rbpdf/Manifest | 7 | ||||
-rw-r--r-- | dev-ruby/rbpdf/metadata.xml | 14 | ||||
-rw-r--r-- | dev-ruby/rbpdf/rbpdf-1.19.2.ebuild | 50 | ||||
-rw-r--r-- | dev-ruby/rbpdf/rbpdf-1.19.3.ebuild | 50 |
4 files changed, 121 insertions, 0 deletions
diff --git a/dev-ruby/rbpdf/Manifest b/dev-ruby/rbpdf/Manifest new file mode 100644 index 000000000000..f905286c1cfd --- /dev/null +++ b/dev-ruby/rbpdf/Manifest @@ -0,0 +1,7 @@ +DIST rbpdf-1.19.2.gem 524800 SHA256 9195daf16f92c57b4ba45e77fb435101274c8bbd770e9f933f0dcacc5aca5373 SHA512 fcb27d7b4643e35ccffa13ab34221f45c744ca323f2ac497301d63d5c8a54367b67e8769f6e2f0cff7744520ececfef235769d895a9cff2a2f0b7376bc3ff95f WHIRLPOOL de5b5233765460effad2ea2d2fcad7b1354e1b6917c1529b8f4341390e3def18051f0a4eed77be386a690acf30583e114c5fbc5d1fa11592df9579eb99ff75e6 +DIST rbpdf-1.19.3.gem 295424 SHA256 ee84b5ebb5b307a0d617a536295d14d2ba2a6deea79b84dfc7e0879b58c2d92d SHA512 ec169555973122418f0a15bdbc9ec212d0a5151dea849e64b21e45390a2fbd6571e4918322e9c6ec048cc10e53ecbab9b32a1bfe484f2fe6a9f13ce0f01f53ee WHIRLPOOL 1427b9a6b2f48d49910982082432380d013776c1eb993a41289e59b5a52a1160f1284452846c3d7c6594b6174dbf031e42ea58a7075aa204d8190be4ca2544b6 +EBUILD rbpdf-1.19.2.ebuild 1232 SHA256 2548e8375b7048395d1790819f64c5a4afde8c01a60e64fff8a9910eaa6c5ac1 SHA512 39a966d2f29953004ce5f34cb7409bcff4d3542710502dadedaf8677d3ca5b54deda07c5866909a9d84d78303dad73158bc6e9583d6d1398ec294a352e46bf49 WHIRLPOOL c4de4dca9d9260a94e27ddd75a83576cc9ca86a66ea70445335debff7c0e1456ae0f0223c42dfe9cc86049343b49487a9fd16138d743789b8f7d78b10c14b1bd +EBUILD rbpdf-1.19.3.ebuild 1227 SHA256 dbfe12fe85443a8a4dab3a8b7b6a2fd19fac05c7cce0daf3f93fa3d0638ad124 SHA512 d808747543ebb5e58c3c693d9bd9ad43ad8afe20895645af207f3bec5d081578827146276b2b809e35db230f485e91694b88328cf807627f98f7ba3c1b44c775 WHIRLPOOL 19de45d1c594f8fd22faa99d5ceb155cf279b0152e21f03820ad65329129196e14d79cc21010e110b38d8de671a3f8854237a6015a2e2c6a72b5ead9bd435a5b +MISC ChangeLog 3370 SHA256 ec83a2af5d1bf8de96ef492c40a99d840ee0f6fcaa1e5f1dc66f2e9a9626c7b3 SHA512 a76f0cadfaec83803e66337561f78fdc0be11ffbaf7324c3bc99221ccf6229bd5a200e820a9eab42dbc878378dc795b92f2ca5e1e063b11d640de4114ceab87d WHIRLPOOL c4464266d14b41c7e566b6257577d61936b1ac78d87715f463cc37699137c3094dbb074346cab3621f7ca498ac8ff0f88a9129b963a004bae62b94f9f351cd3d +MISC ChangeLog-2015 781 SHA256 5c074c831a0ea501a9a5679c9d6b951c3d8f77fc0daac270c8b2681ac39a0315 SHA512 c3252a01b109a155b2847db7452cff027e66b05153f652c5f66bda1aad01c5f58a0e11721266f4555afb13a66f812858e93f31883c24e61fdb54bcce2c908cfb WHIRLPOOL abaa2a4624e58b584205ba03248e5631f6d127a43e4251ceef6938bf0909a04ed17c07ef5b9146da0d7730dd7ac9455cd92169b4e504617c17105d2a0042ab28 +MISC metadata.xml 417 SHA256 a0e09c501dc70d51d2a9ad6139f05b7b79b2165df01e3f262f8b5cd6bb9d9cb0 SHA512 c33c8dded82e45f867b4e93cb3be96cabf42152bfd6aa13f9144fae15b2b4f4b8f503d4aef4af8c2448584c2e71251c958b8dacb14c26da4a6c2b9b3ff442dc4 WHIRLPOOL 852f7f272f08993f70d27ff663f4916f64de609b2df741695a818c94547fb5da7fd91c122551789ba30e64ed1f897d0cc6c8035c22bc1e5dddbaa02f5ee7985a diff --git a/dev-ruby/rbpdf/metadata.xml b/dev-ruby/rbpdf/metadata.xml new file mode 100644 index 000000000000..3300d1b32153 --- /dev/null +++ b/dev-ruby/rbpdf/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>mjo@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">naitoh/rbpdf</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rbpdf/rbpdf-1.19.2.ebuild b/dev-ruby/rbpdf/rbpdf-1.19.2.ebuild new file mode 100644 index 000000000000..4bd79ea745a1 --- /dev/null +++ b/dev-ruby/rbpdf/rbpdf-1.19.2.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23" + +# Avoid the complexity of the "rake" recipe and run the tests manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby on Rails RBPDF plugin" +HOMEPAGE="https://github.com/naitoh/rbpdf" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3 )" +ruby_add_rdepend "dev-ruby/actionview:* + dev-ruby/htmlentities + =dev-ruby/rbpdf-font-1.19*" + +all_ruby_prepare() { + default + + # This test is enabled automagically in the presence of rmagick, and + # then fails. + rm -f test/rbpdf_image_rmagick_test.rb \ + || die "failed to remove rmagick tests" + + # Loosen very restrictive htmlentities dependency + sed -i -e '/htmlentities/ s/=/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + local cmd='gem "test-unit", ">= 3.0"' + cmd+=' and ' + cmd+='require "test/unit"' + cmd+=' and ' + cmd+='Dir["test/rbpdf_*.rb"].each{|f| require("./" + f)}' + ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed" +} diff --git a/dev-ruby/rbpdf/rbpdf-1.19.3.ebuild b/dev-ruby/rbpdf/rbpdf-1.19.3.ebuild new file mode 100644 index 000000000000..9928e1cbd320 --- /dev/null +++ b/dev-ruby/rbpdf/rbpdf-1.19.3.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23 ruby24" + +# Avoid the complexity of the "rake" recipe and run the tests manually. +RUBY_FAKEGEM_RECIPE_TEST=none + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby on Rails RBPDF plugin" +HOMEPAGE="https://github.com/naitoh/rbpdf" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( >=dev-ruby/test-unit-3 )" +ruby_add_rdepend "dev-ruby/actionview:* + dev-ruby/htmlentities + =dev-ruby/rbpdf-font-1.19*" + +all_ruby_prepare() { + default + + # This test is enabled automagically in the presence of rmagick, and + # then fails. + rm -f test/rbpdf_image_rmagick_test.rb \ + || die "failed to remove rmagick tests" + + # Loosen very restrictive htmlentities dependency + sed -i -e '/htmlentities/ s/=/>=/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + local cmd='gem "test-unit", ">= 3.0"' + cmd+=' and ' + cmd+='require "test/unit"' + cmd+=' and ' + cmd+='Dir["test/rbpdf_*.rb"].each{|f| require("./" + f)}' + ${RUBY} -Ilib:.:test -e "${cmd}" || die "test suite failed" +} |