public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/
Date: Wed, 10 Jun 2020 04:58:09 +0000 (UTC)	[thread overview]
Message-ID: <1591765083.20bde46e3801b13f9fda540bd4f5f1dc6631e8e1.graaff@gentoo> (raw)

commit:     20bde46e3801b13f9fda540bd4f5f1dc6631e8e1
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 10 04:51:01 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Wed Jun 10 04:58:03 2020 +0000
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 <graaff <AT> 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 2d113bb31fbd65fdaa397d2477ba8bb66a76c7a01e2753c33b04b81a5175a25acd3495d41e38995ed8161daff25094e0a45ae4b5d6666c7508840c21e5ba5c45 SHA512 6e90d79b1e60b237c20aa3e863f97797a310d651a52df67957b6a8e1e577b0d800f4e0b6b3ec6da77776214ae6a0b855ac23f6f5b3f9439b549a043a3789627a
+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 00000000000..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/*
+}


             reply	other threads:[~2020-06-10  4:58 UTC|newest]

Thread overview: 126+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-10  4:58 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-01-02 10:03 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ffi/ Hans de Graaff
2024-11-01  6:48 Hans de Graaff
2024-10-13 11:06 Sam James
2024-10-09  7:54 Arthur Zamarin
2024-10-09  2:53 Jakov Smolić
2024-10-06 13:46 Arthur Zamarin
2024-10-06 13:30 Jakov Smolić
2024-10-06 11:52 Sam James
2024-06-03  5:55 Hans de Graaff
2024-06-02  8:34 Hans de Graaff
2023-12-31 19:20 Hans de Graaff
2023-12-05 18:25 Ionen Wolkens
2023-10-05  6:07 Hans de Graaff
2023-09-26  4:14 Hans de Graaff
2023-09-26  4:14 Hans de Graaff
2023-09-25  5:26 Hans de Graaff
2023-09-24  6:15 Hans de Graaff
2023-04-25  1:30 Sam James
2023-04-25  1:30 Sam James
2023-04-25  1:30 Sam James
2023-04-25  1:30 Sam James
2023-04-25  1:30 Sam James
2023-04-25  1:30 Sam James
2023-04-25  1:02 Sam James
2023-03-28 22:12 Sam James
2023-03-28 21:49 Sam James
2023-03-28 21:44 Sam James
2023-03-12 12:09 Hans de Graaff
2022-12-07  6:45 Hans de Graaff
2022-10-23 10:17 Hans de Graaff
2022-05-12  7:28 Agostino Sarubbo
2022-04-26 13:45 Sam James
2022-04-13  9:32 Jakov Smolić
2022-04-09 19:31 Arthur Zamarin
2022-04-04  6:37 Agostino Sarubbo
2022-04-03 22:08 Jakov Smolić
2022-04-03 10:10 Agostino Sarubbo
2022-04-02 14:46 Arthur Zamarin
2022-04-02  8:57 Hans de Graaff
2022-04-02  8:57 Hans de Graaff
2022-01-14  7:29 Hans de Graaff
2021-10-03  6:30 Hans de Graaff
2021-10-02 22:59 Sam James
2021-10-02 19:35 Sam James
2021-09-11 15:59 Sam James
2021-09-05 20:07 Agostino Sarubbo
2021-09-05 20:04 Agostino Sarubbo
2021-09-04 21:39 Sam James
2021-09-03 21:17 Sam James
2021-09-03  6:34 Agostino Sarubbo
2021-09-02  5:34 Hans de Graaff
2021-08-02 21:48 Marek Szuba
2021-07-07 17:38 Hans de Graaff
2021-06-21  5:26 Hans de Graaff
2021-05-23  7:16 Hans de Graaff
2021-03-20  8:47 Hans de Graaff
2021-03-08  7:18 Hans de Graaff
2021-02-21  8:12 Hans de Graaff
2020-12-28  9:46 Hans de Graaff
2020-12-23  5:53 Hans de Graaff
2020-12-23  5:53 Hans de Graaff
2020-11-06  3:21 Sam James
2020-06-03  6:08 Hans de Graaff
2020-04-12 11:55 Hans de Graaff
2020-02-23  6:04 Hans de Graaff
2020-02-02  7:22 Hans de Graaff
2020-01-27 10:54 Mikle Kolyada
2020-01-15  5:44 Hans de Graaff
2020-01-13  8:50 Agostino Sarubbo
2020-01-13  8:25 Sergei Trofimovich
2020-01-12 23:22 Sergei Trofimovich
2020-01-12 22:53 Sergei Trofimovich
2020-01-12 22:42 Sergei Trofimovich
2020-01-12 22:36 Sergei Trofimovich
2020-01-11 14:51 Agostino Sarubbo
2020-01-11  9:19 Hans de Graaff
2019-11-26 19:38 Hans de Graaff
2019-11-13  6:05 Hans de Graaff
2019-09-28 15:43 Pacho Ramos
2019-06-05 17:56 Hans de Graaff
2019-05-22  5:12 Hans de Graaff
2019-05-18  4:57 Hans de Graaff
2019-05-13  1:41 Thomas Deutschmann
2019-05-02 21:27 Mikle Kolyada
2019-04-28 20:16 Mikle Kolyada
2019-04-27 16:25 Sergei Trofimovich
2019-04-26 20:35 Sergei Trofimovich
2019-04-21 17:07 Sergei Trofimovich
2019-04-20 17:46 Mikle Kolyada
2019-04-11 18:29 Hans de Graaff
2019-01-09  8:07 Hans de Graaff
2018-06-09  5:45 Hans de Graaff
2018-03-09  9:27 Hans de Graaff
2018-03-04  6:12 Hans de Graaff
2018-02-23  6:29 Hans de Graaff
2018-02-08  6:25 Hans de Graaff
2017-12-28 20:34 Sergei Trofimovich
2017-12-24  6:52 Hans de Graaff
2017-12-23 11:17 Markus Meier
2017-12-20 22:21 Sergei Trofimovich
2017-10-23 18:42 Thomas Deutschmann
2017-10-17  5:40 Hans de Graaff
2017-10-16 22:27 Sergei Trofimovich
2017-10-13 17:35 Sergei Trofimovich
2017-10-12 19:04 Sergei Trofimovich
2017-10-12 19:04 Sergei Trofimovich
2017-10-07  6:02 Hans de Graaff
2017-10-07  6:02 Hans de Graaff
2017-08-27  6:18 Hans de Graaff
2017-07-22 19:25 Sergei Trofimovich
2017-05-06  6:41 Hans de Graaff
2017-03-07  6:01 Hans de Graaff
2017-01-22  8:32 Hans de Graaff
2017-01-14  6:36 Hans de Graaff
2017-01-14  6:36 Hans de Graaff
2016-12-11  7:26 Hans de Graaff
2016-07-12  4:38 Hans de Graaff
2016-07-12  4:38 Hans de Graaff
2016-07-12  4:38 Hans de Graaff
2016-07-12  4:38 Hans de Graaff
2016-07-12  4:38 Hans de Graaff
2016-07-06  5:33 Hans de Graaff
2016-03-16  5:58 Hans de Graaff
2016-03-16  5:58 Hans de Graaff
2016-03-16  5:58 Hans de Graaff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1591765083.20bde46e3801b13f9fda540bd4f5f1dc6631e8e1.graaff@gentoo \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox