summaryrefslogtreecommitdiff
path: root/dev-ruby/async-process
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-03 05:19:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-03 05:19:36 +0100
commit155cc74ccaea367efa88c8acfadcf25cb7dfe89c (patch)
tree7c071f2c978804bd5ad135f096c2c1849d338b6f /dev-ruby/async-process
parentd288197c01703f58dbea0ff4f42b01e7c4c6f327 (diff)
gentoo auto-resync : 03:04:2023 - 05:19:36
Diffstat (limited to 'dev-ruby/async-process')
-rw-r--r--dev-ruby/async-process/Manifest3
-rw-r--r--dev-ruby/async-process/async-process-1.3.1.ebuild37
-rw-r--r--dev-ruby/async-process/metadata.xml11
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-ruby/async-process/Manifest b/dev-ruby/async-process/Manifest
new file mode 100644
index 000000000000..f69f3b84d2c4
--- /dev/null
+++ b/dev-ruby/async-process/Manifest
@@ -0,0 +1,3 @@
+DIST async-process-1.3.1.tar.gz 4138 BLAKE2B 8c3b3109e016e135005dd25db96fb2d38c568ce88410ca8d1c22cfd23ea8f34f926447cb36a75d3a60fa11d8bb08cab6b46e45d88b8a42f2585e7ab0c6179c81 SHA512 13f6ded2f9001c8759350b6ade002703f3ba58dcc2960055c5e52c7e44c22af9c59c69713c55cb7e7244a7f09e3557a75f41161a7aafd5f6c279f4bdbb698e3c
+EBUILD async-process-1.3.1.ebuild 948 BLAKE2B 3a7d171c9c2479b39c7a47757b041d7d87b309e7f8566bf09dfd2a561a7cc6702d9f3ac2c7f0db80791edc9ff04d3c1114da8758a7469f2fea84a016a23ebc0c SHA512 e544e8f4c184670a53dd4871304deef92d4777bba095c908fdf69d57aaf23a6331b30948409ba93db1f0f9ae41e24c06fd0ec109efb649de1501f7fd5d47fab0
+MISC metadata.xml 349 BLAKE2B b0fa4bde86b2d91060eee33d6b4cf5d761dc4c664c855829bbb039d65a6b7aa8ba13dae8b6f5a93ba3d0a4593c74f22a347a9be6809ea4f46f7a309d7489389c SHA512 ec9e374a9b91baaf96eb669a71930942300896b87f26dff7884cba32fb5f502c8e7ab72a6b363623416be8307d533418b46d33a79bc671c358a666224039532f
diff --git a/dev-ruby/async-process/async-process-1.3.1.ebuild b/dev-ruby/async-process/async-process-1.3.1.ebuild
new file mode 100644
index 000000000000..7d7f639f6b3e
--- /dev/null
+++ b/dev-ruby/async-process/async-process-1.3.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2022-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_EXTRADOC="README.md"
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Abstract container-based parallelism using threads and processes"
+HOMEPAGE="https://github.com/socketry/async-process"
+SRC_URI="https://github.com/socketry/async-process/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc"
+IUSE=""
+
+ruby_add_rdepend "dev-ruby/async
+ dev-ruby/async-io"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/async-rspec-1.1:1
+)"
+
+all_ruby_prepare() {
+ sed -i -E 's/require_relative "(.+)"/require File.expand_path("\1")/g' "${RUBY_FAKEGEM_GEMSPEC}" || die
+
+ rm gems.rb || die
+
+ # Avoid test dependency on unpackaged covered
+ sed -i -e '/covered/ s:^:#:' spec/spec_helper.rb || die
+}
diff --git a/dev-ruby/async-process/metadata.xml b/dev-ruby/async-process/metadata.xml
new file mode 100644
index 000000000000..2944dc126e0b
--- /dev/null
+++ b/dev-ruby/async-process/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ruby@gentoo.org</email>
+ <name>Gentoo Ruby Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">socketry/async-process</remote-id>
+ </upstream>
+</pkgmetadata>