commit: d3a9c2e6391715a6a182b1c5228c4c6d6b064ed1 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Fri Aug 18 17:29:15 2023 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Fri Aug 18 17:31:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3a9c2e6
dev-ruby/rgl: new package, add 0.6.6 Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/rgl/Manifest | 1 + dev-ruby/rgl/metadata.xml | 11 +++++++++++ dev-ruby/rgl/rgl-0.6.6.ebuild | 31 +++++++++++++++++++++++++++++++ 3 files changed, 43 insertions(+) diff --git a/dev-ruby/rgl/Manifest b/dev-ruby/rgl/Manifest new file mode 100644 index 000000000000..0c5fad92c402 --- /dev/null +++ b/dev-ruby/rgl/Manifest @@ -0,0 +1 @@ +DIST rgl-0.6.6.tar.gz 256889 BLAKE2B 9859541abb49f241d5aa9ed5b16c200abda810b3ac93fb610f000bf023c35a3bbe15dc3e42dc3d070a041ca6f5fbd0c36ef180031667d3bae2c5cb770a9072fc SHA512 71f058b05856e49ea4e13f6cffc356ca730a6a9d3ecb551dba4afa5420491d91770b87a7e37847a4bf2335c6f33fdc38c623c9de5480a51753abf162c741544c diff --git a/dev-ruby/rgl/metadata.xml b/dev-ruby/rgl/metadata.xml new file mode 100644 index 000000000000..4f9fdab3efd2 --- /dev/null +++ b/dev-ruby/rgl/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>r...@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">monora/rgl</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rgl/rgl-0.6.6.ebuild b/dev-ruby/rgl/rgl-0.6.6.ebuild new file mode 100644 index 000000000000..e8b8d78eb267 --- /dev/null +++ b/dev-ruby/rgl/rgl-0.6.6.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby30 ruby31 ruby32" + +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_GEMSPEC="rgl.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="RGL is a framework for graph data structures and algorithms" +HOMEPAGE="https://github.com/monora/rgl" +SRC_URI="https://github.com/monora/rgl/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + dev-ruby/pairing_heap:0 + >=dev-ruby/rexml-3.2.4:3 + >=dev-ruby/stream-0.5.3 =dev-ruby/stream-0.5* +" + +ruby_add_bdepend "dev-ruby/yard test? ( dev-ruby/test-unit )" + +all_ruby_prepare() { + sed -i -e '/bundler/I s:^:#:' Rakefile || die +}