diff options
author | Hans de Graaff <graaff@gentoo.org> | 2022-02-12 09:29:22 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2022-02-13 10:06:07 +0100 |
commit | c9cbb54054a47941addd1d68da2b5a2998b965cb (patch) | |
tree | 773b1b01dd6802b1a41a90a69206e3a679b04bf3 /dev-ruby/timeout | |
parent | dev-ruby/digest: import 3.1.0 (diff) | |
download | gentoo-c9cbb54054a47941addd1d68da2b5a2998b965cb.tar.gz gentoo-c9cbb54054a47941addd1d68da2b5a2998b965cb.tar.bz2 gentoo-c9cbb54054a47941addd1d68da2b5a2998b965cb.zip |
dev-ruby/timeout: import 0.2.0
Extracted from dev-lang/ruby, keywords have been migrated.
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/timeout')
-rw-r--r-- | dev-ruby/timeout/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/timeout/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/timeout/timeout-0.2.0.ebuild | 27 |
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ruby/timeout/Manifest b/dev-ruby/timeout/Manifest new file mode 100644 index 000000000000..88de8a9535b5 --- /dev/null +++ b/dev-ruby/timeout/Manifest @@ -0,0 +1 @@ +DIST timeout-0.2.0.tar.gz 15672 BLAKE2B 2a42efb4475047c947ec1a30637e4ddb8d745651d9d277af9149f952ee88cda335818156d777db283660ac16f338ac53776f6267f040b115078fed9572b4ddc7 SHA512 fe665127e90782602dc4e0f61b8ea39b3c2092a50a0d5f708fcb14bec08443868dd8539417c29166dd925389ef2beed49a67f16bb195cf998104b7121f4c1c4d diff --git a/dev-ruby/timeout/metadata.xml b/dev-ruby/timeout/metadata.xml new file mode 100644 index 000000000000..632f98915b47 --- /dev/null +++ b/dev-ruby/timeout/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">ruby/timeout</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/timeout/timeout-0.2.0.ebuild b/dev-ruby/timeout/timeout-0.2.0.ebuild new file mode 100644 index 000000000000..eb9c7a18c1c5 --- /dev/null +++ b/dev-ruby/timeout/timeout-0.2.0.ebuild @@ -0,0 +1,27 @@ +# 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_BINWRAP="" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="timeout.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a framework for message digest libraries" +HOMEPAGE="https://github.com/ruby/timeout" +SRC_URI="https://github.com/ruby/timeout/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -e 's/__dir__/"."/' \ + -e 's/__FILE__/"'${RUBY_FAKEGEM_GEMSPEC}'"/' \ + -e 's/git ls-files -z/find * -print0/' \ + -i ${RUBY_FAKEGEM_GEMSPEC} || die +} |