mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-ruby/pairing_heap: new package, add 3.0.1
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
This commit is contained in:
1
dev-ruby/pairing_heap/Manifest
Normal file
1
dev-ruby/pairing_heap/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST pairing_heap-3.0.1.tar.gz 16965 BLAKE2B 80200dd98676c8ee9258ef96d296a4169b56d104875368bb8401b0f7d53494e3bbff8cfc5a536bdb24d844893ebe6962af709614b399c8c56980ee578ec2740b SHA512 0d22ccd42275aec54ff6960094c7ef14ad487835ba23217882a649c66585fc6c21af8a2f27f7a0a410fba6daf157ffdae6b74f1fdd798903ac597851945dee41
|
||||
14
dev-ruby/pairing_heap/metadata.xml
Normal file
14
dev-ruby/pairing_heap/metadata.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?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>
|
||||
<longdescription>
|
||||
Performant priority queue in pure ruby with support for changing priority using pairing heap data structure
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">mhib/pairing_heap</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
31
dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild
Normal file
31
dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild
Normal file
@@ -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_BINWRAP=""
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="pairing_heap.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="Performant priority queue with support for changing priority"
|
||||
HOMEPAGE="https://github.com/mhib/pairing_heap"
|
||||
SRC_URI="https://github.com/mhib/pairing_heap/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
ruby_add_bdepend "test? ( dev-ruby/minitest )"
|
||||
|
||||
all_ruby_prepare() {
|
||||
sed -i -e '/require.*\(bundler\|standard\)/ s:^:#:' Rakefile || die
|
||||
|
||||
sed -e 's:_relative ": "./:' \
|
||||
-e 's/__dir__/"."/' \
|
||||
-e 's/git ls-files -z/find * -print0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
}
|
||||
Reference in New Issue
Block a user