summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-08-18 19:29:15 +0200
committerHans de Graaff <graaff@gentoo.org>2023-08-18 19:31:00 +0200
commitd3a9c2e6391715a6a182b1c5228c4c6d6b064ed1 (patch)
tree55e25550a33fd8ddc29b8bfa87cb8b3d97a6fc90 /dev-ruby/rgl
parentnet-libs/nodejs: sync live (diff)
downloadgentoo-d3a9c2e6391715a6a182b1c5228c4c6d6b064ed1.tar.gz
gentoo-d3a9c2e6391715a6a182b1c5228c4c6d6b064ed1.tar.bz2
gentoo-d3a9c2e6391715a6a182b1c5228c4c6d6b064ed1.zip
dev-ruby/rgl: new package, add 0.6.6
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/rgl')
-rw-r--r--dev-ruby/rgl/Manifest1
-rw-r--r--dev-ruby/rgl/metadata.xml11
-rw-r--r--dev-ruby/rgl/rgl-0.6.6.ebuild31
3 files changed, 43 insertions, 0 deletions
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>ruby@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
+}