[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: b57d5e4a696b182cf01e1cb6ebed1cff9cfe0869 Author: Hans de Graaff gentoo org> AuthorDate: Mon Jun 3 05:54:45 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Jun 3 05:54:58 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b57d5e4a dev-ruby/ffi: add 1.17.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.17.0.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 3a24f1658d20..382e4e8fcf61 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,3 +1,4 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579 DIST ffi-git-1.16.3.tgz 183977 BLAKE2B 97f4f0bfc8f43e3a3651b48345c72cc8913f5658c2e838835340082205880309b8f270116dffbc253c78e63ae1c94f392c6ef8741e52852890ac81d00767de19 SHA512 622aae9d55b8e859eab58988eaf976206010ab816351567f2525e606b83b3349ce6b9f114208ba9a7c6de97cc6fe73f5708cf968b7dea0944134c6cb44b55c9b +DIST ffi-git-1.17.0.tgz 192947 BLAKE2B 86340ad6f2768c68f50de28cd5ee10adccee28a93b71136185993025d13fba2b035c6ff212583a941934bb65822ec60ca3d9968f100eec372956a1d030692650 SHA512 70ba69172bdaebc731a3aa1ae8a2959a31ca82d27d1fb9784bb07b51ba8d4912fc1c880fd709e1aad048fc1f70a161d6c4814617ff403d2d94c44758b143db4b diff --git a/dev-ruby/ffi/ffi-1.17.0.ebuild b/dev-ruby/ffi/ffi-1.17.0.ebuild new file mode 100644 index ..0ca030c4fc9a --- /dev/null +++ b/dev-ruby/ffi/ffi-1.17.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: fa45b1bc4283b8c535a7ec847d29ae63f60219b5 Author: Hans de Graaff gentoo org> AuthorDate: Sun Jun 2 07:40:29 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Jun 2 08:34:05 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa45b1bc dev-ruby/ffi: drop 1.15.5-r1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 71 --- 1 file changed, 71 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild deleted file mode 100644 index 6e437818f9b5.. --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -RDEPEND+=" dev-libs/libffi:=" -DEPEND+=" dev-libs/libffi:=" - -ruby_add_bdepend "dev-ruby/rake" - -PATCHES=( - "${FILESDIR}/backport-pr-962.patch" - "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957 - "${FILESDIR}/fix-regenerate-types-conf.patch" -) - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - sed -e '/require/c\require "./lib/ffi/version"' \ - -e 's/git ls-files -z/find * -print0/' \ - -e '/^ lfs/,/^ end/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_compile() { - each_fakegem_compile - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/files/
commit: afa3d718b565c9abe2933af6e99fded2337f81c3 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Apr 18 18:05:36 2024 + Commit: Conrad Kostecki gentoo org> CommitDate: Thu Apr 18 19:31:44 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afa3d718 dev-ruby/ffi-compiler: remove unused patch(es) Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> dev-ruby/ffi-compiler/files/respect-cflags.patch | 17 - 1 file changed, 17 deletions(-) diff --git a/dev-ruby/ffi-compiler/files/respect-cflags.patch b/dev-ruby/ffi-compiler/files/respect-cflags.patch deleted file mode 100644 index 3fe68f8211cb.. --- a/dev-ruby/ffi-compiler/files/respect-cflags.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff --git a/lib/ffi-compiler/compile_task.rb b/lib/ffi-compiler/compile_task.rb -index 363c247..637fd3d 100644 a/lib/ffi-compiler/compile_task.rb -+++ b/lib/ffi-compiler/compile_task.rb -@@ -26,9 +26,9 @@ module FFI - @libraries = [] - @headers = [] - @functions = [] --@cflags = DEFAULT_CFLAGS.dup --@cxxflags = DEFAULT_CFLAGS.dup --@ldflags = DEFAULT_LDFLAGS.dup -+@cflags = ENV['CFLAGS']&.split || DEFAULT_CFLAGS.dup -+@cxxflags = ENV['CXXFLAGS']&.split || DEFAULT_CFLAGS.dup -+@ldflags = ENV['LDFLAGS']&.split || DEFAULT_LDFLAGS.dup - @libs = [] - @platform = Platform.system - @exports = []
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 616f2408164c17b18b1d6c249981f4f4de0ecea8 Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 5 09:41:23 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 5 09:42:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=616f2408 dev-ruby/ffi-compiler: add 1.3.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 + dev-ruby/ffi-compiler/ffi-compiler-1.3.2.ebuild | 25 + 2 files changed, 26 insertions(+) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest index 526f87db35b7..e02680c5fbbf 100644 --- a/dev-ruby/ffi-compiler/Manifest +++ b/dev-ruby/ffi-compiler/Manifest @@ -1,2 +1,3 @@ DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 DIST ffi-compiler-1.2.1.tar.gz 12754 BLAKE2B 7ad9b38fba6c615059deea155eda2140f61bd177fbd77867c8dd1d3bb0d5774455f9555767547fe833229faeadc5abc806aecb1c67d35b3098df9422964ca430 SHA512 0fb954e83f689be60fafe33acb0f9fd39a3904eb69ab318e01a6028617198e91db78c863e568d2748b2483b373a932b95b62852ca80f0d2bcfb7308df2a8c54a +DIST ffi-compiler-1.3.2.tar.gz 12121 BLAKE2B dc0b9945036fa5eb65326a91c032b54e8d0ca7a8be275e85a11307ed0a31c1022a566b16e44875a63835ea5f51d3213eafedb2283d9a535c58c0e6dab8d1982e SHA512 48cabec20c099fd51ae9b14829f7bc1f1574a993e55c46d4bcb083a2bc75306345d196319cc2e12ff67011beec3b3fad122bee90f383ef8b37f91179c2fe7a9a diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.3.2.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.3.2.ebuild new file mode 100644 index ..d0a6033acc30 --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.3.2.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32 ruby33" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/ffi/ffi-compiler/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.15.5" + +all_ruby_prepare() { + sed -e "s:_relative ':'./:" \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 1c539e8f37f13a69d2d8d4c576459c09a7ab2115 Author: Hans de Graaff gentoo org> AuthorDate: Fri Apr 5 09:41:51 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Apr 5 09:42:06 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c539e8f dev-ruby/ffi-compiler: drop 1.0.1-r2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 - dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild | 22 -- 2 files changed, 23 deletions(-) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest index e02680c5fbbf..63da88b1eb9a 100644 --- a/dev-ruby/ffi-compiler/Manifest +++ b/dev-ruby/ffi-compiler/Manifest @@ -1,3 +1,2 @@ -DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 DIST ffi-compiler-1.2.1.tar.gz 12754 BLAKE2B 7ad9b38fba6c615059deea155eda2140f61bd177fbd77867c8dd1d3bb0d5774455f9555767547fe833229faeadc5abc806aecb1c67d35b3098df9422964ca430 SHA512 0fb954e83f689be60fafe33acb0f9fd39a3904eb69ab318e01a6028617198e91db78c863e568d2748b2483b373a932b95b62852ca80f0d2bcfb7308df2a8c54a DIST ffi-compiler-1.3.2.tar.gz 12121 BLAKE2B dc0b9945036fa5eb65326a91c032b54e8d0ca7a8be275e85a11307ed0a31c1022a566b16e44875a63835ea5f51d3213eafedb2283d9a535c58c0e6dab8d1982e SHA512 48cabec20c099fd51ae9b14829f7bc1f1574a993e55c46d4bcb083a2bc75306345d196319cc2e12ff67011beec3b3fad122bee90f383ef8b37f91179c2fe7a9a diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild deleted file mode 100644 index 1ffb33df0bfe.. --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby27 ruby30 ruby31 ruby32" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Ruby FFI Rakefile generator" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" -IUSE="" -# PATCHES=( "${FILESDIR}/respect-cflags.patch" ) - -ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 89eba9aa9df5dcb7e8165e85b8992a44816851c5 Author: Hans de Graaff gentoo org> AuthorDate: Mon Jan 1 09:24:40 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Jan 1 09:32:10 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89eba9aa dev-ruby/ffi-compiler: enable ruby33 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild index 78b24dc5aa89..34651be4500b 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_EXTRADOC="README.md" RUBY_FAKEGEM_RECIPE_TEST="none" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 1cc95d5f7dfa687e29c7d996c47f600fc9591f44 Author: Hans de Graaff gentoo org> AuthorDate: Sun Dec 31 19:18:51 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Dec 31 19:18:51 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc95d5f dev-ruby/ffi: enable ruby33 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.16.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.16.3.ebuild b/dev-ruby/ffi/ffi-1.16.3.ebuild index 1f9cadb369d9..de78f53b4b27 100644 --- a/dev-ruby/ffi/ffi-1.16.3.ebuild +++ b/dev-ruby/ffi/ffi-1.16.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_RECIPE_TEST="rspec3"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 0f7d87c3cee2a6e5981a5a44b63c50970a41ea3a Author: Hans de Graaff gentoo org> AuthorDate: Thu Oct 5 06:01:08 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Oct 5 06:01:08 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f7d87c3 dev-ruby/ffi: add 1.16.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.16.3.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index ce48e96d35bf..3a24f1658d20 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1,3 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579 +DIST ffi-git-1.16.3.tgz 183977 BLAKE2B 97f4f0bfc8f43e3a3651b48345c72cc8913f5658c2e838835340082205880309b8f270116dffbc253c78e63ae1c94f392c6ef8741e52852890ac81d00767de19 SHA512 622aae9d55b8e859eab58988eaf976206010ab816351567f2525e606b83b3349ce6b9f114208ba9a7c6de97cc6fe73f5708cf968b7dea0944134c6cb44b55c9b diff --git a/dev-ruby/ffi/ffi-1.16.3.ebuild b/dev-ruby/ffi/ffi-1.16.3.ebuild new file mode 100644 index ..dd92a3fe02db --- /dev/null +++ b/dev-ruby/ffi/ffi-1.16.3.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: cf6e69011c2afc8cb450745ca36ffd121e22ca29 Author: Hans de Graaff gentoo org> AuthorDate: Tue Sep 26 04:12:09 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Tue Sep 26 04:12:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf6e6901 dev-ruby/ffi: drop 1.16.0, 1.16.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 2 -- dev-ruby/ffi/ffi-1.16.0.ebuild | 66 -- dev-ruby/ffi/ffi-1.16.1.ebuild | 66 -- 3 files changed, 134 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 4287bbeff81c..ce48e96d35bf 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,2 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 -DIST ffi-git-1.16.0.tgz 183318 BLAKE2B 41e9fc25e0e1ed7b295af2d19e02c8fabfa8f4382392549233ac386b9ace9ee87625b5b9b54ef99508d8ff2df6f286a6a4de0cc387d22173e625f68f4617736e SHA512 4677a65b9cfc09a1ad239327b29c89ecc7a668d981be9ad231c59fe3e0b82f18a2cea26fbf4253e0e3d1bd69b4fae4a027aad374af3b03c19a4395925355352f -DIST ffi-git-1.16.1.tgz 18 BLAKE2B 4c7c79d3dd26713eb2efbdb62ff8057a1e0cd9df95082ea60ef3fc896251a6c62a62665704f04cf1041382fd1604897e1d16cef620776e74f2a840206b7438a4 SHA512 144d9985bacd1a68e35bd1a8c600096c1488c00fce9731abd58241fc12319c7bd1f23805d7a66f3f20335b8b28db1c3769fb41b9b15bf6744ffe573e6e979dc8 DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579 diff --git a/dev-ruby/ffi/ffi-1.16.0.ebuild b/dev-ruby/ffi/ffi-1.16.0.ebuild deleted file mode 100644 index dd92a3fe02db.. --- a/dev-ruby/ffi/ffi-1.16.0.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" - -# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) -RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" -DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - sed -e '/require/c\require "./lib/ffi/version"' \ - -e 's/git ls-files -z/find * -print0/' \ - -e '/^ lfs/,/^ end/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_compile() { - each_fakegem_compile - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} diff --git a/dev-ruby/ffi/ffi-1.16.1.ebuild b/dev-ruby/ffi/ffi-1.16.1.ebuild deleted file mode 100644 index dd92a3fe02db.. --- a/dev-ruby/ffi/ffi-1.16.1.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby31 ruby32" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~pp
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 1ea2e81d1aa1cf53b2480e51cbb2786409e04cd6 Author: Hans de Graaff gentoo org> AuthorDate: Tue Sep 26 04:11:50 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Tue Sep 26 04:11:50 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea2e81d dev-ruby/ffi: add 1.16.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.16.2.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 98aaefac3fb3..4287bbeff81c 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,3 +1,4 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 DIST ffi-git-1.16.0.tgz 183318 BLAKE2B 41e9fc25e0e1ed7b295af2d19e02c8fabfa8f4382392549233ac386b9ace9ee87625b5b9b54ef99508d8ff2df6f286a6a4de0cc387d22173e625f68f4617736e SHA512 4677a65b9cfc09a1ad239327b29c89ecc7a668d981be9ad231c59fe3e0b82f18a2cea26fbf4253e0e3d1bd69b4fae4a027aad374af3b03c19a4395925355352f DIST ffi-git-1.16.1.tgz 18 BLAKE2B 4c7c79d3dd26713eb2efbdb62ff8057a1e0cd9df95082ea60ef3fc896251a6c62a62665704f04cf1041382fd1604897e1d16cef620776e74f2a840206b7438a4 SHA512 144d9985bacd1a68e35bd1a8c600096c1488c00fce9731abd58241fc12319c7bd1f23805d7a66f3f20335b8b28db1c3769fb41b9b15bf6744ffe573e6e979dc8 +DIST ffi-git-1.16.2.tgz 183435 BLAKE2B e2c9dad9c18f1a675905a000c8cec4ecfd0213df52476df21a035ca96faf257260896721364fcadc2e3bfec364dc7d036fc7402ebcc1c1a10af15f8ce9e2df7c SHA512 8329b67fbb6b1c9a8df1eacc2f8b1c2e2b2d80902914af76060fb9f3dad493ca4cfa0624596c080d641f38324bef165f2a6f7fafefe3e0e0653951f8189ed579 diff --git a/dev-ruby/ffi/ffi-1.16.2.ebuild b/dev-ruby/ffi/ffi-1.16.2.ebuild new file mode 100644 index ..dd92a3fe02db --- /dev/null +++ b/dev-ruby/ffi/ffi-1.16.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 76596cb0aec1da7a1eb95c057455cef5d1dc6967 Author: Hans de Graaff gentoo org> AuthorDate: Mon Sep 25 05:25:54 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Sep 25 05:25:54 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76596cb0 dev-ruby/ffi: add 1.16.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.16.1.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 75f7311bb941..98aaefac3fb3 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1,3 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 DIST ffi-git-1.16.0.tgz 183318 BLAKE2B 41e9fc25e0e1ed7b295af2d19e02c8fabfa8f4382392549233ac386b9ace9ee87625b5b9b54ef99508d8ff2df6f286a6a4de0cc387d22173e625f68f4617736e SHA512 4677a65b9cfc09a1ad239327b29c89ecc7a668d981be9ad231c59fe3e0b82f18a2cea26fbf4253e0e3d1bd69b4fae4a027aad374af3b03c19a4395925355352f +DIST ffi-git-1.16.1.tgz 18 BLAKE2B 4c7c79d3dd26713eb2efbdb62ff8057a1e0cd9df95082ea60ef3fc896251a6c62a62665704f04cf1041382fd1604897e1d16cef620776e74f2a840206b7438a4 SHA512 144d9985bacd1a68e35bd1a8c600096c1488c00fce9731abd58241fc12319c7bd1f23805d7a66f3f20335b8b28db1c3769fb41b9b15bf6744ffe573e6e979dc8 diff --git a/dev-ruby/ffi/ffi-1.16.1.ebuild b/dev-ruby/ffi/ffi-1.16.1.ebuild new file mode 100644 index ..dd92a3fe02db --- /dev/null +++ b/dev-ruby/ffi/ffi-1.16.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: f7e2bc9c7a4cd3b04fbb25f31b36e291868289e0 Author: Hans de Graaff gentoo org> AuthorDate: Sun Sep 24 06:15:09 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Sep 24 06:15:09 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e2bc9c dev-ruby/ffi: add 1.16.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.16.0.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 4152e676f9a4..75f7311bb941 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1 +1,2 @@ DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 +DIST ffi-git-1.16.0.tgz 183318 BLAKE2B 41e9fc25e0e1ed7b295af2d19e02c8fabfa8f4382392549233ac386b9ace9ee87625b5b9b54ef99508d8ff2df6f286a6a4de0cc387d22173e625f68f4617736e SHA512 4677a65b9cfc09a1ad239327b29c89ecc7a668d981be9ad231c59fe3e0b82f18a2cea26fbf4253e0e3d1bd69b4fae4a027aad374af3b03c19a4395925355352f diff --git a/dev-ruby/ffi/ffi-1.16.0.ebuild b/dev-ruby/ffi/ffi-1.16.0.ebuild new file mode 100644 index ..dd92a3fe02db --- /dev/null +++ b/dev-ruby/ffi/ffi-1.16.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: b98b4265c65bfc24766473f6a14c732c39d9fe00 Author: Hans de Graaff gentoo org> AuthorDate: Sun Aug 27 06:48:23 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 27 06:48:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b98b4265 dev-ruby/ffi-compiler: drop 1.0.1-r1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild | 21 - 1 file changed, 21 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild deleted file mode 100644 index 0e36fcac82ef.. --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Ruby FFI Rakefile generator" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" -IUSE="" - -ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: d46ae4b672e23c763ee5fe3175519bd7e639a84f Author: Hans de Graaff gentoo org> AuthorDate: Sun Aug 27 06:48:39 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Aug 27 06:48:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46ae4b6 dev-ruby/ffi-compiler: drop 1.2.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 - dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild | 20 2 files changed, 21 deletions(-) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest index c2359509eb34..526f87db35b7 100644 --- a/dev-ruby/ffi-compiler/Manifest +++ b/dev-ruby/ffi-compiler/Manifest @@ -1,3 +1,2 @@ DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 -DIST ffi-compiler-1.2.0.tar.gz 12638 BLAKE2B ed629e5fcfba3fd92236d3041afe7c721079e0e616f16cfc41275e9fc0a55a4db9c5cafae3e491d9c15e285be0fbce0cd501ee22128d34ea90db1b18823709dc SHA512 599ed5e6ad68739bd37f73962c4019be6b75a1e35e76a8025e7aa55c7eff4acddb5a0447d746f88f73505f18b898e06a94c22aeda6d0b5600d8305df5f262605 DIST ffi-compiler-1.2.1.tar.gz 12754 BLAKE2B 7ad9b38fba6c615059deea155eda2140f61bd177fbd77867c8dd1d3bb0d5774455f9555767547fe833229faeadc5abc806aecb1c67d35b3098df9422964ca430 SHA512 0fb954e83f689be60fafe33acb0f9fd39a3904eb69ab318e01a6028617198e91db78c863e568d2748b2483b373a932b95b62852ca80f0d2bcfb7308df2a8c54a diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild deleted file mode 100644 index 78b24dc5aa89.. --- a/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby30 ruby31 ruby32" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_RECIPE_TEST="none" -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" -inherit ruby-fakegem - -DESCRIPTION="Ruby FFI Rakefile generator" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; -SRC_URI="https://github.com/ffi/ffi-compiler/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" - -ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: d0806dca957406f6adc01edbf2dd4782f07b6734 Author: Sam James gentoo org> AuthorDate: Sat Jun 10 18:35:17 2023 + Commit: Sam James gentoo org> CommitDate: Mon Jun 12 02:27:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0806dca dev-ruby/ffi-compiler: add 1.2.1 Closes: https://bugs.gentoo.org/906892 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 + dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild | 20 2 files changed, 21 insertions(+) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest index 6f66360e827e..c2359509eb34 100644 --- a/dev-ruby/ffi-compiler/Manifest +++ b/dev-ruby/ffi-compiler/Manifest @@ -1,2 +1,3 @@ DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 DIST ffi-compiler-1.2.0.tar.gz 12638 BLAKE2B ed629e5fcfba3fd92236d3041afe7c721079e0e616f16cfc41275e9fc0a55a4db9c5cafae3e491d9c15e285be0fbce0cd501ee22128d34ea90db1b18823709dc SHA512 599ed5e6ad68739bd37f73962c4019be6b75a1e35e76a8025e7aa55c7eff4acddb5a0447d746f88f73505f18b898e06a94c22aeda6d0b5600d8305df5f262605 +DIST ffi-compiler-1.2.1.tar.gz 12754 BLAKE2B 7ad9b38fba6c615059deea155eda2140f61bd177fbd77867c8dd1d3bb0d5774455f9555767547fe833229faeadc5abc806aecb1c67d35b3098df9422964ca430 SHA512 0fb954e83f689be60fafe33acb0f9fd39a3904eb69ab318e01a6028617198e91db78c863e568d2748b2483b373a932b95b62852ca80f0d2bcfb7308df2a8c54a diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild new file mode 100644 index ..78b24dc5aa89 --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.2.1.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/ffi/ffi-compiler/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: d30cfade58857836ff1b4cfa157aae96b2b36b87 Author: Sam James gentoo org> AuthorDate: Sat May 20 09:10:35 2023 + Commit: Sam James gentoo org> CommitDate: Sat May 20 09:20:45 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30cfade dev-ruby/ffi-compiler: add 1.2.0 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 + dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild | 20 2 files changed, 21 insertions(+) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest index 6e01f3b36181..6f66360e827e 100644 --- a/dev-ruby/ffi-compiler/Manifest +++ b/dev-ruby/ffi-compiler/Manifest @@ -1 +1,2 @@ DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 +DIST ffi-compiler-1.2.0.tar.gz 12638 BLAKE2B ed629e5fcfba3fd92236d3041afe7c721079e0e616f16cfc41275e9fc0a55a4db9c5cafae3e491d9c15e285be0fbce0cd501ee22128d34ea90db1b18823709dc SHA512 599ed5e6ad68739bd37f73962c4019be6b75a1e35e76a8025e7aa55c7eff4acddb5a0447d746f88f73505f18b898e06a94c22aeda6d0b5600d8305df5f262605 diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild new file mode 100644 index ..78b24dc5aa89 --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.2.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby30 ruby31 ruby32" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="none" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; +SRC_URI="https://github.com/ffi/ffi-compiler/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 6473585c8b609179df0b53cfe10e1fee9c4d54cf Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:08 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:22 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6473585c dev-ruby/ffi: Stabilize 1.15.5-r2 arm64, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index 04785f4389ab..4dc46d188c05 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: eebfbdf8bf0d83966cdc45f849f4ee38e24bee20 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:03 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:19 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eebfbdf8 dev-ruby/ffi: Stabilize 1.15.5-r2 ppc, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index cf73a3b4c623..deed61642b44 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 2d4e9b55ec3ed2721ef9627bc384491680c1e6a2 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:07 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d4e9b55 dev-ruby/ffi: Stabilize 1.15.5-r2 amd64, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index 30294ecd6037..04785f4389ab 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 5e5ee874b3e80bd2276d4465ae1776712b283991 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:06 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e5ee874 dev-ruby/ffi: Stabilize 1.15.5-r2 ppc64, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index b107006e31be..30294ecd6037 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 6307487a03c96d59b010e19aea7215ba6f630bbd Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:10 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:23 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6307487a dev-ruby/ffi: Stabilize 1.15.5-r2 x86, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index 4dc46d188c05..4e48e75b6c85 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 3bca32d1b005a3a6d339d1ae17389a5916eeb33b Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:30:05 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:30:20 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bca32d1 dev-ruby/ffi: Stabilize 1.15.5-r2 sparc, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index deed61642b44..b107006e31be 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ppc ~ppc64 ~riscv ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: a80140a962e79942f50af4ed3dd512fac1442982 Author: Sam James gentoo org> AuthorDate: Tue Apr 25 01:01:58 2023 + Commit: Sam James gentoo org> CommitDate: Tue Apr 25 01:01:58 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a80140a9 dev-ruby/ffi: Stabilize 1.15.5-r2 arm, #904938 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild index be6da8254035..cf73a3b4c623 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -22,7 +22,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # Needs recent libffi for HPPA fixes (and probably Apple arm64 too) RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: b51c53227882d3f72326f78f509159a8546fccc4 Author: Sam James gentoo org> AuthorDate: Mon Apr 10 21:51:32 2023 + Commit: Sam James gentoo org> CommitDate: Mon Apr 10 21:53:55 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b51c5322 dev-ruby/ffi-compiler: add github upstream metadata Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-ruby/ffi-compiler/metadata.xml b/dev-ruby/ffi-compiler/metadata.xml index 7a38fd1850ff..b7f236d02d94 100644 --- a/dev-ruby/ffi-compiler/metadata.xml +++ b/dev-ruby/ffi-compiler/metadata.xml @@ -5,4 +5,7 @@ r...@gentoo.org Gentoo Ruby Project + +ffi/ffi-compiler +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/files/, dev-ruby/ffi/
commit: 67547fd52c2831c349f0deb1f71c30a1d5db9628 Author: Sam James gentoo org> AuthorDate: Sun Apr 9 01:24:40 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 9 01:27:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67547fd5 dev-ruby/ffi: fix runtime for HPPA Tests now pass, as do tests of reverse dependencies, like dev-ruby/llhttp-ffi! I think more work is needed to get dev-ruby/ffi's own implementation for closure allocations working - like dev-python/cffi had: https://foss.heptapod.net/pypy/cffi/-/commit/ab11bfa551697cd2b61fdaa571c7975c06e6912c. I've started trying that but it doesn't work (yet?). In any case, upstream do this for Apple arm64 anyway. Bug: https://bugs.gentoo.org/761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r2.ebuild | 74 .../files/add-types.conf-for-hppa2.0-linux.patch | 191 + .../use-libffi-closure-allocations-on-hppa.patch | 21 +++ 3 files changed, 286 insertions(+) diff --git a/dev-ruby/ffi/ffi-1.15.5-r2.ebuild b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild new file mode 100644 index ..847608756add --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.5-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby27 ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +# Needs recent libffi for HPPA fixes (and probably Apple arm64 too) +RDEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" +DEPEND+=" >=dev-libs/libffi-3.4.4-r1:=" + +ruby_add_bdepend "dev-ruby/rake" + +PATCHES=( + "${FILESDIR}/backport-pr-962.patch" + "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957 + "${FILESDIR}/fix-regenerate-types-conf.patch" + "${FILESDIR}/use-libffi-closure-allocations-on-hppa.patch" + "${FILESDIR}/add-types.conf-for-hppa2.0-linux.patch" +) + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/files/add-types.conf-for-hppa2.0-linux.patch b/dev-ruby/ffi/files/add-types.conf-for-hppa2.0-linux.patch new file mode 100644 index ..2594d2b8359c --- /dev/null +++ b/dev-ruby/ffi/files/add-types.conf-for-hppa2.0-linux.patch @@ -0,0 +1,191 @@ +https://github.com/ffi/ffi/pull/1017 + +From 1f0a4db3d6b16142d2ef547c8dde7a36b21bd39a Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Sun, 9 Apr 2023 02:20:32 +0100 +Subject: [PATCH 2/2] Add types.conf for hppa2.0-linux + +--- /dev/null b/lib/ffi/platform/hppa2.0-linux/types.conf +@@ -0,0 +1,178 @@ ++rbx.platform.typedef.*__caddr_t = char ++rbx.platform.typedef.__blkcnt64_t = long_long ++rbx.platform.typedef.__blkcnt_t = long ++rbx.platform.typedef.__blksize_t = long ++rbx.platform.typedef.__clock_t = long ++rbx.platform.typedef.__clockid_t = int ++rbx.platform.typedef.__daddr_t = int ++rbx.platform.typedef.__dev_t = ulong_long ++rbx.platform.typedef.__fd_mask = long ++rbx.platform.typedef.__fsblkcnt64_t = ulong_long ++rbx.platform.typedef.__fsblkcnt_t = ulong ++rbx.platform.typedef.__fsfilcnt64_t = ulong_long ++rbx.platform.typedef.__fsfilcnt_t = ulong ++rbx.platform.typedef.__fsword_t = int ++rbx.platform.typedef.__gid_t = uint ++rbx.platform.typedef.__id_t = uint ++rbx.platform.typedef.__ino64_t = ulong_long ++rbx.platform.typedef.__ino_t = ulong ++rbx.platform.typedef.__int16_t = short ++rbx.platform.typede
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/, dev-ruby/ffi/files/
commit: f47b92e6e464b31190fd762365d01d133f993bc8 Author: Sam James gentoo org> AuthorDate: Sat Apr 8 21:39:13 2023 + Commit: Sam James gentoo org> CommitDate: Sat Apr 8 21:39:13 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47b92e6 dev-ruby/ffi: backport fix for >=ruby30 & non-pre-generated types.conf Only shows up on e.g. HPPA or other platforms w/o a pre-generated types.conf. Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 12 +-- dev-ruby/ffi/files/fix-regenerate-types-conf.patch | 23 ++ 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index aa69729ffc73..cadd0c23bbbc 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -18,23 +18,23 @@ inherit ruby-fakegem toolchain-funcs DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" HOMEPAGE="https://wiki.github.com/ffi/ffi"; - SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" -IUSE="" LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -PATCHES=( - "${FILESDIR}/backport-pr-962.patch" - "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957 -) RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:=" ruby_add_bdepend "dev-ruby/rake" +PATCHES=( + "${FILESDIR}/backport-pr-962.patch" + "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957 + "${FILESDIR}/fix-regenerate-types-conf.patch" +) + all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die diff --git a/dev-ruby/ffi/files/fix-regenerate-types-conf.patch b/dev-ruby/ffi/files/fix-regenerate-types-conf.patch new file mode 100644 index ..1c1cca1c7d4d --- /dev/null +++ b/dev-ruby/ffi/files/fix-regenerate-types-conf.patch @@ -0,0 +1,23 @@ +https://github.com/ffi/ffi/commit/19348fe09e1aeb08424abdf331c3497159139f20 + +From 19348fe09e1aeb08424abdf331c3497159139f20 Mon Sep 17 00:00:00 2001 +From: matoro +Date: Tue, 14 Mar 2023 21:03:33 -0400 +Subject: [PATCH] Update gen/Rakefile for Ruby 3 compat + +Ruby 3 changed the 'mode' argument from an option hash to keyword +argument. This change is backwards-compatible with Ruby 2. + +See: https://github.com/ruby/fileutils/commit/482de6d397742526d576e2791f9b7051e3c0 +--- a/gen/Rakefile b/gen/Rakefile +@@ -9,7 +9,7 @@ logfile = File.join(File.dirname(__FILE__), 'log') + + file types_conf do |task| + options = {} +- FileUtils.mkdir_p(File.dirname(task.name), { :mode => 0755 }) ++ FileUtils.mkdir_p(File.dirname(task.name), mode: 0755) + File.open(task.name, File::CREAT|File::TRUNC|File::RDWR, 0644) do |f| + f.puts FFI::TypesGenerator.generate(options) + end +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: fcc0773e3b7378a5a1d791e249c3ac0b196af5e2 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 22:11:48 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 22:11:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcc0773e dev-ruby/ffi: Stabilize 1.15.5-r1 ppc, #903457 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index ec9c32ffafe1..aa69729ffc73 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" PATCHES=( "${FILESDIR}/backport-pr-962.patch" "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: ab42139c45f490983fd95729bafc7956a5c07113 Author: Sam James gentoo org> AuthorDate: Tue Mar 28 21:48:26 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 21:48:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab42139c dev-ruby/ffi: Stabilize 1.15.5-r1 ppc64, #903457 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index 86d6dac91a61..ec9c32ffafe1 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" PATCHES=( "${FILESDIR}/backport-pr-962.patch" "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 2811d7f26f50a736e5dd0fac4df6bc624588ff7c Author: Sam James gentoo org> AuthorDate: Tue Mar 28 21:43:26 2023 + Commit: Sam James gentoo org> CommitDate: Tue Mar 28 21:43:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2811d7f2 dev-ruby/ffi: Stabilize 1.15.5-r1 x86, #903457 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index 3628ce9ca13b..98e2a9fa1c81 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" PATCHES=( "${FILESDIR}/backport-pr-962.patch" "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 7591ff7ff5bec4e9f3b258e4f34f219dde2bffa9 Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 25 07:52:26 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 26 06:29:43 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7591ff7f dev-ruby/ffi-compiler: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild index 7ae0b3d67ba3..1ffb33df0bfe 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="README.md"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d0d097741b2b1c3bf8125842e195ee995a6f3498 Author: Hans de Graaff gentoo org> AuthorDate: Sun Mar 12 08:30:10 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Mar 12 12:09:32 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d09774 dev-ruby/ffi: enable ruby32 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index c1c66e0fba07..3628ce9ca13b 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_RECIPE_TEST="rspec3"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/files/
commit: 78a3d3173f717efc98b0e832ba6404238c587882 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Mon Dec 26 08:28:50 2022 + Commit: Conrad Kostecki gentoo org> CommitDate: Mon Dec 26 13:42:09 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78a3d317 dev-ruby/ffi: remove unused patch Signed-off-by: Michael Mair-Keimberger levelnine.at> Closes: https://github.com/gentoo/gentoo/pull/28816 Signed-off-by: Conrad Kostecki gentoo.org> dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch | 19 --- 1 file changed, 19 deletions(-) diff --git a/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch b/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch deleted file mode 100644 index 7373a8c28cda.. --- a/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch +++ /dev/null @@ -1,19 +0,0 @@ -https://bugs.gentoo.org/815130 -https://github.com/ffi/ffi/commit/315d66e7b0768856d589e15bf597f4816d5cd524 - -From 0ef7a9d7d22c9a7779def3f8c7f0166d996a2401 Mon Sep 17 00:00:00 2001 -From: xtkoba <69125751+xtk...@users.noreply.github.com> -Date: Wed, 29 Sep 2021 19:24:44 +0900 -Subject: [PATCH] Keep `LONGDOUBLE_ADJ >= sizeof(long double)` - a/ext/ffi_c/Call.c -+++ b/ext/ffi_c/Call.c -@@ -71,7 +71,7 @@ - #define FLOAT32_ADJ (4) - #define FLOAT64_ADJ (8) - #define ADDRESS_ADJ (sizeof(void *)) --#define LONGDOUBLE_ADJ (ffi_type_longdouble.alignment) -+#define LONGDOUBLE_ADJ (ffi_type_longdouble.alignment > sizeof(long double) ? ffi_type_longdouble.alignment : sizeof(long double)) - - #endif /* USE_RAW */ -
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 4b9043b5b4543a475ac2c9f52c80dc309a157a36 Author: Hans de Graaff gentoo org> AuthorDate: Tue Dec 6 07:05:04 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 7 06:44:49 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b9043b5 dev-ruby/ffi: drop 1.14.2-r1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 - dev-ruby/ffi/ffi-1.14.2-r1.ebuild | 68 --- 2 files changed, 69 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index c42bc5e908b8..4152e676f9a4 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1 @@ -DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 diff --git a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild deleted file mode 100644 index 10c95ec49b55.. --- a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi:=" -DEPEND+=" dev-libs/libffi:=" - -ruby_add_bdepend "dev-ruby/rake" - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch -) - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_compile() { - each_fakegem_compile - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 57ab5f06a8fc2b7ea73fb05c304de27ddab1ec71 Author: Sam James gentoo org> AuthorDate: Thu Dec 1 04:02:45 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 1 04:02:45 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57ab5f06 dev-ruby/ffi-compiler: Keyword 1.0.1-r2 ppc, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild index 6a6262edb1ff..7ae0b3d67ba3 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="" # PATCHES=( "${FILESDIR}/respect-cflags.patch" )
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: caeac1a2c72182e55d7812c03827c337daf9aa70 Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 23 10:16:05 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 23 10:16:15 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=caeac1a2 dev-ruby/ffi: destabilize 1.15.5-r1 Drop to stable since the new patches introduce code changes. Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild index 98c573a70b41..c1c66e0fba07 100644 --- a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" PATCHES=( "${FILESDIR}/backport-pr-962.patch" "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/, dev-ruby/ffi-compiler/files/
commit: 3e08fd22940d04460ac8200318d3ed89eddcbc6d Author: matoro users noreply github com> AuthorDate: Wed Jul 13 23:21:08 2022 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 22 21:33:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e08fd22 dev-ruby/ffi-compiler: revbump 1.0.1-r2, respect *FLAGS Signed-off-by: matoro users.noreply.github.com> Signed-off-by: Matt Turner gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild | 22 ++ dev-ruby/ffi-compiler/files/respect-cflags.patch | 17 + 2 files changed, 39 insertions(+) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild new file mode 100644 index ..6a6262edb1ff --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r2.ebuild @@ -0,0 +1,22 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" +IUSE="" +# PATCHES=( "${FILESDIR}/respect-cflags.patch" ) + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0" diff --git a/dev-ruby/ffi-compiler/files/respect-cflags.patch b/dev-ruby/ffi-compiler/files/respect-cflags.patch new file mode 100644 index ..3fe68f8211cb --- /dev/null +++ b/dev-ruby/ffi-compiler/files/respect-cflags.patch @@ -0,0 +1,17 @@ +diff --git a/lib/ffi-compiler/compile_task.rb b/lib/ffi-compiler/compile_task.rb +index 363c247..637fd3d 100644 +--- a/lib/ffi-compiler/compile_task.rb b/lib/ffi-compiler/compile_task.rb +@@ -26,9 +26,9 @@ module FFI + @libraries = [] + @headers = [] + @functions = [] +-@cflags = DEFAULT_CFLAGS.dup +-@cxxflags = DEFAULT_CFLAGS.dup +-@ldflags = DEFAULT_LDFLAGS.dup ++@cflags = ENV['CFLAGS']&.split || DEFAULT_CFLAGS.dup ++@cxxflags = ENV['CXXFLAGS']&.split || DEFAULT_CFLAGS.dup ++@ldflags = ENV['LDFLAGS']&.split || DEFAULT_LDFLAGS.dup + @libs = [] + @platform = Platform.system + @exports = []
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/, dev-ruby/ffi/files/
commit: 4cf664faf645b70935eaee5124eb2a13e35edc44 Author: matoro users noreply github com> AuthorDate: Wed Jun 15 04:29:18 2022 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 22 21:33:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf664fa dev-ruby/ffi: revbump 1.15.5-r1, fix sparc See: https://github.com/ffi/ffi/pull/957 Closes: https://bugs.gentoo.org/847286 Signed-off-by: matoro users.noreply.github.com> Signed-off-by: Matt Turner gentoo.org> dev-ruby/ffi/ffi-1.15.5-r1.ebuild| 71 dev-ruby/ffi/files/backport-pr-962.patch | 48 + dev-ruby/ffi/files/pr-957-sparc.patch| 42 +++ 3 files changed, 161 insertions(+) diff --git a/dev-ruby/ffi/ffi-1.15.5-r1.ebuild b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild new file mode 100644 index ..98c573a70b41 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.5-r1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +PATCHES=( + "${FILESDIR}/backport-pr-962.patch" + "${FILESDIR}/pr-957-sparc.patch" # submitted upstream as https://github.com/ffi/ffi/pull/957 +) + +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} diff --git a/dev-ruby/ffi/files/backport-pr-962.patch b/dev-ruby/ffi/files/backport-pr-962.patch new file mode 100644 index ..708c52025bd5 --- /dev/null +++ b/dev-ruby/ffi/files/backport-pr-962.patch @@ -0,0 +1,48 @@ +From edc54894f77d00c4ca34593c8b4c94f656f5807e Mon Sep 17 00:00:00 2001 +From: Frederick Cheung +Date: Fri, 17 Jun 2022 18:57:28 +0100 +Subject: [PATCH] Fix Pointer#initialize using NUM2LL instead of NUM2ULL + +If the high bit of the address was set this would raise RangeError +(bignum too big to convert into long long). This is not uncommon on +platforms that use the high bits of pointers for purposes such as +pointer authentication + +This also now matches Pointer#address which uses ULL2NUM. +--- + ext/ffi_c/Pointer.c | 2 +- + spec/ffi/pointer_spec.rb | 8 + 2 files changed, 9 insertions(+), 1 deletion(-) + +diff --git a/ext/ffi_c/Pointer.c b/ext/ffi_c/Pointer.c +index 153fff101..79886811f 100644 +--- a/ext/ffi_c/Pointer.c b/ext/ffi_c/Pointer.c +@@ -112,7 +112,7 @@ ptr_initialize(int argc, VALUE* argv, VALUE self) + switch (TYPE(rbAddress)) { + case T_FIXNUM: + case T_BIGNUM: +-p->memory.address = (void*) (uintptr_t) NUM2LL(rbAddress); ++p->memory.address = (void*) (uintptr_t) NUM2ULL(rbAddress); + p->memory.size = LONG_MAX; + if (p->memory.address == NULL) { + p->memory.flags = 0; +diff --git a/spec/ffi/pointer_spec.rb b/spec/ffi/pointer_spec.rb +index b216a161d..7a2ac1565 100644 +--- a/spec/ffi/pointer_spec.rb b/spec/ffi/pointer_spec.rb +@@ -237,6 +237,14 @@ def to_ptr + expect(FFI::Pointer.new(0).slice(0, 10).size_limit?).to be true + end + end ++ ++ describe "#initialise" do ++it 'can use adresses with high bit set' do ++ max_address = 2**FFI::Platform::ADDRESS_SIZE - 1 ++ pointer = FFI::Pointer.new(:uint8, max_address) ++ expect(pointer.address).to eq(max_address) +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: dea29af0af8b7bdc5582b435292572b16e89a4f2 Author: Agostino Sarubbo gentoo org> AuthorDate: Thu May 12 07:28:44 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Thu May 12 07:28:44 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dea29af0 dev-ruby/ffi: sparc stable wrt bug #836634 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index 87a06d3f815e..db12dcdf45b3 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: add6409688647d0ed70e13d49e486d914ddbead8 Author: Hans de Graaff gentoo org> AuthorDate: Fri May 6 06:44:26 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Fri May 6 06:53:56 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=add64096 dev-ruby/ffi-compiler: enable ruby31 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild index 6ca7b935aa2a..0e36fcac82ef 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_EXTRADOC="README.md"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 9c7cc36c7619feaf1ae8cc5e6d7180906891be12 Author: Sam James gentoo org> AuthorDate: Tue Apr 26 13:44:30 2022 + Commit: Sam James gentoo org> CommitDate: Tue Apr 26 13:44:30 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c7cc36c dev-ruby/ffi: Keyword 1.15.5 s390, #840930 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index 74f94884b3af..d1a2dd2adadf 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d045be45779df66d558cc3571a8b21ce221f0394 Author: Jakov Smolić gentoo org> AuthorDate: Wed Apr 13 09:31:40 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Apr 13 09:31:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d045be45 dev-ruby/ffi: Stabilize 1.15.5 arm64, #836634 Signed-off-by: Jakov Smolić gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index ecf5671fd32e..74f94884b3af 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: e78ea147008734d83f91f3111b982ccd6c421feb Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 9 19:31:31 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 9 19:31:31 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e78ea147 dev-ruby/ffi: Stabilize 1.15.5 ppc, #836634 Signed-off-by: Arthur Zamarin gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index c10c223b8915..ecf5671fd32e 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 60e16a2efb152bc51c4bcb768e61d35667d20bf6 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Apr 4 06:36:24 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Apr 4 06:36:24 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60e16a2e dev-ruby/ffi: amd64 stable wrt bug #836634 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index 540bad8c2d60..c10c223b8915 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 9200c0476fa2c17af5702b72ec699ac49bb946f8 Author: Jakov Smolić gentoo org> AuthorDate: Sun Apr 3 22:07:42 2022 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Apr 3 22:07:42 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9200c047 dev-ruby/ffi: Stabilize 1.15.5 x86, #836634 Signed-off-by: Jakov Smolić gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index 9f967080b22d..540bad8c2d60 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 9d49fa44ad12e298ab7a82518b94431614089f30 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Apr 3 10:09:50 2022 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Apr 3 10:09:50 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d49fa44 dev-ruby/ffi: ppc64 stable wrt bug #836634 Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index 57aec608fbb5..9f967080b22d 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 39c3cb846eb791a5b44171ec3a0113141d0d1716 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Apr 2 14:46:16 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Apr 2 14:46:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39c3cb84 dev-ruby/ffi: Stabilize 1.15.5 arm, #836634 Signed-off-by: Arthur Zamarin gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index d64a4976e726..57aec608fbb5 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: b2de33c8422beddc1b750652662e7d01559a7993 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 2 08:55:36 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 2 08:57:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2de33c8 dev-ruby/ffi: enable ruby31 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild index f14690edb137..d64a4976e726 100644 --- a/dev-ruby/ffi/ffi-1.15.5.ebuild +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_RECIPE_TEST="rspec3"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d0a62e873304df3e07903219a1c1cdbb8cd20ea7 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 2 08:56:11 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 2 08:57:48 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0a62e87 dev-ruby/ffi: drop 1.15.1-r1, 1.15.3-r1, 1.15.4-r1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 3 -- dev-ruby/ffi/ffi-1.15.1-r1.ebuild | 71 --- dev-ruby/ffi/ffi-1.15.3-r1.ebuild | 71 --- dev-ruby/ffi/ffi-1.15.4-r1.ebuild | 71 --- 4 files changed, 216 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 44e7fbcb908b..c42bc5e908b8 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,5 +1,2 @@ DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 -DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a -DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce -DIST ffi-git-1.15.4.tgz 167917 BLAKE2B 0694bc5baed1a902a444d75ca534f38c61e56db17e542311f78edad07cc40566aaced5849766b2cce2fdbb531a7ae5ccc3d2506d5871f15c382bbdb3a8302af3 SHA512 3278dd217669b5467e3e0b92b5879fea745c955be52de4096ee490efbfac4ad887018c07ecb5dcd8b0fefd8a02144740c2aba74a1e545d798e73f64f69c7cd79 DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 diff --git a/dev-ruby/ffi/ffi-1.15.1-r1.ebuild b/dev-ruby/ffi/ffi-1.15.1-r1.ebuild deleted file mode 100644 index 76ba9f8c1a8d.. --- a/dev-ruby/ffi/ffi-1.15.1-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" - -RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi:=" -DEPEND+=" dev-libs/libffi:=" - -ruby_add_bdepend "dev-ruby/rake" - -PATCHES=( - "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch -) - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - sed -e '/require/c\require "./lib/ffi/version"' \ - -e 's/git ls-files -z/find * -print0/' \ - -e '/^ lfs/,/^ end/ s:^:#:' \ - -i ${RUBY_FAKEGEM_GEMSPEC} || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_compile() { - each_fakegem_compile - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} diff --git a/dev-ruby/ffi/ffi-1.15.3-r1.ebuild b/dev-ruby/ffi/ffi-1.15.3-r1.ebuild deleted file mode 100644 index 67d86c924a08.. --- a/dev-ruby/ffi/ffi-1.15.3-r1.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby25 ruby26 ruby27 ruby30" - -RUBY_FAKEGEM_RECIPE_TEST=
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 39ac03c5fc448ac2c8e597a950f2706d6f57c8c6 Author: Hans de Graaff gentoo org> AuthorDate: Sat Apr 2 08:54:01 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Apr 2 08:57:47 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39ac03c5 dev-ruby/ffi-compiler: drop 1.0.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 21 - 1 file changed, 21 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild deleted file mode 100644 index 3cf0b2b73392.. --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ /dev/null @@ -1,21 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_EXTRADOC="README.md" - -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Ruby FFI Rakefile generator" -HOMEPAGE="https://github.com/ffi/ffi/wiki"; - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" -IUSE="" - -ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 35d5df9b08c8e128922328cb79cd3b95ebd1c891 Author: Hans de Graaff gentoo org> AuthorDate: Fri Jan 14 07:15:07 2022 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Jan 14 07:29:03 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d5df9b dev-ruby/ffi: add 1.15.5 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.15.5.ebuild | 67 ++ 2 files changed, 68 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index f320839638e0..44e7fbcb908b 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -2,3 +2,4 @@ DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308b DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce DIST ffi-git-1.15.4.tgz 167917 BLAKE2B 0694bc5baed1a902a444d75ca534f38c61e56db17e542311f78edad07cc40566aaced5849766b2cce2fdbb531a7ae5ccc3d2506d5871f15c382bbdb3a8302af3 SHA512 3278dd217669b5467e3e0b92b5879fea745c955be52de4096ee490efbfac4ad887018c07ecb5dcd8b0fefd8a02144740c2aba74a1e545d798e73f64f69c7cd79 +DIST ffi-git-1.15.5.tgz 168139 BLAKE2B 2ddd5bd7bfb7bcd39b6d740cbb1e0f4cd419ce6cb4ec12926f91f254b3f3142bc6166728a81a6f23dccfbf7aec911c63237c20fb0e2c70d30d48f4648e352585 SHA512 3668bafae936bf5010f014fbcf63258b023bcc318882775e7d2fcfc11334722ec2b6e8a8b9c910d406889fb173dd503c5c13f5af8e4f6927921f12f688461707 diff --git a/dev-ruby/ffi/ffi-1.15.5.ebuild b/dev-ruby/ffi/ffi-1.15.5.ebuild new file mode 100644 index ..f14690edb137 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 09e44628e7f0a29e379efd67e37186ce5e15783f Author: Hans de Graaff gentoo org> AuthorDate: Thu Nov 25 12:45:17 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Nov 25 13:03:16 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09e44628 dev-ruby/ffi-compiler: add ruby30 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild | 21 + 1 file changed, 21 insertions(+) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild new file mode 100644 index ..6ca7b935aa2a --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" +IUSE="" + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 750b335c1b469bfd5e3c71496fe643f190a33dab Author: Hans de Graaff gentoo org> AuthorDate: Sun Oct 3 06:23:07 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Oct 3 06:30:41 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=750b335c dev-ruby/ffi: cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 - dev-ruby/ffi/ffi-1.11.3.ebuild | 63 -- 2 files changed, 64 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 48b34e2b06e..f320839638e 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,3 @@ -DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild deleted file mode 100644 index 1961e20d6fc..000 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c$(get_modname) lib/ || die - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 78b1fca648588dd96c35ba18138eb3a908a92f33 Author: Sam James gentoo org> AuthorDate: Sat Oct 2 22:58:52 2021 + Commit: Sam James gentoo org> CommitDate: Sat Oct 2 22:58:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78b1fca6 dev-ruby/ffi: Stabilize 1.14.2-r1 x86, #811399 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.14.2-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild index ee441db8f56..10c95ec49b5 100644 --- a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:=" DEPEND+=" dev-libs/libffi:="
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: e8b266c77b13ebc1ecbe6c6acf9cc4f94485f06d Author: Sam James gentoo org> AuthorDate: Sat Oct 2 19:34:53 2021 + Commit: Sam James gentoo org> CommitDate: Sat Oct 2 19:34:53 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8b266c7 dev-ruby/ffi: add := to 1.14.2-r1 too Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.14.2-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild index 450411f52e9..ee441db8f56 100644 --- a/dev-ruby/ffi/ffi-1.14.2-r1.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild @@ -26,8 +26,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" ruby_add_bdepend "dev-ruby/rake"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/files/, dev-ruby/ffi/
commit: 4cbfbfe255fc82a05f0a9d3ecdf6e8dce7d9a4ee Author: Sam James gentoo org> AuthorDate: Sat Oct 2 19:30:41 2021 + Commit: Sam James gentoo org> CommitDate: Sat Oct 2 19:31:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cbfbfe2 dev-ruby/ffi: fix 32-bit test failure Thanks-to: Tee KOBAYASHI gmail.com> Closes: https://bugs.gentoo.org/815130 Signed-off-by: Sam James gentoo.org> .../ffi/{ffi-1.14.2.ebuild => ffi-1.14.2-r1.ebuild} | 4 .../ffi/{ffi-1.15.1.ebuild => ffi-1.15.1-r1.ebuild} | 8 ++-- .../ffi/{ffi-1.15.3.ebuild => ffi-1.15.3-r1.ebuild} | 8 ++-- .../ffi/{ffi-1.15.4.ebuild => ffi-1.15.4-r1.ebuild} | 8 ++-- dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch | 19 +++ 5 files changed, 41 insertions(+), 6 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild similarity index 96% rename from dev-ruby/ffi/ffi-1.14.2.ebuild rename to dev-ruby/ffi/ffi-1.14.2-r1.ebuild index 38868b67442..450411f52e9 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2-r1.ebuild @@ -31,6 +31,10 @@ DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake" +PATCHES=( + "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch +) + all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die diff --git a/dev-ruby/ffi/ffi-1.15.1.ebuild b/dev-ruby/ffi/ffi-1.15.1-r1.ebuild similarity index 92% rename from dev-ruby/ffi/ffi-1.15.1.ebuild rename to dev-ruby/ffi/ffi-1.15.1-r1.ebuild index 244b9737ea4..76ba9f8c1a8 100644 --- a/dev-ruby/ffi/ffi-1.15.1.ebuild +++ b/dev-ruby/ffi/ffi-1.15.1-r1.ebuild @@ -26,11 +26,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" ruby_add_bdepend "dev-ruby/rake" +PATCHES=( + "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch +) + all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die diff --git a/dev-ruby/ffi/ffi-1.15.3.ebuild b/dev-ruby/ffi/ffi-1.15.3-r1.ebuild similarity index 92% rename from dev-ruby/ffi/ffi-1.15.3.ebuild rename to dev-ruby/ffi/ffi-1.15.3-r1.ebuild index 92b209d828b..67d86c924a0 100644 --- a/dev-ruby/ffi/ffi-1.15.3.ebuild +++ b/dev-ruby/ffi/ffi-1.15.3-r1.ebuild @@ -26,11 +26,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" ruby_add_bdepend "dev-ruby/rake" +PATCHES=( + "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch +) + all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die diff --git a/dev-ruby/ffi/ffi-1.15.4.ebuild b/dev-ruby/ffi/ffi-1.15.4-r1.ebuild similarity index 92% rename from dev-ruby/ffi/ffi-1.15.4.ebuild rename to dev-ruby/ffi/ffi-1.15.4-r1.ebuild index d79112dff22..dc92b96f4e0 100644 --- a/dev-ruby/ffi/ffi-1.15.4.ebuild +++ b/dev-ruby/ffi/ffi-1.15.4-r1.ebuild @@ -26,11 +26,15 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" +RDEPEND+=" dev-libs/libffi:=" +DEPEND+=" dev-libs/libffi:=" ruby_add_bdepend "dev-ruby/rake" +PATCHES=( + "${FILESDIR}"/${PN}-1.14.2-32bit-long-double.patch +) + all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die diff --git a/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch b/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch new file mode 100644 index 000..7373a8c28cd --- /dev/null +++ b/dev-ruby/ffi/files/ffi-1.14.2-32bit-long-double.patch @@ -0,0 +1,19 @@ +https://bugs.gentoo.org/815130 +https://github.com/ffi/ffi/commit/315d66e7b0768856d589e15bf597f4816d5cd524 + +From 0ef7a9d7d22c9a7779def3f8c7f0166d996a2401 Mon Sep 17 00:00:00 2001 +From: xtkoba <69125751+xtk...@users.noreply.github.com> +Date: Wed, 29 Sep 2021 19:24:44 +0900 +Subject: [PATCH] Keep `LONGDOUBLE_ADJ >= sizeof(long double)` + +--- a/ext/ffi_c/Call.c b/ext/ffi_c/Call.c +@@ -71,7 +71,7 @@ + #define FLOAT32_ADJ (4) + #define FLOAT64_ADJ (8) + #define ADDRESS_ADJ (sizeof(void *)) +-#define LONGDOUBLE_ADJ (ffi_type_longdouble.alignment) ++#define LONGDOUBLE_ADJ (ffi_type_longdouble.alignment > sizeof(long double) ? ffi_type_longdouble.alignment :
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: edc6a1cd69074bad6529c6cb0d01f34e8591195d Author: Rolf Eike Beer sf-mail de> AuthorDate: Sat Sep 11 10:32:16 2021 + Commit: Sam James gentoo org> CommitDate: Sat Sep 11 15:58:56 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc6a1cd dev-ruby/ffi: stable 1.14.2 for sparc, bug #811399 Package-Manager: Portage-3.0.20, Repoman-3.0.3 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index 2439e652cf5..38868b67442 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: eb317447d4b2df7c96b2881605a8039b594cca27 Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Sep 5 20:06:37 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Sep 5 20:07:25 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb317447 dev-ruby/ffi: ppc64 stable wrt bug #811399 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index 3c94e34788f..2439e652cf5 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: e1dc7569be196675a4f744590ef21bad0a1401ae Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Sep 5 20:04:15 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Sep 5 20:04:15 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1dc7569 dev-ruby/ffi: ppc stable wrt bug #811399 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="ppc" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index f829dbc2eaa..3c94e34788f 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: a06870e382e5d4e351c08fc21fac84426caad523 Author: Sam James gentoo org> AuthorDate: Sat Sep 4 21:35:27 2021 + Commit: Sam James gentoo org> CommitDate: Sat Sep 4 21:39:24 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a06870e3 dev-ruby/ffi: Stabilize 1.14.2 arm64, #811399 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index 22242be96fd..f829dbc2eaa 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 6a8f9781d4dc92bd991bccba39380b2bf0b06080 Author: Sam James gentoo org> AuthorDate: Fri Sep 3 21:17:04 2021 + Commit: Sam James gentoo org> CommitDate: Fri Sep 3 21:17:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a8f9781 dev-ruby/ffi: Stabilize 1.14.2 arm, #811399 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index 630fd5a0630..22242be96fd 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 13f36f90d7786a012a7e3dd44cb4820f1689b1de Author: Agostino Sarubbo gentoo org> AuthorDate: Fri Sep 3 06:32:17 2021 + Commit: Agostino Sarubbo gentoo org> CommitDate: Fri Sep 3 06:32:17 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13f36f90 dev-ruby/ffi: amd64 stable wrt bug #811399 Package-Manager: Portage-3.0.20, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.14.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild index cf4a8a615ff..630fd5a0630 100644 --- a/dev-ruby/ffi/ffi-1.14.2.ebuild +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 287b7e4f5530507fd53190a109e23b83e7eac8a4 Author: Hans de Graaff gentoo org> AuthorDate: Thu Sep 2 05:27:13 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Sep 2 05:27:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=287b7e4f dev-ruby/ffi: add 1.15.4 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.15.4.ebuild | 67 ++ 2 files changed, 68 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index af9d4024d34..48b34e2b06e 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -2,3 +2,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce +DIST ffi-git-1.15.4.tgz 167917 BLAKE2B 0694bc5baed1a902a444d75ca534f38c61e56db17e542311f78edad07cc40566aaced5849766b2cce2fdbb531a7ae5ccc3d2506d5871f15c382bbdb3a8302af3 SHA512 3278dd217669b5467e3e0b92b5879fea745c955be52de4096ee490efbfac4ad887018c07ecb5dcd8b0fefd8a02144740c2aba74a1e545d798e73f64f69c7cd79 diff --git a/dev-ruby/ffi/ffi-1.15.4.ebuild b/dev-ruby/ffi/ffi-1.15.4.ebuild new file mode 100644 index 000..d79112dff22 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.4.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d5a4885dd8287de8610804bfa843cbbebfd8da94 Author: Marek Szuba gentoo org> AuthorDate: Mon Aug 2 21:34:19 2021 + Commit: Marek Szuba gentoo org> CommitDate: Mon Aug 2 21:47:51 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a4885d dev-ruby/ffi: keyword 1.15.3 for ~riscv Signed-off-by: Marek Szuba gentoo.org> dev-ruby/ffi/ffi-1.15.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.15.3.ebuild b/dev-ruby/ffi/ffi-1.15.3.ebuild index 244b9737ea4..92b209d828b 100644 --- a/dev-ruby/ffi/ffi-1.15.3.ebuild +++ b/dev-ruby/ffi/ffi-1.15.3.ebuild @@ -24,7 +24,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV} IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 566943ce1f57bd2d8b78d84b7f4bb03d4c8fa301 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jul 7 08:50:22 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jul 7 17:38:01 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=566943ce dev-ruby/ffi: cleanup Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 4 --- dev-ruby/ffi/ffi-1.12.2.ebuild | 63 --- dev-ruby/ffi/ffi-1.13.1.ebuild | 63 --- dev-ruby/ffi/ffi-1.14.1.ebuild | 67 -- dev-ruby/ffi/ffi-1.15.0.ebuild | 67 -- 5 files changed, 264 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 73361f3308a..af9d4024d34 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,8 +1,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 -DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 -DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef -DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb79cc6ae1664d638c8a36df1e919cf6a603332f9513167b3f8d8bc342f04c2c1ee60fc9197d75de74fd69ca2e SHA512 8f3e97aa3fc3e5c404864d56b62d568ca464db741c1e526f971df4d96e61ebb8ce5899ecc207ba3d094efeaacd20633a250f2f072392a7369b179166bb780712 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 -DIST ffi-git-1.15.0.tgz 167263 BLAKE2B 441b234ff8b5c65cb409451df60c8bfb5d4e071383e637b7864087ac144705d8f0dfdfb442971c4c98b0e1ed7c18b763c198f6d9c151b16de2a876a3466c369a SHA512 be1c6d85b91ad3148fe79628596fb800d40c1e1efc6efb67ab78c88a71b6f978492f6e571a9c9768956e9d4f3b5940df0de1620f30d63a2dd76e0fe31d357e78 DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce diff --git a/dev-ruby/ffi/ffi-1.12.2.ebuild b/dev-ruby/ffi/ffi-1.12.2.ebuild deleted file mode 100644 index a1ce25ed437..000 --- a/dev-ruby/ffi/ffi-1.12.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 91781593c82ad1f59c55e305fa6715c8edbc157d Author: Hans de Graaff gentoo org> AuthorDate: Mon Jun 21 05:26:52 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Jun 21 05:26:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91781593 dev-ruby/ffi: add 1.15.3 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.15.3.ebuild | 67 ++ 2 files changed, 68 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 9cfee2782cc..73361f3308a 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -5,3 +5,4 @@ DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb7 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.0.tgz 167263 BLAKE2B 441b234ff8b5c65cb409451df60c8bfb5d4e071383e637b7864087ac144705d8f0dfdfb442971c4c98b0e1ed7c18b763c198f6d9c151b16de2a876a3466c369a SHA512 be1c6d85b91ad3148fe79628596fb800d40c1e1efc6efb67ab78c88a71b6f978492f6e571a9c9768956e9d4f3b5940df0de1620f30d63a2dd76e0fe31d357e78 DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a +DIST ffi-git-1.15.3.tgz 167804 BLAKE2B a0d040cd87a0606ebf618bb1e5bf5189e03fa30d2a3681c8dcf2b075b8cba40fbc5d130d78bae0f31d1c20319299f106653576cdb89f355090df5de0c10d916b SHA512 25cf025aa51c5389c99f47043443d33859ce91e50d057dbd49b376b81b2d81c0d158785e9d7d8efba53b9ff450e49d43b475ad2c870822635d8350592f3bb3ce diff --git a/dev-ruby/ffi/ffi-1.15.3.ebuild b/dev-ruby/ffi/ffi-1.15.3.ebuild new file mode 100644 index 000..244b9737ea4 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.3.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 4746a22302a3d33e77c21b702cd03b65d23ac6d1 Author: Hans de Graaff gentoo org> AuthorDate: Sun May 23 06:39:10 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Sun May 23 07:16:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4746a223 dev-ruby/ffi: add 1.15.1 Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.15.1.ebuild | 67 ++ 2 files changed, 68 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 20983704741..9cfee2782cc 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -4,3 +4,4 @@ DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb79cc6ae1664d638c8a36df1e919cf6a603332f9513167b3f8d8bc342f04c2c1ee60fc9197d75de74fd69ca2e SHA512 8f3e97aa3fc3e5c404864d56b62d568ca464db741c1e526f971df4d96e61ebb8ce5899ecc207ba3d094efeaacd20633a250f2f072392a7369b179166bb780712 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 DIST ffi-git-1.15.0.tgz 167263 BLAKE2B 441b234ff8b5c65cb409451df60c8bfb5d4e071383e637b7864087ac144705d8f0dfdfb442971c4c98b0e1ed7c18b763c198f6d9c151b16de2a876a3466c369a SHA512 be1c6d85b91ad3148fe79628596fb800d40c1e1efc6efb67ab78c88a71b6f978492f6e571a9c9768956e9d4f3b5940df0de1620f30d63a2dd76e0fe31d357e78 +DIST ffi-git-1.15.1.tgz 167429 BLAKE2B 6012234f7145c5b291dd03f37d36c51b3ca0d14779b24c02da325b2075564a210566e64eb54caf4c32b4bbfe0c032f4d2c0a316c8c0cf559e14cbe6a922ebd7b SHA512 1e2cd70a8b921c6840b8b990d79819e2bc12f82c2bbef9952a59026de093002d1356642f6637f6bd7b0c94a6205401d88db6b83d1a479b4591c1041ca76f8e5a diff --git a/dev-ruby/ffi/ffi-1.15.1.ebuild b/dev-ruby/ffi/ffi-1.15.1.ebuild new file mode 100644 index 000..244b9737ea4 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d83a9e537d1b95ef1ec6d596ea13beaaf802f7fd Author: Hans de Graaff gentoo org> AuthorDate: Sat Mar 20 08:45:14 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Mar 20 08:47:04 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d83a9e53 dev-ruby/ffi: add ruby30; fix gemspec Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.15.0.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.15.0.ebuild b/dev-ruby/ffi/ffi-1.15.0.ebuild index 72f286d35cc..244b9737ea4 100644 --- a/dev-ruby/ffi/ffi-1.15.0.ebuild +++ b/dev-ruby/ffi/ffi-1.15.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -USE_RUBY="ruby25 ruby26 ruby27" +USE_RUBY="ruby25 ruby26 ruby27 ruby30" RUBY_FAKEGEM_RECIPE_TEST="rspec3" @@ -35,7 +35,10 @@ all_ruby_prepare() { sed -i -e '/tasks/ s:^:#:' \ -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die + sed -e '/require/c\require "./lib/ffi/version"' \ + -e 's/git ls-files -z/find * -print0/' \ + -e '/^ lfs/,/^ end/ s:^:#:' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die # Fix Makefile for tests sed -i -e '/CCACHE :=/ s:^:#:' \
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 577b5a7bb24310d3e9f18eb79b6d9ca96f4a0b41 Author: Hans de Graaff gentoo org> AuthorDate: Mon Mar 8 07:17:47 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Mar 8 07:18:13 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577b5a7b dev-ruby/ffi: add 1.15.0 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.15.0.ebuild | 64 ++ 2 files changed, 65 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 1516568b097..20983704741 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -3,3 +3,4 @@ DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0 DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb79cc6ae1664d638c8a36df1e919cf6a603332f9513167b3f8d8bc342f04c2c1ee60fc9197d75de74fd69ca2e SHA512 8f3e97aa3fc3e5c404864d56b62d568ca464db741c1e526f971df4d96e61ebb8ce5899ecc207ba3d094efeaacd20633a250f2f072392a7369b179166bb780712 DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 +DIST ffi-git-1.15.0.tgz 167263 BLAKE2B 441b234ff8b5c65cb409451df60c8bfb5d4e071383e637b7864087ac144705d8f0dfdfb442971c4c98b0e1ed7c18b763c198f6d9c151b16de2a876a3466c369a SHA512 be1c6d85b91ad3148fe79628596fb800d40c1e1efc6efb67ab78c88a71b6f978492f6e571a9c9768956e9d4f3b5940df0de1620f30d63a2dd76e0fe31d357e78 diff --git a/dev-ruby/ffi/ffi-1.15.0.ebuild b/dev-ruby/ffi/ffi-1.15.0.ebuild new file mode 100644 index 000..72f286d35cc --- /dev/null +++ b/dev-ruby/ffi/ffi-1.15.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 2733d53d6a96965e78ee17bd385157d66cbbb2a1 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 21 07:45:00 2021 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 21 08:12:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2733d53d dev-ruby/ffi: add 1.14.2 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.14.2.ebuild | 64 ++ 2 files changed, 65 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 372a06222f6..1516568b097 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -2,3 +2,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb79cc6ae1664d638c8a36df1e919cf6a603332f9513167b3f8d8bc342f04c2c1ee60fc9197d75de74fd69ca2e SHA512 8f3e97aa3fc3e5c404864d56b62d568ca464db741c1e526f971df4d96e61ebb8ce5899ecc207ba3d094efeaacd20633a250f2f072392a7369b179166bb780712 +DIST ffi-git-1.14.2.tgz 165100 BLAKE2B 598d1771860a7884f8dc6a4cf0006cb42f741308bdd01720d7ea4b63690d42ff6e93f2d48de7132f5d82b275b30672b0bf1ac586b713994b68e98da4cf71a481 SHA512 20fffab047d810ddea1d4d2b66a563adf5787a0602a26cc59724090d393852ae57464a8c7b5a47ca0534efc453bb06d2f8fbf00a203a7060cd3ac78b683119f5 diff --git a/dev-ruby/ffi/ffi-1.14.2.ebuild b/dev-ruby/ffi/ffi-1.14.2.ebuild new file mode 100644 index 000..cf4a8a615ff --- /dev/null +++ b/dev-ruby/ffi/ffi-1.14.2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +RUBY_FAKEGEM_EXTENSIONS=(ext/ffi_c/extconf.rb) + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_compile() { + each_fakegem_compile + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 2a04496b4b8fd17f0747147dd2093e01da124d13 Author: Sam James gentoo org> AuthorDate: Sun Feb 14 05:41:29 2021 + Commit: Sam James gentoo org> CommitDate: Sun Feb 14 05:41:29 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a04496b dev-ruby/ffi-compiler: Keyword 1.0.1 ppc64, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index 8c6671b..3cf0b2b7339 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~sparc ~x86" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 0feb0395a62bd6210efc23bb5aeb4b4e56b52eca Author: Sam James gentoo org> AuthorDate: Tue Feb 9 21:29:36 2021 + Commit: Sam James gentoo org> CommitDate: Tue Feb 9 21:29:36 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0feb0395 dev-ruby/ffi-compiler: Keyword 1.0.1 x86, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index c927d37f8ee..8c6671b 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 950d4cc61a31e2ef73e4960acab16b79c1eebd72 Author: Sam James gentoo org> AuthorDate: Wed Jan 20 00:37:34 2021 + Commit: Sam James gentoo org> CommitDate: Wed Jan 20 00:37:34 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=950d4cc6 dev-ruby/ffi-compiler: Keyword 1.0.1 arm64, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index 6a2ac5d40c8..c927d37f8ee 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~arm ~hppa ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 4b18908d255cbf03da8b8e3cb2dd535d88f4e994 Author: Sam James gentoo org> AuthorDate: Tue Jan 19 14:25:30 2021 + Commit: Sam James gentoo org> CommitDate: Tue Jan 19 14:25:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b18908d dev-ruby/ffi-compiler: Keyword 1.0.1 arm, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index 6a0a25889c5..6a2ac5d40c8 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~hppa ~sparc" +KEYWORDS="~amd64 ~arm ~hppa ~sparc" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 2d3deb6427aaed02b530e20de16051ceb7a530c0 Author: Rolf Eike Beer sf-mail de> AuthorDate: Wed Jan 13 17:33:28 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Wed Jan 13 19:28:02 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d3deb64 dev-ruby/ffi-compiler: keyworded 1.0.1 for sparc, bug #761550 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index e5e861c01ef..6a0a25889c5 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 ~hppa" +KEYWORDS="~amd64 ~hppa ~sparc" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: 1b087285bd259b4a22f82fe61865b058ea3dd38c Author: Rolf Eike Beer sf-mail de> AuthorDate: Thu Jan 7 16:00:42 2021 + Commit: Sergei Trofimovich gentoo org> CommitDate: Fri Jan 8 07:24:09 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b087285 dev-ruby/ffi-compiler: keyworded 1.0.1 for hppa, bug #761550 Package-Manager: Portage-3.0.12, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild index c819e1a0370..e5e861c01ef 100644 --- a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -15,7 +15,7 @@ HOMEPAGE="https://github.com/ffi/ffi/wiki"; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~hppa" IUSE="" ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 9fa9a16d8bdfc6db7ce8765146b9a8e667587403 Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 28 09:46:42 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 28 09:46:42 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fa9a16d dev-ruby/ffi: fix libffi dep According to QA checks virtual/libffi is deprecated. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.14.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.14.1.ebuild b/dev-ruby/ffi/ffi-1.14.1.ebuild index 4a1019bd5d0..35721544e2e 100644 --- a/dev-ruby/ffi/ffi-1.14.1.ebuild +++ b/dev-ruby/ffi/ffi-1.14.1.ebuild @@ -24,8 +24,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi:0=" -DEPEND+=" virtual/libffi" +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi-compiler/
commit: fc72dcb75b3932171bc31a1391486406fc9a2e7c Author: Hans de Graaff gentoo org> AuthorDate: Fri Dec 25 06:19:16 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Fri Dec 25 07:12:56 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc72dcb7 dev-ruby/ffi-compiler: initial import of 1.0.1 Imported from graaff overlay. Dependency for forthcoming dev-ruby/http-parser. Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi-compiler/Manifest | 1 + dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild | 21 + dev-ruby/ffi-compiler/metadata.xml | 8 3 files changed, 30 insertions(+) diff --git a/dev-ruby/ffi-compiler/Manifest b/dev-ruby/ffi-compiler/Manifest new file mode 100644 index 000..6e01f3b3618 --- /dev/null +++ b/dev-ruby/ffi-compiler/Manifest @@ -0,0 +1 @@ +DIST ffi-compiler-1.0.1.gem 18432 BLAKE2B 9832d9836a0b55d3099085b53e0c8e15cc5ae79cfadadea942603ef8595b5fa4d781b5f031f0592b2688acb1416acffa9e525e3cbc004c2c51aaaea12a722706 SHA512 7a13625ab1c5748d05ec93d68708dd9435ec92dcd0c823109c44173fdaf8710aec5f5b4fb11966475f10ae91401c7ca3c620f9d36bb9ca665114e1ed70f4edd0 diff --git a/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild new file mode 100644 index 000..c819e1a0370 --- /dev/null +++ b/dev-ruby/ffi-compiler/ffi-compiler-1.0.1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI Rakefile generator" +HOMEPAGE="https://github.com/ffi/ffi/wiki"; + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/rake >=dev-ruby/ffi-1.0.0" diff --git a/dev-ruby/ffi-compiler/metadata.xml b/dev-ruby/ffi-compiler/metadata.xml new file mode 100644 index 000..3df5c34efc9 --- /dev/null +++ b/dev-ruby/ffi-compiler/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + +r...@gentoo.org +Gentoo Ruby Project + +
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 29eff4cc20feb7e32681747a25356e176003812e Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 23 05:49:40 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 23 05:53:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29eff4cc dev-ruby/ffi: add 1.14.1 Closes: https://bugs.gentoo.org/705010 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.14.1.ebuild | 67 ++ 2 files changed, 68 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index a74f4ecd048..372a06222f6 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,3 +1,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef +DIST ffi-git-1.14.1.tgz 165025 BLAKE2B 020b3954ac08fc9fe077cc9116b21e40de8458eb79cc6ae1664d638c8a36df1e919cf6a603332f9513167b3f8d8bc342f04c2c1ee60fc9197d75de74fd69ca2e SHA512 8f3e97aa3fc3e5c404864d56b62d568ca464db741c1e526f971df4d96e61ebb8ce5899ecc207ba3d094efeaacd20633a250f2f072392a7369b179166bb780712 diff --git a/dev-ruby/ffi/ffi-1.14.1.ebuild b/dev-ruby/ffi/ffi-1.14.1.ebuild new file mode 100644 index 000..4a1019bd5d0 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.14.1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="ffi.gemspec" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi:0=" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + sed -i -e '/require/c\require "./lib/ffi/version"' ${RUBY_FAKEGEM_GEMSPEC} || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 08526cea0f334c633b75076116e9c8fbe3343505 Author: Hans de Graaff gentoo org> AuthorDate: Wed Dec 23 05:36:50 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Dec 23 05:53:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08526cea dev-ruby/ffi: cleanup Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 2 -- dev-ruby/ffi/ffi-1.12.1.ebuild | 63 -- dev-ruby/ffi/ffi-1.13.0.ebuild | 63 -- 3 files changed, 128 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index aef0eaa41ff..a74f4ecd048 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,5 +1,3 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 -DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 -DIST ffi-git-1.13.0.tgz 161537 BLAKE2B 2d113bb31fbd65fdaa397d2477ba8bb66a76c7a01e2753c33b04b81a5175a25acd3495d41e38995ed8161daff25094e0a45ae4b5dc7508840c21e5ba5c45 SHA512 6e90d79b1e60b237c20aa3e863f97797a310d651a52df67957b6a8e1e577b0d800f4e0b6b3ec6da6214ae6a0b855ac23f6f5b3f9439b549a043a3789627a DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef diff --git a/dev-ruby/ffi/ffi-1.12.1.ebuild b/dev-ruby/ffi/ffi-1.12.1.ebuild deleted file mode 100644 index 54f91d863ce..000 --- a/dev-ruby/ffi/ffi-1.12.1.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi:0=" -DEPEND+=" dev-libs/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c$(get_modname) lib/ || die - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} diff --git a/dev-ruby/ffi/ffi-1.13.0.ebuild b/dev-ruby/ffi/ffi-1.13.0.ebuild deleted file mode 100644 index 54f91d863ce..000 --- a/dev-ruby/ffi/ffi-1.13.0.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -USE_RUBY="ruby24 ruby25 ruby26 ruby27" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.t
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 457db033e0cc93770b06b331adc6a685c8e21409 Author: Sam James gentoo org> AuthorDate: Fri Nov 6 02:53:02 2020 + Commit: Sam James gentoo org> CommitDate: Fri Nov 6 03:20:51 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=457db033 dev-ruby/ffi: Stabilize 1.11.3 arm64, #753047 Signed-off-by: Sam James gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 3a234be1136..2557cb1ab4a 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="amd64 arm ~arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" dev-libs/libffi:0=" DEPEND+=" dev-libs/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 20bde46e3801b13f9fda540bd4f5f1dc6631e8e1 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jun 10 04:51:01 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jun 10 04:58:03 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20bde46e dev-ruby/ffi: add 1.13.1 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.13.1.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index fe0da0ef709..aef0eaa41ff 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -2,3 +2,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 DIST ffi-git-1.13.0.tgz 161537 BLAKE2B 2d113bb31fbd65fdaa397d2477ba8bb66a76c7a01e2753c33b04b81a5175a25acd3495d41e38995ed8161daff25094e0a45ae4b5dc7508840c21e5ba5c45 SHA512 6e90d79b1e60b237c20aa3e863f97797a310d651a52df67957b6a8e1e577b0d800f4e0b6b3ec6da6214ae6a0b855ac23f6f5b3f9439b549a043a3789627a +DIST ffi-git-1.13.1.tgz 161660 BLAKE2B b8a6c3f4b9bbd94378ab2adbf40c0bbf56883e34c6a1c12b9e1496069b8a4935b04012820699260f9cffd47efd78d7aa2d08e71a5bff9de740aa96ad11f499eb SHA512 f0077518c9ced54881e40a0047440edb4e40ba0ba89fc814a489bcbaf52e08e9a773e28f453f579162439e247151b994936695fe0b1ed5fb429d9bfd85b845ef diff --git a/dev-ruby/ffi/ffi-1.13.1.ebuild b/dev-ruby/ffi/ffi-1.13.1.ebuild new file mode 100644 index 000..54f91d863ce --- /dev/null +++ b/dev-ruby/ffi/ffi-1.13.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 66cabde5ac40480ba38187f1e59e556230852c07 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jun 3 04:52:19 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jun 3 04:52:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66cabde5 dev-ruby/ffi: add 1.13.0 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.13.0.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 8f8cd4a7b3c..fe0da0ef709 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,3 +1,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 +DIST ffi-git-1.13.0.tgz 161537 BLAKE2B 2d113bb31fbd65fdaa397d2477ba8bb66a76c7a01e2753c33b04b81a5175a25acd3495d41e38995ed8161daff25094e0a45ae4b5dc7508840c21e5ba5c45 SHA512 6e90d79b1e60b237c20aa3e863f97797a310d651a52df67957b6a8e1e577b0d800f4e0b6b3ec6da6214ae6a0b855ac23f6f5b3f9439b549a043a3789627a diff --git a/dev-ruby/ffi/ffi-1.13.0.ebuild b/dev-ruby/ffi/ffi-1.13.0.ebuild new file mode 100644 index 000..54f91d863ce --- /dev/null +++ b/dev-ruby/ffi/ffi-1.13.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem toolchain-funcs + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 57f6604bb96c8e38c1ba1c8507fd8a54baf5d60f Author: Hans de Graaff gentoo org> AuthorDate: Sun Apr 12 11:51:52 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Apr 12 11:55:23 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f6604b dev-ruby/ffi: cleanup Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 - dev-ruby/ffi/ffi-1.9.25.ebuild | 64 -- 2 files changed, 65 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 1454d4e58fa..8f8cd4a7b3c 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,3 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 -DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.9.25.ebuild b/dev-ruby/ffi/ffi-1.9.25.ebuild deleted file mode 100644 index 0cf0f6966b2..000 --- a/dev-ruby/ffi/ffi-1.9.25.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem toolchain-funcs - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 arm ~arm64 hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" dev-libs/libffi" -DEPEND+=" dev-libs/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' libtest/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c$(get_modname) lib/ || die - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 023a8d089bbb162be91c3cb3661678a62c75d2ef Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 23 05:23:45 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 23 05:23:45 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023a8d08 dev-ruby/ffi: depend on dev-libs/libffi directly Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 4 ++-- dev-ruby/ffi/ffi-1.12.1.ebuild | 4 ++-- dev-ruby/ffi/ffi-1.12.2.ebuild | 4 ++-- dev-ruby/ffi/ffi-1.9.25.ebuild | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 501e717b931..46b733b1202 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -22,8 +22,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi:0=" -DEPEND+=" virtual/libffi" +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake" diff --git a/dev-ruby/ffi/ffi-1.12.1.ebuild b/dev-ruby/ffi/ffi-1.12.1.ebuild index 6b89b0ddcb2..c5d44aa1459 100644 --- a/dev-ruby/ffi/ffi-1.12.1.ebuild +++ b/dev-ruby/ffi/ffi-1.12.1.ebuild @@ -22,8 +22,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi:0=" -DEPEND+=" virtual/libffi" +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake" diff --git a/dev-ruby/ffi/ffi-1.12.2.ebuild b/dev-ruby/ffi/ffi-1.12.2.ebuild index 6b89b0ddcb2..c5d44aa1459 100644 --- a/dev-ruby/ffi/ffi-1.12.2.ebuild +++ b/dev-ruby/ffi/ffi-1.12.2.ebuild @@ -22,8 +22,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi:0=" -DEPEND+=" virtual/libffi" +RDEPEND+=" dev-libs/libffi:0=" +DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake" diff --git a/dev-ruby/ffi/ffi-1.9.25.ebuild b/dev-ruby/ffi/ffi-1.9.25.ebuild index c6c07497d5c..57ce665af89 100644 --- a/dev-ruby/ffi/ffi-1.9.25.ebuild +++ b/dev-ruby/ffi/ffi-1.9.25.ebuild @@ -23,8 +23,8 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" +RDEPEND+=" dev-libs/libffi" +DEPEND+=" dev-libs/libffi" ruby_add_bdepend "dev-ruby/rake"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 06eeea3bde40e6c85c8cf4b90ae103c98824e2e7 Author: Hans de Graaff gentoo org> AuthorDate: Sun Feb 2 06:44:09 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Sun Feb 2 06:44:09 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06eeea3b dev-ruby/ffi: add 1.12.2 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.12.2.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index b70cbafe34a..1454d4e58fa 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,3 +1,4 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a +DIST ffi-git-1.12.2.tgz 158344 BLAKE2B 903825d7a6d77e26be47ec7e7991253e1ba58b0f0049fd812f8c26dee6eb31c17388dd5f23270e84cf53c02ab3a73c79ecca870814e14993496d1ca0e99a5390 SHA512 2590ff3fd704334fe00de10ec5e08184c350feac36418e08680def0b4742c488f8168fa82759317e93cc3d7969af366254aeb157c84d07565e1804ba1678d119 DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.12.2.ebuild b/dev-ruby/ffi/ffi-1.12.2.ebuild new file mode 100644 index 000..eb4ff833e1f --- /dev/null +++ b/dev-ruby/ffi/ffi-1.12.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi:0=" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 96ef937e23f6377b6468cd74fc0edb4e307c3f18 Author: Mikle Kolyada gentoo org> AuthorDate: Mon Jan 27 10:51:40 2020 + Commit: Mikle Kolyada gentoo org> CommitDate: Mon Jan 27 10:51:40 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ef937e dev-ruby/ffi: arm stable wrt bug #705148 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="arm" Signed-off-by: Mikle Kolyada gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index da6c9cc6cd5..2b33009c082 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 21f464848c0867812a3acdb8ed782780722f77b3 Author: Hans de Graaff gentoo org> AuthorDate: Wed Jan 15 05:36:56 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jan 15 05:44:04 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21f46484 dev-ruby/ffi: add 1.12.1 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.12.1.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index d67281504b1..b70cbafe34a 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,2 +1,3 @@ DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 +DIST ffi-git-1.12.1.tgz 158108 BLAKE2B e5685e94ef0c1a1f5a5443fac4d9934fc3613219f27d08c635bf346d1312f765d9bc9bb987e736fb373f715d84489e410e2e13280acc501607b1274a6a4a63be SHA512 172540f5827ed87afd56d0da08705d714ab7e4ad1297f9de774cb8792fb8fbb90f9e697e280f13c25c5c14dc73b8ba8150fe3dfd5f31e3c70c195357709ce13a DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.12.1.ebuild b/dev-ruby/ffi/ffi-1.12.1.ebuild new file mode 100644 index 000..eb4ff833e1f --- /dev/null +++ b/dev-ruby/ffi/ffi-1.12.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi:0=" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 5edb7ad7f07bb40cccf6eb4ad3a80a20a2e67ee5 Author: Agostino Sarubbo gentoo org> AuthorDate: Mon Jan 13 08:50:07 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Mon Jan 13 08:50:07 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5edb7ad7 dev-ruby/ffi: x86 stable wrt bug #705148 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="x86" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 47a66b7277d..da6c9cc6cd5 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 5b712752c76c4ccf7266df2857ab84de4e6d25d1 Author: Rolf Eike Beer sf-mail de> AuthorDate: Mon Jan 13 07:49:36 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Mon Jan 13 08:25:19 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b712752 dev-ruby/ffi: stable 1.11.3 for sparc, bug #705148 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="sparc" Signed-off-by: Rolf Eike Beer sf-mail.de> Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 5f0e4264e68..47a66b7277d 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: c8b40287b0a8b8d5cbc8436933c0620371405733 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 23:16:16 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 23:22:10 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8b40287 dev-ruby/ffi: stable 1.11.3 for ppc, bug #705148 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 33a801d03ae..5f0e4264e68 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: a812228916ed0a9df3089b91da5960bce60e0c4f Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 22:51:31 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 22:53:36 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8122289 dev-ruby/ffi: stable 1.11.3 for ppc64, bug #705148 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ppc64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index ec5427cf4af..33a801d03ae 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 5d365304c5661031d90ff5c57b098b3e5998a889 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 22:42:02 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 22:42:02 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d365304 dev-ruby/ffi: stable 1.11.3 for ia64, bug #705148 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="ia64" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 8288badd058..ec5427cf4af 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 9fe516e5c0e43ed36c4dc8ba3f57f021d3c43682 Author: Sergei Trofimovich gentoo org> AuthorDate: Sun Jan 12 22:36:24 2020 + Commit: Sergei Trofimovich gentoo org> CommitDate: Sun Jan 12 22:36:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe516e5 dev-ruby/ffi: stable 1.11.3 for hppa, bug #705148 Package-Manager: Portage-2.3.84, Repoman-2.3.20 RepoMan-Options: --include-arches="hppa" Signed-off-by: Sergei Trofimovich gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index f4b5214f34f..8288badd058 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: d1ccdc64e012861de2d2989c39057c4a3ed89a2a Author: Agostino Sarubbo gentoo org> AuthorDate: Sat Jan 11 14:51:20 2020 + Commit: Agostino Sarubbo gentoo org> CommitDate: Sat Jan 11 14:51:20 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1ccdc64 dev-ruby/ffi: amd64 stable wrt bug #705148 Package-Manager: Portage-2.3.79, Repoman-2.3.16 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo gentoo.org> dev-ruby/ffi/ffi-1.11.3.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild index 88c5fb08526..f4b5214f34f 100644 --- a/dev-ruby/ffi/ffi-1.11.3.ebuild +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,7 +20,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}. IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 1d844a6e2321fc69de724ac0f504b4a48db15281 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jan 11 09:17:17 2020 + Commit: Hans de Graaff gentoo org> CommitDate: Sat Jan 11 09:19:41 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d844a6e dev-ruby/ffi: cleanup Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 4 --- dev-ruby/ffi/ffi-1.10.0.ebuild | 64 -- dev-ruby/ffi/ffi-1.11.0.ebuild | 64 -- dev-ruby/ffi/ffi-1.11.1.ebuild | 64 -- dev-ruby/ffi/ffi-1.11.2.ebuild | 63 - 5 files changed, 259 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 9099292142e..d67281504b1 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,6 +1,2 @@ -DIST ffi-git-1.10.0.tgz 166192 BLAKE2B a663da1272a41464bcc3fd6a69055615beaa75aca09da60a4459034230ddb7768573e6a91e75b0e768f16333f23e55e045b6cff3be63c5138c85070903cea869 SHA512 f4a7faa02eda8e67b4c05ecc93ed1848daa9d55ec2eaf367947dbb4cf6b0edd76db1e8232db0a17828df40c3cdabb9f7edac11b44f9de00bdb69d0c9a84d4409 -DIST ffi-git-1.11.0.tgz 156535 BLAKE2B e4c5e6406ff6603a3c41146d6ec3f07fdc3ba2243349b6a77083c195e1b9b40648950c82bcdbb846189b3162c43b23b3cabcde92a4e6f2f9fc8c4ccf03ac473d SHA512 38c66841fb33f7fe7abf0186ef48e28525b9b50450dd886716662ee8cd630374abb41a2fa5fec9cebdcae0e8ffa76ba5b36d89bd441d09a54503032c3950dd08 -DIST ffi-git-1.11.1.tgz 156715 BLAKE2B 4ea2d0f54dc6ef327c57408e568c5f728f5c387e810e25b6becab8119ebd8a20d6c834a80c1ababf3fd4fc4a4d4253146fc161f93fbf02e153f73fc812bad309 SHA512 7f6c2ae66a2ffc40b154ada2d3e2c0f81e79803ba693ce2a83d16ac6a210ac5494bcc4b28948b3b68c9802a7cacce77e4a7cb1c3c1105039c08c50e5c8137fd4 -DIST ffi-git-1.11.2.tgz 157314 BLAKE2B 0348c5ac153ded06cacfebc0e748232070169c8479e17622c8023b8ebb778c169dd83ed18d52ea3be565001046e59fc1e1573df6b59d176cda6cd55feaa62185 SHA512 073ce1040669e45f621605c278ce1f260ba0aed10bd7a51afeeb62cdb9d5b24d07726605259fa28fa128168bb97879cd23dcc483679cf48db2448afe2730b08c DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.10.0.ebuild b/dev-ruby/ffi/ffi-1.10.0.ebuild deleted file mode 100644 index 44bdff1ecb4..000 --- a/dev-ruby/ffi/ffi-1.10.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby23 ruby24 ruby25 ruby26" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' libtest/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c$(get_modname) lib/ || die - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -} diff --git a/dev-ruby/ffi/ffi-1.11.0.ebuild b/dev-ruby/ffi/ffi-1.11.0.ebuild deleted file mode 100644 index 3f78f61b9bd..000 --- a/dev-ruby/ffi/ffi-1.11.0.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2019 Gentoo Aut
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: e58da63df933f800d125c269788fa49d503d710e Author: Hans de Graaff gentoo org> AuthorDate: Tue Nov 26 19:37:43 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Tue Nov 26 19:38:37 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e58da63d dev-ruby/ffi: add 1.11.3 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.11.3.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 06adea1cd13..9099292142e 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -2,4 +2,5 @@ DIST ffi-git-1.10.0.tgz 166192 BLAKE2B a663da1272a41464bcc3fd6a69055615beaa75aca DIST ffi-git-1.11.0.tgz 156535 BLAKE2B e4c5e6406ff6603a3c41146d6ec3f07fdc3ba2243349b6a77083c195e1b9b40648950c82bcdbb846189b3162c43b23b3cabcde92a4e6f2f9fc8c4ccf03ac473d SHA512 38c66841fb33f7fe7abf0186ef48e28525b9b50450dd886716662ee8cd630374abb41a2fa5fec9cebdcae0e8ffa76ba5b36d89bd441d09a54503032c3950dd08 DIST ffi-git-1.11.1.tgz 156715 BLAKE2B 4ea2d0f54dc6ef327c57408e568c5f728f5c387e810e25b6becab8119ebd8a20d6c834a80c1ababf3fd4fc4a4d4253146fc161f93fbf02e153f73fc812bad309 SHA512 7f6c2ae66a2ffc40b154ada2d3e2c0f81e79803ba693ce2a83d16ac6a210ac5494bcc4b28948b3b68c9802a7cacce77e4a7cb1c3c1105039c08c50e5c8137fd4 DIST ffi-git-1.11.2.tgz 157314 BLAKE2B 0348c5ac153ded06cacfebc0e748232070169c8479e17622c8023b8ebb778c169dd83ed18d52ea3be565001046e59fc1e1573df6b59d176cda6cd55feaa62185 SHA512 073ce1040669e45f621605c278ce1f260ba0aed10bd7a51afeeb62cdb9d5b24d07726605259fa28fa128168bb97879cd23dcc483679cf48db2448afe2730b08c +DIST ffi-git-1.11.3.tgz 157081 BLAKE2B 57459d3aba7f54daf9c4d94993a083166efe5c37f3aa699279a07cac0ecdee533f54ee1ab36f7ee2a5cc43d0ebb386b8b3285102d98ffd18fa297e2e1b882283 SHA512 86a6a95aa5d4f005eb457fbe26b38e7b8618899db3de3459f3a01128aa7c488a47e50d13aef05ae83519178c80f2f7ed0a0280147d7e30aace13bbab82871f30 DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.11.3.ebuild b/dev-ruby/ffi/ffi-1.11.3.ebuild new file mode 100644 index 000..88c5fb08526 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.11.3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi:0=" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 2eb15961541157e4db55ec0fcbc3acb33e0a4c92 Author: Hans de Graaff gentoo org> AuthorDate: Wed Nov 13 05:57:58 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Nov 13 06:05:26 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eb15961 dev-ruby/ffi: add 1.11.2 Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.11.2.ebuild | 63 ++ 2 files changed, 64 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index e9856ed202e..06adea1cd13 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,5 @@ DIST ffi-git-1.10.0.tgz 166192 BLAKE2B a663da1272a41464bcc3fd6a69055615beaa75aca09da60a4459034230ddb7768573e6a91e75b0e768f16333f23e55e045b6cff3be63c5138c85070903cea869 SHA512 f4a7faa02eda8e67b4c05ecc93ed1848daa9d55ec2eaf367947dbb4cf6b0edd76db1e8232db0a17828df40c3cdabb9f7edac11b44f9de00bdb69d0c9a84d4409 DIST ffi-git-1.11.0.tgz 156535 BLAKE2B e4c5e6406ff6603a3c41146d6ec3f07fdc3ba2243349b6a77083c195e1b9b40648950c82bcdbb846189b3162c43b23b3cabcde92a4e6f2f9fc8c4ccf03ac473d SHA512 38c66841fb33f7fe7abf0186ef48e28525b9b50450dd886716662ee8cd630374abb41a2fa5fec9cebdcae0e8ffa76ba5b36d89bd441d09a54503032c3950dd08 DIST ffi-git-1.11.1.tgz 156715 BLAKE2B 4ea2d0f54dc6ef327c57408e568c5f728f5c387e810e25b6becab8119ebd8a20d6c834a80c1ababf3fd4fc4a4d4253146fc161f93fbf02e153f73fc812bad309 SHA512 7f6c2ae66a2ffc40b154ada2d3e2c0f81e79803ba693ce2a83d16ac6a210ac5494bcc4b28948b3b68c9802a7cacce77e4a7cb1c3c1105039c08c50e5c8137fd4 +DIST ffi-git-1.11.2.tgz 157314 BLAKE2B 0348c5ac153ded06cacfebc0e748232070169c8479e17622c8023b8ebb778c169dd83ed18d52ea3be565001046e59fc1e1573df6b59d176cda6cd55feaa62185 SHA512 073ce1040669e45f621605c278ce1f260ba0aed10bd7a51afeeb62cdb9d5b24d07726605259fa28fa128168bb97879cd23dcc483679cf48db2448afe2730b08c DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.11.2.ebuild b/dev-ruby/ffi/ffi-1.11.2.ebuild new file mode 100644 index 000..88c5fb08526 --- /dev/null +++ b/dev-ruby/ffi/ffi-1.11.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi:0=" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 27cff4d52ea6d1f45dc049543c4425088e1e826b Author: Pacho Ramos gentoo org> AuthorDate: Sat Sep 28 15:41:40 2019 + Commit: Pacho Ramos gentoo org> CommitDate: Sat Sep 28 15:41:40 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27cff4d5 dev-ruby/ffi: Needs to be rebuilt with ffi subslot bumps Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Pacho Ramos gentoo.org> dev-ruby/ffi/ffi-1.11.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/ffi/ffi-1.11.1.ebuild b/dev-ruby/ffi/ffi-1.11.1.ebuild index 3f78f61b9bd..53db7a17db5 100644 --- a/dev-ruby/ffi/ffi-1.11.1.ebuild +++ b/dev-ruby/ffi/ffi-1.11.1.ebuild @@ -23,7 +23,7 @@ LICENSE="BSD" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -RDEPEND+=" virtual/libffi" +RDEPEND+=" virtual/libffi:0=" DEPEND+=" virtual/libffi" ruby_add_bdepend "dev-ruby/rake"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 2dbfe7bfbeb63d4910e6591a4dd0105034e3a47a Author: Hans de Graaff gentoo org> AuthorDate: Wed Jun 5 17:48:23 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jun 5 17:56:07 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dbfe7bf dev-ruby/ffi: cleanup Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.66, Repoman-2.3.11 dev-ruby/ffi/Manifest | 1 - dev-ruby/ffi/ffi-1.9.18.ebuild | 64 -- 2 files changed, 65 deletions(-) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index 0cc484db3bd..e9856ed202e 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,5 +1,4 @@ DIST ffi-git-1.10.0.tgz 166192 BLAKE2B a663da1272a41464bcc3fd6a69055615beaa75aca09da60a4459034230ddb7768573e6a91e75b0e768f16333f23e55e045b6cff3be63c5138c85070903cea869 SHA512 f4a7faa02eda8e67b4c05ecc93ed1848daa9d55ec2eaf367947dbb4cf6b0edd76db1e8232db0a17828df40c3cdabb9f7edac11b44f9de00bdb69d0c9a84d4409 DIST ffi-git-1.11.0.tgz 156535 BLAKE2B e4c5e6406ff6603a3c41146d6ec3f07fdc3ba2243349b6a77083c195e1b9b40648950c82bcdbb846189b3162c43b23b3cabcde92a4e6f2f9fc8c4ccf03ac473d SHA512 38c66841fb33f7fe7abf0186ef48e28525b9b50450dd886716662ee8cd630374abb41a2fa5fec9cebdcae0e8ffa76ba5b36d89bd441d09a54503032c3950dd08 DIST ffi-git-1.11.1.tgz 156715 BLAKE2B 4ea2d0f54dc6ef327c57408e568c5f728f5c387e810e25b6becab8119ebd8a20d6c834a80c1ababf3fd4fc4a4d4253146fc161f93fbf02e153f73fc812bad309 SHA512 7f6c2ae66a2ffc40b154ada2d3e2c0f81e79803ba693ce2a83d16ac6a210ac5494bcc4b28948b3b68c9802a7cacce77e4a7cb1c3c1105039c08c50e5c8137fd4 -DIST ffi-git-1.9.18.tgz 901805 BLAKE2B b04715095858d461e4a0a904185dbd603e391611ef446de385deb533d8fcbff0ada3f1865599fb51e3446df629c16d491c476e179cfa356c7d8c84e1827b2729 SHA512 49c52e5e42e436b7969c35a34b28bd7929d75372638ac5373486a1d624026c12dc682009bc101e4a2c8f1442ed6f1ba17b438cda2e02d4256622b489c4bd9945 DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.9.18.ebuild b/dev-ruby/ffi/ffi-1.9.18.ebuild deleted file mode 100644 index efc484a7e18..000 --- a/dev-ruby/ffi/ffi-1.9.18.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -USE_RUBY="ruby22 ruby23 ruby24" - -RUBY_FAKEGEM_RECIPE_TEST="rspec3" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="README.md" - -inherit multilib ruby-fakegem - -DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" -HOMEPAGE="https://wiki.github.com/ffi/ffi"; - -SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" - -IUSE="" -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" - -RDEPEND+=" virtual/libffi" -DEPEND+=" virtual/libffi" - -ruby_add_bdepend "dev-ruby/rake" - -all_ruby_prepare() { - sed -i -e '/tasks/ s:^:#:' \ - -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die - - # Fix Makefile for tests - sed -i -e '/CCACHE :=/ s:^:#:' \ - -e 's/-O2//' \ - -e 's/^CFLAGS =/CFLAGS +=/' libtest/GNUmakefile || die - - # Remove bundled version of libffi. - rm -rf ext/ffi_c/libffi || die -} - -each_ruby_configure() { - ${RUBY} -Cext/ffi_c extconf.rb || die -} - -each_ruby_compile() { - emake -Cext/ffi_c V=1 - cp ext/ffi_c/ffi_c$(get_modname) lib/ || die - - ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" -} - -each_ruby_test() { - CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die -} - -all_ruby_install() { - all_fakegem_install - - docinto examples - dodoc samples/* -}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
commit: 7c20d7d5c8063562e11f0bfbb8aed720fa682ad3 Author: Hans de Graaff gentoo org> AuthorDate: Wed May 22 05:09:00 2019 + Commit: Hans de Graaff gentoo org> CommitDate: Wed May 22 05:09:00 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c20d7d5 dev-ruby/ffi: add 1.11.1 Signed-off-by: Hans de Graaff gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 dev-ruby/ffi/Manifest | 1 + dev-ruby/ffi/ffi-1.11.1.ebuild | 64 ++ 2 files changed, 65 insertions(+) diff --git a/dev-ruby/ffi/Manifest b/dev-ruby/ffi/Manifest index c41f56db152..0cc484db3bd 100644 --- a/dev-ruby/ffi/Manifest +++ b/dev-ruby/ffi/Manifest @@ -1,4 +1,5 @@ DIST ffi-git-1.10.0.tgz 166192 BLAKE2B a663da1272a41464bcc3fd6a69055615beaa75aca09da60a4459034230ddb7768573e6a91e75b0e768f16333f23e55e045b6cff3be63c5138c85070903cea869 SHA512 f4a7faa02eda8e67b4c05ecc93ed1848daa9d55ec2eaf367947dbb4cf6b0edd76db1e8232db0a17828df40c3cdabb9f7edac11b44f9de00bdb69d0c9a84d4409 DIST ffi-git-1.11.0.tgz 156535 BLAKE2B e4c5e6406ff6603a3c41146d6ec3f07fdc3ba2243349b6a77083c195e1b9b40648950c82bcdbb846189b3162c43b23b3cabcde92a4e6f2f9fc8c4ccf03ac473d SHA512 38c66841fb33f7fe7abf0186ef48e28525b9b50450dd886716662ee8cd630374abb41a2fa5fec9cebdcae0e8ffa76ba5b36d89bd441d09a54503032c3950dd08 +DIST ffi-git-1.11.1.tgz 156715 BLAKE2B 4ea2d0f54dc6ef327c57408e568c5f728f5c387e810e25b6becab8119ebd8a20d6c834a80c1ababf3fd4fc4a4d4253146fc161f93fbf02e153f73fc812bad309 SHA512 7f6c2ae66a2ffc40b154ada2d3e2c0f81e79803ba693ce2a83d16ac6a210ac5494bcc4b28948b3b68c9802a7cacce77e4a7cb1c3c1105039c08c50e5c8137fd4 DIST ffi-git-1.9.18.tgz 901805 BLAKE2B b04715095858d461e4a0a904185dbd603e391611ef446de385deb533d8fcbff0ada3f1865599fb51e3446df629c16d491c476e179cfa356c7d8c84e1827b2729 SHA512 49c52e5e42e436b7969c35a34b28bd7929d75372638ac5373486a1d624026c12dc682009bc101e4a2c8f1442ed6f1ba17b438cda2e02d4256622b489c4bd9945 DIST ffi-git-1.9.25.tgz 164209 BLAKE2B aab3addb5d9138f81d0688ad628082e7aef5f96a1b046dfa57a7195dcf7432533052bb397ac8335f7b17ffece9424fad7d986065a82ac91437e0d8d27d76ac77 SHA512 94a45f4152458d6aedf50645c8074626dcde4326093a606e509c3fbcaac79a1e6a9f7df624f14946db4f3767ef6fb3e311e60531c209676e66ebbf21b07a6786 diff --git a/dev-ruby/ffi/ffi-1.11.1.ebuild b/dev-ruby/ffi/ffi-1.11.1.ebuild new file mode 100644 index 000..3f78f61b9bd --- /dev/null +++ b/dev-ruby/ffi/ffi-1.11.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby24 ruby25 ruby26" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +inherit multilib ruby-fakegem + +DESCRIPTION="Ruby extension for programmatically loading dynamic libraries" +HOMEPAGE="https://wiki.github.com/ffi/ffi"; + +SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${PN}-git-${PV}.tgz" + +IUSE="" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND+=" virtual/libffi" +DEPEND+=" virtual/libffi" + +ruby_add_bdepend "dev-ruby/rake" + +all_ruby_prepare() { + sed -i -e '/tasks/ s:^:#:' \ + -e '/Gem::Tasks/,/end/ s:^:#:' Rakefile || die + + # Fix Makefile for tests + sed -i -e '/CCACHE :=/ s:^:#:' \ + -e 's/-O2//' \ + -e 's/^CFLAGS =/CFLAGS +=/' spec/ffi/fixtures/GNUmakefile || die + + # Remove bundled version of libffi. + rm -rf ext/ffi_c/libffi || die +} + +each_ruby_configure() { + ${RUBY} -Cext/ffi_c extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/ffi_c V=1 + cp ext/ffi_c/ffi_c$(get_modname) lib/ || die + + ${RUBY} -S rake -f gen/Rakefile || die "types.conf generation failed" +} + +each_ruby_test() { + CC=$(tc-getCC) CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" ${RUBY} -S rspec spec || die +} + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +}