[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: e209edf0bca0c98c74014e00d4469fb277388c71 Author: Hans de Graaff gentoo org> AuthorDate: Mon Feb 26 07:04:11 2024 + Commit: Hans de Graaff gentoo org> CommitDate: Mon Feb 26 07:04:11 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e209edf0 dev-ruby/llhttp-ffi: enable ruby33 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild index 34ca774397fe..6f5c38a6d836 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.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="ruby27 ruby30 ruby31 ruby32" +USE_RUBY="ruby31 ruby32 ruby33" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 4e28918b74a66f5cee34e5eeddc25f5633fa21dc Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 15 19:41:07 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Aug 16 06:14:49 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e28918b dev-ruby/llhttp-ffi: update upstream metadata Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/llhttp-ffi/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/metadata.xml b/dev-ruby/llhttp-ffi/metadata.xml index 0b975f88294a..3e85ab08b379 100644 --- a/dev-ruby/llhttp-ffi/metadata.xml +++ b/dev-ruby/llhttp-ffi/metadata.xml @@ -6,6 +6,6 @@ Gentoo Ruby Project -metabahn/llhttp +bryanp/llhttp
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: e13ea99f083d4f6bd13125649c4702e12baf5266 Author: Hans de Graaff gentoo org> AuthorDate: Tue Aug 15 19:40:25 2023 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Aug 16 06:14:48 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e13ea99f dev-ruby/llhttp-ffi: update HOMEPAGE, SRC_URI, fix tests Closes: https://bugs.gentoo.org/912278 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild index b8c72d2e5cd4..34ca774397fe 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild @@ -11,10 +11,10 @@ inherit ruby-fakegem MY_PV="2023-03-29" DESCRIPTION="Ruby FFI bindings for llhttp" -HOMEPAGE="https://github.com/metabahn/llhttp; +HOMEPAGE="https://github.com/bryanp/llhttp; # Use -> ${MY_PV} in SRC_URI here to help spot forgotten MY_PV updates # (pkgcheck will warn on matching checksums) -SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> llhttp-${MY_PV}.tar.gz" +SRC_URI="https://github.com/bryanp/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> llhttp-${MY_PV}.tar.gz" LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" @@ -29,6 +29,8 @@ ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" +DEPEND+=" test? ( net-misc/curl )" + PATCHES=( "${FILESDIR}"/${PN}-0.5.0-fix-rake-clean.patch )
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: f0370a076659db1baad84355da8f89022dcbc3a4 Author: Sam James gentoo org> AuthorDate: Sun Apr 9 02:43:01 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 9 03:00:06 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0370a07 dev-ruby/llhttp-ffi: enable ruby32 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 79a7bb5231b7..661a110f4fd1 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -USE_RUBY="ruby26 ruby27 ruby30 ruby31" +USE_RUBY="ruby27 ruby30 ruby31 ruby32" RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 7992fb0bb47f167adf03b106531f8417126a997d Author: Sam James gentoo org> AuthorDate: Sun Apr 9 02:32:29 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 9 02:32:29 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7992fb0b dev-ruby/llhttp-ffi: Keyword 0.5.0 hppa, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild index d8fa4fa3f6be..b8c72d2e5cd4 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild @@ -18,7 +18,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: c56978ff121fad13ad741076b6f1245ebe5215e0 Author: Sam James gentoo org> AuthorDate: Sun Apr 9 02:32:28 2023 + Commit: Sam James gentoo org> CommitDate: Sun Apr 9 02:32:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c56978ff dev-ruby/llhttp-ffi: Keyword 0.4.0 hppa, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 634c3b609568..79a7bb5231b7 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/files/, dev-ruby/llhttp-ffi/
commit: dfa888cb3ce344c9159576338fff77aa90894c9d Author: Sam James gentoo org> AuthorDate: Sat Apr 8 23:13:44 2023 + Commit: Sam James gentoo org> CommitDate: Sat Apr 8 23:19:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfa888cb dev-ruby/llhttp-ffi: add 0.5.0 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/Manifest | 1 + .../files/llhttp-ffi-0.5.0-fix-rake-clean.patch| 18 dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild| 49 ++ 3 files changed, 68 insertions(+) diff --git a/dev-ruby/llhttp-ffi/Manifest b/dev-ruby/llhttp-ffi/Manifest index edd8ef0da00a..d0446b884529 100644 --- a/dev-ruby/llhttp-ffi/Manifest +++ b/dev-ruby/llhttp-ffi/Manifest @@ -1 +1,2 @@ DIST llhttp-0.4.0.tar.gz 98406 BLAKE2B 9f7358d988ed00558a36ae80e3c7d38cabb41a2233f32f4e3e6e9ed49a205f85ed84cb76cb07984f3b73b0a67eade4844ed5f4ee98b2453fa5c25d36fcb0082c SHA512 56a491763500b1619492173a83a227e3228847f4b85b8dadab1a9de34d65d5c662615c18d6cc6d5e11226df83381fd7f79f67e12f89f0e437ada8f9fd083ec26 +DIST llhttp-2023-03-29.tar.gz 114103 BLAKE2B 7af75703a748518c2c4b8840ac08089d3c3e79f9652278bd41e591f09b9091f5fa8195c530992e51811f065004adbc533b92d49097e9f05a2aa98b44b47da9ac SHA512 058bf8a8bd7de6bf29794bc60bd9811d769acc9488cfc535d619ee24a79ba37edf3bcbdbffd40d747576024e7aca3c99cb71d9db1aa5af00991d7672c5f4bb70 diff --git a/dev-ruby/llhttp-ffi/files/llhttp-ffi-0.5.0-fix-rake-clean.patch b/dev-ruby/llhttp-ffi/files/llhttp-ffi-0.5.0-fix-rake-clean.patch new file mode 100644 index ..23d85a4a3bbe --- /dev/null +++ b/dev-ruby/llhttp-ffi/files/llhttp-ffi-0.5.0-fix-rake-clean.patch @@ -0,0 +1,18 @@ +https://github.com/bryanp/llhttp/commit/89551cd7fa539d7073e62ba8f6ba1dd70e73c36a + +From 89551cd7fa539d7073e62ba8f6ba1dd70e73c36a Mon Sep 17 00:00:00 2001 +From: Bryan Powell +Date: Wed, 29 Mar 2023 07:27:08 -0700 +Subject: [PATCH] Fix ffi clean + +--- a/Rakefile b/Rakefile +@@ -16,6 +16,8 @@ task :clean do + [ + "./lib/llhttp/llhttp_ext.bundle" + ].each do |file| ++next unless File.exist?(file) ++ + FileUtils.rm(file) + end + end diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild new file mode 100644 index ..d8fa4fa3f6be --- /dev/null +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.5.0.ebuild @@ -0,0 +1,49 @@ +# 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="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +MY_PV="2023-03-29" +DESCRIPTION="Ruby FFI bindings for llhttp" +HOMEPAGE="https://github.com/metabahn/llhttp; +# Use -> ${MY_PV} in SRC_URI here to help spot forgotten MY_PV updates +# (pkgcheck will warn on matching checksums) +SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> llhttp-${MY_PV}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" +RUBY_S="llhttp-${MY_PV}/ffi" + +ruby_add_rdepend "=dev-ruby/ffi-compiler-1*" + +ruby_add_bdepend "test? ( + dev-ruby/async-io + dev-ruby/rspec:3 +)" + +PATCHES=( + "${FILESDIR}"/${PN}-0.5.0-fix-rake-clean.patch +) + +all_ruby_prepare() { + sed -i -e 's/gem "rake-compiler"//g' "Gemfile" || die +} + +each_ruby_compile() { + cd ext && "${RUBY}" -S rake || die + local FFI_PLATFORM_NAME="$(${RUBY} --disable=did_you_mean -e "require 'ffi' ; p \"#{FFI::Platform::ARCH}-#{FFI::Platform::OS}\"" | tr -d "\"")" + install -D "${FFI_PLATFORM_NAME}/libllhttp-ext.so" "../lib/${FFI_PLATFORM_NAME}/libllhttp-ext.so" || die +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_extensions_installed +}
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 247d7a3d079139d72a004a0b1a64350a2ebc4853 Author: Matoro Mahri users noreply github com> AuthorDate: Mon Mar 20 14:45:03 2023 + Commit: Sam James gentoo org> CommitDate: Wed Mar 22 01:18:28 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247d7a3d dev-ruby/llhttp-ffi: add explicit rspec test dep Needs to be a test dep, but should NOT have RUBY_FAKEGEM_RECIPE_TEST set as it needs to be called via rake. Closes: https://bugs.gentoo.org/878053 Signed-off-by: Matoro Mahri users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/30261 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 2f1dcb8c942b..634c3b609568 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,10 @@ RUBY_S="llhttp-${MY_PV}/ffi" ruby_add_rdepend "=dev-ruby/ffi-compiler-1*" -ruby_add_bdepend "test? ( dev-ruby/async-io )" +ruby_add_bdepend "test? ( + dev-ruby/async-io + dev-ruby/rspec:3 +)" all_ruby_prepare() { sed -i -e 's/gem "rake-compiler"//g' "Gemfile" || die
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 25a3e64633ac0264baed870bceaa208c6730e2e5 Author: Arthur Zamarin gentoo org> AuthorDate: Mon Dec 5 20:03:16 2022 + Commit: Arthur Zamarin gentoo org> CommitDate: Mon Dec 5 20:03:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a3e646 dev-ruby/llhttp-ffi: Keyword 0.4.0 x86, #761550 Signed-off-by: Arthur Zamarin gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 2dfc17ab09c9..2f1dcb8c942b 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 826877ea536500be066b4e0f7ebe5321170e960b Author: Sam James gentoo org> AuthorDate: Thu Dec 1 04:02:52 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 1 04:02:52 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=826877ea dev-ruby/llhttp-ffi: Keyword 0.4.0 ppc64, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 765ca153ba4c..2dfc17ab09c9 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 911536875b611124377869fcce3535379fda 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=91153687 dev-ruby/llhttp-ffi: Keyword 0.4.0 ppc, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 3f7fce0af9b4..765ca153ba4c 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm ~arm64 ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: a653fd92858b37635ef781bba3901cbdc52bf372 Author: Sam James gentoo org> AuthorDate: Thu Dec 1 04:02:37 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 1 04:02:37 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a653fd92 dev-ruby/llhttp-ffi: Keyword 0.4.0 arm, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index 55075c0ca66f..3f7fce0af9b4 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~arm64 ~sparc" +KEYWORDS="~amd64 ~arm ~arm64 ~sparc" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 48a120f9f87af08e040b72039ff20a7c1aadf3d7 Author: Sam James gentoo org> AuthorDate: Thu Dec 1 02:04:40 2022 + Commit: Sam James gentoo org> CommitDate: Thu Dec 1 02:04:40 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48a120f9 dev-ruby/llhttp-ffi: Keyword 0.4.0 arm64, #761550 Signed-off-by: Sam James gentoo.org> dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild index b22be2e05156..55075c0ca66f 100644 --- a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> LICENSE="MPL-2.0" SLOT="$(ver_cut 1)/$(ver_cut 1-2)" -KEYWORDS="~amd64 ~sparc" +KEYWORDS="~amd64 ~arm64 ~sparc" IUSE="" RUBY_S="llhttp-${MY_PV}/ffi"
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/llhttp-ffi/
commit: 66828c0c6776b8d12e59cb62eebf3515a4912df7 Author: matoro users noreply github com> AuthorDate: Wed Jun 15 04:31:52 2022 + Commit: Matt Turner gentoo org> CommitDate: Sat Oct 22 21:33:10 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66828c0c dev-ruby/llhttp-ffi: new package, add 0.4.0 Signed-off-by: matoro users.noreply.github.com> Signed-off-by: Matt Turner gentoo.org> dev-ruby/llhttp-ffi/Manifest| 1 + dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild | 40 + dev-ruby/llhttp-ffi/metadata.xml| 11 3 files changed, 52 insertions(+) diff --git a/dev-ruby/llhttp-ffi/Manifest b/dev-ruby/llhttp-ffi/Manifest new file mode 100644 index ..edd8ef0da00a --- /dev/null +++ b/dev-ruby/llhttp-ffi/Manifest @@ -0,0 +1 @@ +DIST llhttp-0.4.0.tar.gz 98406 BLAKE2B 9f7358d988ed00558a36ae80e3c7d38cabb41a2233f32f4e3e6e9ed49a205f85ed84cb76cb07984f3b73b0a67eade4844ed5f4ee98b2453fa5c25d36fcb0082c SHA512 56a491763500b1619492173a83a227e3228847f4b85b8dadab1a9de34d65d5c662615c18d6cc6d5e11226df83381fd7f79f67e12f89f0e437ada8f9fd083ec26 diff --git a/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild new file mode 100644 index ..b22be2e05156 --- /dev/null +++ b/dev-ruby/llhttp-ffi/llhttp-ffi-0.4.0.ebuild @@ -0,0 +1,40 @@ +# 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="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Ruby FFI bindings for llhttp" +HOMEPAGE="https://github.com/metabahn/llhttp; +MY_PV="2021-09-09" +SRC_URI="https://github.com/metabahn/llhttp/archive/refs/tags/${MY_PV}.tar.gz -> llhttp-${PV}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="$(ver_cut 1)/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~sparc" +IUSE="" +RUBY_S="llhttp-${MY_PV}/ffi" + +ruby_add_rdepend "=dev-ruby/ffi-compiler-1*" + +ruby_add_bdepend "test? ( dev-ruby/async-io )" + +all_ruby_prepare() { + sed -i -e 's/gem "rake-compiler"//g' "Gemfile" || die +} + +each_ruby_compile() { + cd ext && "${RUBY}" -S rake || die + local FFI_PLATFORM_NAME="$(${RUBY} --disable=did_you_mean -e "require 'ffi' ; p \"#{FFI::Platform::ARCH}-#{FFI::Platform::OS}\"" | tr -d "\"")" + install -D "${FFI_PLATFORM_NAME}/libllhttp-ext.so" "../lib/${FFI_PLATFORM_NAME}/libllhttp-ext.so" || die +} + +each_ruby_install() { + each_fakegem_install + ruby_fakegem_extensions_installed +} diff --git a/dev-ruby/llhttp-ffi/metadata.xml b/dev-ruby/llhttp-ffi/metadata.xml new file mode 100644 index ..0b975f88294a --- /dev/null +++ b/dev-ruby/llhttp-ffi/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + +r...@gentoo.org +Gentoo Ruby Project + + +metabahn/llhttp + +