diff options
Diffstat (limited to 'dev-ruby/rgen')
-rw-r--r-- | dev-ruby/rgen/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/rgen/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/rgen/rgen-0.8.0.ebuild | 26 | ||||
-rw-r--r-- | dev-ruby/rgen/rgen-0.8.3.ebuild | 36 |
4 files changed, 78 insertions, 0 deletions
diff --git a/dev-ruby/rgen/Manifest b/dev-ruby/rgen/Manifest new file mode 100644 index 000000000000..bbbe987d77a9 --- /dev/null +++ b/dev-ruby/rgen/Manifest @@ -0,0 +1,5 @@ +DIST rgen-0.8.0.gem 382976 BLAKE2B a9d6c4e60451ad537b9213d679558ba48b313dff1a6720f72881d10c68d2ecb5c9a5796bfdb8ea0d7ea1fcd02f309725d99af59d8d9c7ed179c296371ba8e3ba SHA512 cf4f5435fdc78850a05b44477804f511f52be0be3999dfabd52cbaeb26e93c2e2eb9d18a094373ddaa61076a437f0b26e9371de0a10158969b3934d530b230b6 +DIST rgen-0.8.3.tar.gz 275845 BLAKE2B 90addb8511646ac1bcfce113b39bc6998704a7e92319b7854c56fb85276adee86b64e847f940769076967090fe62024aa641c6d194c9dd57acecb855eafa8cae SHA512 74f6ed04c49b880bee8c6ed126874f8def43c8ff7a58a8e09743fbd8e255707f6b947b37205c4c35508aec983729fdec228c30e297d7ac6e3bd7f8c2167c63e1 +EBUILD rgen-0.8.0.ebuild 573 BLAKE2B e772bb843512d19b1722132c3a5c61fab4efa52f50d632d6036685f90cd043f5af4ae759b60b67f3e2d1669c00d5966c21acd1194734eee20637bb42f6bc7ffd SHA512 7d50a0a66a57f6cb1ec6f256fafa2658d5a5e3fd63af96eb61a09484815956870df71c9f94db951f3044a8ad387b5959e4b0e9dfc84e4edbaf4939884b4074e4 +EBUILD rgen-0.8.3.ebuild 872 BLAKE2B b94097446c7218984e84e3a631781aa064673e0912af70c844cbc09792db3abcfb8e8fdce835835e9bcf3999001ce9feb41d8586d797ec79caf79c7e9d693214 SHA512 8b805bb088c6ce66986537d22829908451242a33fdf5045df3325f2930006970b1179dc5639b89dd21c4fd717d7d63c1e44c0f2535a2be076805592b3b91df4f +MISC metadata.xml 338 BLAKE2B 93ef49d518bff5cbddf74d2d851eadfdc01b79389f77fb002c456c453978d41c5157f545cce8dfa09878f42599daba66d8cfce611f6ebe91496cdb1589309ee5 SHA512 714e42942d30a44542c2c9804e4c5532fb69bedd0c12b9488cf23f64fb58abc80c068c7049e10f793005ae1c6d1c54694dbef0982f2adee03dff58855f41b9b6 diff --git a/dev-ruby/rgen/metadata.xml b/dev-ruby/rgen/metadata.xml new file mode 100644 index 000000000000..e43317ea38d4 --- /dev/null +++ b/dev-ruby/rgen/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">mthiede/rgen</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rgen/rgen-0.8.0.ebuild b/dev-ruby/rgen/rgen-0.8.0.ebuild new file mode 100644 index 000000000000..5c19fb5cb223 --- /dev/null +++ b/dev-ruby/rgen/rgen-0.8.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby Modelling and Generator Framework" +HOMEPAGE="https://github.com/mthiede/rgen" + +LICENSE="MIT" +SLOT="0" +IUSE="" +KEYWORDS="amd64 hppa ~ppc ~sparc x86" + +ruby_add_rdepend "dev-ruby/nokogiri" + +ruby_add_bdepend "doc? ( >=dev-ruby/rdoc-4.2.0 )" + +each_ruby_test() { + ${RUBY} -Ilib -S testrb $(find test -type f -name '*_test.rb') || die +} diff --git a/dev-ruby/rgen/rgen-0.8.3.ebuild b/dev-ruby/rgen/rgen-0.8.3.ebuild new file mode 100644 index 000000000000..1355937454ba --- /dev/null +++ b/dev-ruby/rgen/rgen-0.8.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.rdoc" +RUBY_FAKEGEM_GEMSPEC="rgen.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby Modelling and Generator Framework" +HOMEPAGE="https://github.com/mthiede/rgen" +SRC_URI="https://github.com/mthiede/rgen/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +IUSE="" +KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86" + +ruby_add_bdepend "doc? ( >=dev-ruby/rdoc-4.2.0 ) + test? ( >=dev-ruby/minitest-5.10:5 >=dev-ruby/nokogiri-1.6.8.1 ) +" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' Rakefile || die +} + +each_ruby_prepare() { + case ${RUBY} in + *ruby24|*ruby25) + sed -i -e 's/Can not use a Fixnum/Can not use a Integer/' test/metamodel_builder_test.rb || die + ;; + esac +} |