diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 21:36:58 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-08-18 21:36:58 +0100 |
commit | ea4d97bae88695501ff5f5c646a57e2e0488e423 (patch) | |
tree | afc4100ae641b360049e5bc3a2e1cc4c408641bb /dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild | |
parent | a2f7cdda45fadf1f967379421e8d808b1a503cd3 (diff) |
gentoo auto-resync : 18:08:2023 - 21:36:58
Diffstat (limited to 'dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild')
-rw-r--r-- | dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild b/dev-ruby/pairing_heap/pairing_heap-3.0.1.ebuild new file mode 100644 index 000000000000..81b8a228b8ab --- /dev/null +++ b/dev-ruby/pairing_heap/pairing_heap-3.0.1.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_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 +} |