diff options
author | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 16:50:21 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2012-08-01 16:50:21 +0000 |
commit | 27b95326197ececc996d3eed08b4f00dfbfb1d36 (patch) | |
tree | 478eb024bf105c1b1c4fb4b20bc8cb68f5d63237 /dev-ruby/ffi | |
parent | Fixed for cross-compiling, bug #428406, thanks to Thomas (diff) | |
download | historical-27b95326197ececc996d3eed08b4f00dfbfb1d36.tar.gz historical-27b95326197ececc996d3eed08b4f00dfbfb1d36.tar.bz2 historical-27b95326197ececc996d3eed08b4f00dfbfb1d36.zip |
Version bump. Fix build without UTF8 environment, bug 429304.
Package-Manager: portage-2.1.10.65/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/ffi')
-rw-r--r-- | dev-ruby/ffi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/ffi/Manifest | 10 | ||||
-rw-r--r-- | dev-ruby/ffi/ffi-1.1.3.ebuild | 58 |
3 files changed, 70 insertions, 5 deletions
diff --git a/dev-ruby/ffi/ChangeLog b/dev-ruby/ffi/ChangeLog index afa6b66ffed6..de8f14222362 100644 --- a/dev-ruby/ffi/ChangeLog +++ b/dev-ruby/ffi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/ffi # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.33 2012/07/24 06:00:25 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ChangeLog,v 1.34 2012/08/01 16:50:21 graaff Exp $ + +*ffi-1.1.3 (01 Aug 2012) + + 01 Aug 2012; Hans de Graaff <graaff@gentoo.org> +ffi-1.1.3.ebuild: + Version bump. Fix build without UTF8 environment, bug 429304. *ffi-1.1.0 (24 Jul 2012) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 401e51b4fc16..657f25bc93a1 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -4,15 +4,17 @@ Hash: SHA256 DIST ffi-git-1.0.11.tgz 867003 SHA256 e03951377624c6017e7b3b6e28c8c762810c4596615af83d459f7cc222832b3a SHA512 e739421f63a3e300bff06e786e8bfc0cb1fa6ce6f78dbf1245e52f31a4152d4f95a058be153b2266677d807599eabfd794ce962be07062cc0fa053f58c053b85 WHIRLPOOL bfec633364e0bb017188f868f5baea3ae0ef0e811de22ccbf142fd9df9d1454e73b46bc959c9fa68484b66a254a55a5bd5097432ba3177e1cec27723dc0be292 DIST ffi-git-1.0.9.tgz 853484 SHA256 4a04b751029e2294718b0035c1c7bfa1be1da81ccd9f4fdca1da07f8dd52caed SHA512 ad098387eefcd6a679279b1e75eba6295c81c6b58612f7d884ddba8c827983ca138f7dfe6e5fad7108454c94eae18898e9b08d000d5c9836237b14705803eaf5 WHIRLPOOL a63c01a3119dcf1212b8a057e01346c9d8289faee9c6e99d7342759cf0e3706b16dbdbbd606259d1e4288909497c12965332dc51aa1baacfb826956a68a58bd2 DIST ffi-git-1.1.0.tgz 894251 SHA256 7c7cc7ffbc5d30877e784bb3316004db688e7b482a4cd8bda4b5566925276645 SHA512 93d422fc5564c3361cb57edec2950e94c1b5b8418e636f81b565c0da779e9f22aac346643c5b5d22e2e1cc36564a6e9f73409a4a38bf8f826d343580a5985c4f WHIRLPOOL a95f8f5297892547a85e4825ef3f43a0a05f41ced21156118c86b106b8bd3221d732e31228be2533f3c5cf9247057c2f0d10059ecdf4dcbe8fb89c3beaaaee71 +DIST ffi-git-1.1.3.tgz 894126 SHA256 4722bec781014ab033bc3f92e74fa5a16902c5bb72baf0332ace010e6fff87d8 SHA512 4f19febf90a6d1fc64bf9d11a73ae5ab37d6a6166f8be45217a3183bb6723f478755c9648e77f663b4d7c4736fd6cdce5f776f431d4b4469a28d4ea320dfe21e WHIRLPOOL 7f50a8717127a13f994a7c78aa5d7d80691b32978f45943cb0bd2adc311a3ce86b645a774414a7afeee64e00bfd2517a9b741c80d8cd699a35acd889e5062180 EBUILD ffi-1.0.11.ebuild 1315 SHA256 92e65e81d99606ab563df8cec46f2620fb34c89c38efa1d21c1673df3a6fbbf8 SHA512 8ec55e2a6190f120a162d3e2a4475c9a635e82d5c522fb7454e3072c28d5500f991f2aa987bb7d579d303babcb0887b00783e2169c4ac6828d82c6871f360f5b WHIRLPOOL 7ca112a3360f0e1d6b33e81bed7efbb8020d002adcebe31af50c5ab92d419e79f5332ec44a417196d9e90f1fedd6d04323e0ee9c66c4c499f75ea7492614c1cb EBUILD ffi-1.0.9.ebuild 1259 SHA256 38b1944a157e1a4720fc103e74bb3367b5283bc33a8b508ec803f4f9ef8cd573 SHA512 5041cfdbd5d36e67c353cb4b5e21979b7b5d99dc0759bc67def537c948de6fda6b1eef307b2d68fa97bab0381010435a05c1d5afa22777833621aff68727f4c8 WHIRLPOOL 035ab53a503a7bb538af862d65cac47ade00386f93162a7849c08097704de9d09cd3302a5f7b21d2da22294e08bdb24cc3280696005d290158c70ba8e7ae3ae5 EBUILD ffi-1.1.0.ebuild 1317 SHA256 abbd476854ba9ba5f6dd83d6e32570ac80f0d918a850dda7d474142fed7d2a6a SHA512 1f5bbc1fc59cc03b3d3ab72ff877d1953bd061b9342ebdfdb31072529a76deb363d5377ad3d80ebb400a066c023e9ecbf749a53c51cc0235b2218492f4ef2362 WHIRLPOOL c372da66297512b6d7486b765fb20810cff2ac737273e5acc071628916ca93e8d7fc6a6d3a4ed7783b944eae3debbf8d184b7049607ada304c4d75bdead6ca4e -MISC ChangeLog 4762 SHA256 25f8f7ef1bf1d533f1ce0024f5e9ad96992b77f20ea23b7e21cd0ac013382731 SHA512 e4142c714352e5b342f9949eaee97b1f14a7aad3a8110b17a28f82eedffcd276bef05ada635bbb6fabde7b67f38afba593b10f562a70fe379d3771bc668e0bc4 WHIRLPOOL 56b61c0c326bc46897b7d223f8a2f0faaf947d1e6e0af5fbcfdd6f7e14336c9319b459902995744c5bb695089f2a274d342395631c26f0200f5985d015fad726 +EBUILD ffi-1.1.3.ebuild 1477 SHA256 2f86fb004b10312d564b86ee7e195b8c6a634c40015d2dd6b51493561cf0083b SHA512 91f34f9648792e1f931d63bc0ede1ff2a3bd6102a14542ff53b0a5b9a75c322dc4d8e59e7706c6c359efb044cee8fdbe9970608846f78c9910837e5deb120fd3 WHIRLPOOL 852e904323eca1b231aaf27035723fcd8ab6a2756fb13aa4d1060088b821b6d1bd75ce61c072cadcaad992c4bbc2b4d9a23d30eabc299c3e1be36cc2b9a3b049 +MISC ChangeLog 4922 SHA256 44e0d838db3bbb00f55d045d6f0796a4ac051a77efd2ad49d5b20c9786a47c67 SHA512 154269e71ea6b40fc31cf3533bd1e822051f16e430153f1c7611122078ca68150584c7a1e1a86b6a62680fd095dd1ce98602b01997d4d511cc6de18c82539cb9 WHIRLPOOL 4b047721f37fd3e3b30ec1848ef712f439c8185471fcda99d17ecbb2c54dca18fe6d2bbe6d855abb5f08c8366d6f296e0a72e29a8ae0494befd9dc6a64a05f0d MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iF4EAREIAAYFAlAOOgQACgkQiIP6VqMIqNcajQD/XupiP3Wkc8TKOa7e+rwX3NXl -bFmogOp+InTiNpAAhhUA/iNbsRW33w5aSD7LtHrvPpguEn9vFwxKvU2iDlrBaQ6p -=axxP +iF4EAREIAAYFAlAZXl8ACgkQiIP6VqMIqNekWwD/WzfG1Y34lMi5N6ePHRbyvDl2 +KEbOJAtCQt0E6qslCjsA/jypbvuEJGLlrDjlKJX7BBYR/WE+aidLWLy3O8LFNiSW +=Lku9 -----END PGP SIGNATURE----- diff --git a/dev-ruby/ffi/ffi-1.1.3.ebuild b/dev-ruby/ffi/ffi-1.1.3.ebuild new file mode 100644 index 000000000000..43d939840857 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.1.3.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ffi/ffi-1.1.3.ebuild,v 1.1 2012/08/01 16:50:21 graaff Exp $ + +EAPI=4 + +# jruby → unneeded, this is part of the standard JRuby distribution, and +# would just install a dummy. +USE_RUBY="ruby18 ruby19 ree18" + +RUBY_FAKEGEM_TASK_TEST="specs" + +RUBY_FAKEGEM_TASK_DOC="doc:rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.rdoc" + +inherit ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="http://wiki.github.com/ffi/ffi" + +SRC_URI="http://github.com/${PN}/${PN}/tarball/${PV} -> ${PN}-git-${PV}.tgz" +RUBY_S="${PN}-${PN}-*" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" + +RDEPEND="${RDEPEND} virtual/libffi" +DEPEND="${DEPEND} virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake-compiler dev-ruby/rdoc + test? ( dev-ruby/rspec:2 )" + +ruby_add_rdepend "virtual/ruby-threads" + +each_ruby_prepare() { + case ${RUBY} in + *ruby19) + sed -i -e '1i Encoding.default_external = Encoding::UTF_8' tasks/setup.rb || die + ;; + *) + ;; + esac +} + +each_ruby_compile() { + ${RUBY} -S rake compile || die "compile failed" + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} |