From: Hans de Graaff Date: Sun, 14 Aug 2011 07:11:41 +0000 (+0000) Subject: jruby has a native ffi implementation so don't require dev-ruby/ffi in the gemspec. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=3b0ea2cbaf8894320df9d037a62114c5270a2fbe;p=gentoo.git jruby has a native ffi implementation so don't require dev-ruby/ffi in the gemspec. Package-Manager: portage-2.1.10.3/cvs/Linux x86_64 --- diff --git a/dev-ruby/rb-inotify/ChangeLog b/dev-ruby/rb-inotify/ChangeLog index dc3ec99d1e1b..7a863510b3fa 100644 --- a/dev-ruby/rb-inotify/ChangeLog +++ b/dev-ruby/rb-inotify/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/rb-inotify # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.3 2011/08/06 06:18:30 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/ChangeLog,v 1.4 2011/08/14 07:11:41 graaff Exp $ + +*rb-inotify-0.8.6-r1 (14 Aug 2011) + + 14 Aug 2011; Hans de Graaff +rb-inotify-0.8.6-r1.ebuild: + jruby has a native ffi implementation so don't require dev-ruby/ffi in the + gemspec. *rb-inotify-0.8.6 (06 Aug 2011) diff --git a/dev-ruby/rb-inotify/Manifest b/dev-ruby/rb-inotify/Manifest index 26afe160f659..a5029df98248 100644 --- a/dev-ruby/rb-inotify/Manifest +++ b/dev-ruby/rb-inotify/Manifest @@ -4,13 +4,14 @@ Hash: SHA256 DIST rb-inotify-0.8.5.gem 12800 RMD160 55ceff41a5b9e904e7a5885a9e793636204dfe46 SHA1 7714461e87367728827e7857363825b499a28fc3 SHA256 a945717213ed3d977b29426c04722c2401af1ebd0c00cc0f43aa6f8c9f00945d DIST rb-inotify-0.8.6.gem 13312 RMD160 7ba5cb20575a6f6dc214e7d814e82989cc660297 SHA1 252751de36f6c07d5090aad2fd5ff799e15cc6e0 SHA256 7b3ddd541e3b7fb2b4cb727af0c7511c4a69bb15613d38d23bbdf4d13345faa7 EBUILD rb-inotify-0.8.5.ebuild 678 RMD160 41bd79260f5e6a33358432e2f4ae9c226bd98642 SHA1 c8455a75c75fb08d83a66325919e91b6d91fc5d1 SHA256 0a6011a1342e877d9302d891f2796efe23e2a9dad49ae492780784625f68e53a +EBUILD rb-inotify-0.8.6-r1.ebuild 931 RMD160 259ed2ccea6b60e31aac3e590f461032f5848d33 SHA1 7f277684e7f21cb5b9765386fa064b66a73dba87 SHA256 5940931f0c41da2c40ebac6fc1e2553af34e917d330f1ed78331cc791436bad1 EBUILD rb-inotify-0.8.6.ebuild 678 RMD160 0f9d048cd1fa5c9a052bc63e0d5d49d79a74ddd2 SHA1 c0e3fb24f45f6d69e1716182d90d158fa9dcf3b2 SHA256 19545e3f2e4b7663864229015a5a08250d249bd5d612df50523f857b27a0bec6 -MISC ChangeLog 621 RMD160 bd3038ec21b528cd3445481415a2c159e89f0b68 SHA1 522d13df657cf13c47f33d9cce18e43c33cc351a SHA256 6e0a28dcf11a29d78763f881afa06894e71e30338b35791f5881996789928e27 +MISC ChangeLog 825 RMD160 053c53577234ad577c9538cf684916949addb377 SHA1 75471495f956404bbb726f57c0bd2a1f3952ae52 SHA256 833376093498e5aa0242c299f458985efe2d108d184b5e772e6a4acd598f6fa4 MISC metadata.xml 219 RMD160 c4f05e85bd9645a64124d3847da25522de568428 SHA1 13b624bb74ad54c50dd466cb811f39ed171fe913 SHA256 670b7642b3830f31d24a317577d842b3499592b6e9a6283312b89c59397a2932 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) -iF4EAREIAAYFAk483LsACgkQiIP6VqMIqNcdNQEAiuvab6dozZHpyBujnXYXukwx -LNi+pi0y/6v4QVaTRHgA/3L+jjs2kTu3ac8KpBKCTPMQXJJLU8B/6xVJeeZ44EdP -=vVO/ +iF4EAREIAAYFAk5HdToACgkQiIP6VqMIqNc4egD9ENNwKp+bqjOZagNWiEMiwWYb +HAFo/h6s6JDuyDA6P7EA/Redyhq8mHe733YvZrqMoVvvT/MDrbpEa82gtJUWN72z +=AkgN -----END PGP SIGNATURE----- diff --git a/dev-ruby/rb-inotify/rb-inotify-0.8.6-r1.ebuild b/dev-ruby/rb-inotify/rb-inotify-0.8.6-r1.ebuild new file mode 100644 index 000000000000..31f8937cc32e --- /dev/null +++ b/dev-ruby/rb-inotify/rb-inotify-0.8.6-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-inotify/rb-inotify-0.8.6-r1.ebuild,v 1.1 2011/08/14 07:11:41 graaff Exp $ + +EAPI=4 + +USE_RUBY="ruby18 ree18 jruby" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_TASK_DOC="yard" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTRAINSTALL="VERSION" + +RUBY_FAKEGEM_GEMSPEC="rb-inotify.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A thorough inotify wrapper for Ruby using FFI." +HOMEPAGE="https://github.com/nex3/rb-inotify" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "virtual/ruby-ffi" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +each_ruby_prepare() { + case ${RUBY} in + *jruby) + # jruby has a native implementation and should not list ffi + # in the gemspec. + sed -i -e '/ffi/d' rb-inotify.gemspec || die + ;; + *) + ;; + esac +}