summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2024-04-05 11:41:23 +0200
committerHans de Graaff <graaff@gentoo.org>2024-04-05 11:42:06 +0200
commit616f2408164c17b18b1d6c249981f4f4de0ecea8 (patch)
tree3e831b068176133fd7afc720b39989edc21e0ae0 /dev-ruby/ffi-compiler
parentdev-ruby/debug: add 1.9.2 (diff)
downloadgentoo-616f2408164c17b18b1d6c249981f4f4de0ecea8.tar.gz
gentoo-616f2408164c17b18b1d6c249981f4f4de0ecea8.tar.bz2
gentoo-616f2408164c17b18b1d6c249981f4f4de0ecea8.zip
dev-ruby/ffi-compiler: add 1.3.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ffi-compiler')
-rw-r--r--dev-ruby/ffi-compiler/Manifest1
-rw-r--r--dev-ruby/ffi-compiler/ffi-compiler-1.3.2.ebuild25
2 files changed, 26 insertions, 0 deletions
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 000000000000..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
+}