diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2013-11-27 09:13:04 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2013-11-27 09:13:04 +0000 |
commit | 37adac705f24e68efe44705f1a11b94d3a09356a (patch) | |
tree | 09c8a2510f09e81a75d6f76ba8d6e5d22fe2f3f3 /dev-ruby/rdiscount | |
parent | Add missing glibmm dep (bug #492656). (diff) | |
download | historical-37adac705f24e68efe44705f1a11b94d3a09356a.tar.gz historical-37adac705f24e68efe44705f1a11b94d3a09356a.tar.bz2 historical-37adac705f24e68efe44705f1a11b94d3a09356a.zip |
Add ruby20 support to rdiscount-1.x.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rdiscount')
-rw-r--r-- | dev-ruby/rdiscount/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/rdiscount/Manifest | 3 | ||||
-rw-r--r-- | dev-ruby/rdiscount/rdiscount-1.6.8-r2.ebuild | 51 |
3 files changed, 59 insertions, 2 deletions
diff --git a/dev-ruby/rdiscount/ChangeLog b/dev-ruby/rdiscount/ChangeLog index 8435e93e3ef8..a09917dc176a 100644 --- a/dev-ruby/rdiscount/ChangeLog +++ b/dev-ruby/rdiscount/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/rdiscount # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/ChangeLog,v 1.20 2013/10/19 05:42:06 mrueg Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/ChangeLog,v 1.21 2013/11/27 09:12:59 mrueg Exp $ + +*rdiscount-1.6.8-r2 (27 Nov 2013) + + 27 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +rdiscount-1.6.8-r2.ebuild: + Add ruby20 support to rdiscount-1.x. *rdiscount-2.1.7 (19 Oct 2013) diff --git a/dev-ruby/rdiscount/Manifest b/dev-ruby/rdiscount/Manifest index 5170c381d3fb..e31e867a4c79 100644 --- a/dev-ruby/rdiscount/Manifest +++ b/dev-ruby/rdiscount/Manifest @@ -2,7 +2,8 @@ DIST rdiscount-1.6.8.gem 53760 SHA256 a085178fc7d6372222af192bdc8aa8b6b24c8014f0 DIST rdiscount-2.1.6.gem 65024 SHA256 0297f26df8ba56dd8b598c8c8c3796952a2fcf8e3b44f0a8f30cd8ce5fb214a0 SHA512 fad31cbe854f1b3ea468453787b218ba638ae77c4d702647f757e9ee546e46f0e5da289d8424c15a4df83295610c58f6fc3984bf496c292ae8e74ff5857ebd4b WHIRLPOOL 1158783edfeb5e449322611babfe84979f4e18cb548da523bf14c1c1d5cc5d933204be8c87c94191b270c386931ff8c2ab482f84088575c26fb82237c1121272 DIST rdiscount-2.1.7.gem 65536 SHA256 12544e913100bccbb9271ee7d70d2ffbda4988fae65904893fa480e9794a2498 SHA512 4b03267e2e5cdff37a9242935f7c508dbdda8d9c9d64e4ba6e6e0aa172f4b47a2a44fc58c0d249827365c9cf1e12cd0348c5c3a78d8150f18f9152b8afea0746 WHIRLPOOL ebcb6af6104f8a2ac6c26b2594f7587eb8727c475d119326638aef12a8c6b62363fd7d6c74be829a14a33d006059a445e88a0ea754c9710d5f5907f8f170c7ac EBUILD rdiscount-1.6.8-r1.ebuild 1280 SHA256 6548a72d13ba6220ea18f36ec4eb549bb7a12aae88d60c20fb1ecbe04fc25531 SHA512 914e6a3cc48010cd2d7b8339784090c0851cd009bde5aaebc9b2549b666975c58302617180b3403e0a1f5fb6966f3ac402ab5316819dfb20da90662f6b05c14e WHIRLPOOL a1c41c20f7cbf0c65f8711331f0337cc3e19e99d44658fb5081ec2a6fb2007f38a45688ea328f963e9bb317902f45fa002b569eb82743a52265f9ebc2fe3b526 +EBUILD rdiscount-1.6.8-r2.ebuild 1272 SHA256 29658c83382bc0217003c34bbd6294914beef6f9534f67a14db4b4fc0c579699 SHA512 7ca4501fd898df071ca970fbed90ec2cd94964b0b35733562f0e2219f46dd6e359f877cbfa2544ce1134543158becc1e5f3ae84e3ebd8d08a0292ff500300a8f WHIRLPOOL b1e328729683083507fdf7e7adf06d2d58892516b8483a95a029f10d0d899405be8b0230c5e966908d289686a095386572a83c058f4c6293ac37382740163496 EBUILD rdiscount-2.1.6.ebuild 1281 SHA256 bc690f5119c22312e58f41661edb42739c5e81ed5bb19c8cefb7ef34b4ae7ae6 SHA512 c58524e7336100efb082bfc24229023953318c25408196b3efd27b426b79ff5e6bb2ab11e1c9bbf232f5f3ecac5316ab63a1acff09d253a64889f8b1f5b6c939 WHIRLPOOL 6a0f005cf10728fc96585c1190e8ba2fe2b098833e0cb2c4db1ba86e241ea46a9966d63210481429a4ce31cd292a9e098d347344b4694ce3b35b1d6f4cf7cdca EBUILD rdiscount-2.1.7.ebuild 1280 SHA256 9df7e79134f75692de4f7466c699115920ce263fb11c697f1f5143d97dce525f SHA512 d81f3d20cf305fd98571ae6b07e345cc8261cde99ec32640436b59b5301d82db330d12be0acbdf3b0e68ce87b6caaada4097ab590b9ed5be7c59dc3b764daf7d WHIRLPOOL fe54b2f96f5e87bcb1b6cf8b928dcefc153fb283ce8b33db51f7cb28f402a7103cfbbb385f6d6a564ef120b3488d25f46f5903c378a24633f4f34bc0671fecbd -MISC ChangeLog 2560 SHA256 1101f24ba75b6ef1c11077c0a38cadafc66aa4928a4ce16e983d3dc8e617cbf1 SHA512 80b3b1dfc55f6aace8cda789777aa713ad1ccb852a1015c23e5feed79f3fbff8e5d34e5d2005539f88a5ac3f8e93c1c9c9209fc884d33f2a7cba47c5b4ed5661 WHIRLPOOL c77db65a49de1cf46bed45f95f3fd750e13f4e559d8fbb3aaccbe3e68f925c3ec51916dc9f7bcac8e6546e0494bbfa48c6096ff0b9fe1c21de6408326866cb97 +MISC ChangeLog 2711 SHA256 418a6db76b78657ac69307461ecfcba5621ff7a5beff12226b8b56bf4bb204f2 SHA512 170b6c1fe08aaa12415b4945827c22a968a4a645d78fc769f7801955b8661c89b5fc0912cf6633c149c8864c46148301cb748ffbce8b76209002fa2c12547d78 WHIRLPOOL 45f2813238c335dc2cfb7ca73434b9cf3af708371106b04a0235cc43bd1a1fda9b7d6dcdadbc9d8997bc2eb5aadb93e510dfc2b6d735fdd7cf7d9cca6a6900d7 MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b diff --git a/dev-ruby/rdiscount/rdiscount-1.6.8-r2.ebuild b/dev-ruby/rdiscount/rdiscount-1.6.8-r2.ebuild new file mode 100644 index 000000000000..246bacb9ec05 --- /dev/null +++ b/dev-ruby/rdiscount/rdiscount-1.6.8-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rdiscount/rdiscount-1.6.8-r2.ebuild,v 1.1 2013/11/27 09:12:59 mrueg Exp $ + +EAPI=5 + +# Has a native extension without jruby support. +USE_RUBY="ruby18 ruby19 ruby20" + +RUBY_FAKEGEM_TASK_TEST="test:unit" + +RUBY_FAKEGEM_TASK_DOC="doc man" +RUBY_FAKEGEM_EXTRADOC="README.markdown" + +inherit multilib ruby-fakegem + +DESCRIPTION="Implementation of John Gruber's Markdown" +HOMEPAGE="http://github.com/rtomayko/rdiscount" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +ruby_add_bdepend "doc? ( app-text/ronn )" + +all_ruby_prepare() { + # Hanna is broken for us and therefore we don't have it in portage. + sed -i -e 's/hanna/rdoc/' Rakefile || die + + # Remove rule that will force a rebuild when running tests. + sed -i -e "/task 'test:unit' => \[:build\]/d" Rakefile || die + + # Provide RUBY variable no longer provided by rake. + sed -i -e "1 iRUBY=${RUBY}" Rakefile || die +} + +each_ruby_configure() { + ${RUBY} -Cext extconf.rb || die +} + +each_ruby_compile() { + emake -Cext + cp ext/*$(get_modname) lib/ || die +} + +all_ruby_install() { + all_fakegem_install + + doman man/rdiscount.1 +} |