mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
dev-ruby/bicho: new package, add 0.0.18
Commit c1d0be49d291cde4145e8f8a0fbfc32049161dee from graaff.git. Dependency for glsa-overview. Co-authored-by: Hans de Graaff <graaff@gentoo.org> Signed-off-by: Christopher Fore <csfore@gentoo.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/484 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
637abdbec7
commit
6d500f7128
@@ -0,0 +1 @@
|
||||
DIST bicho-0.0.18.tar.gz 81846 BLAKE2B 5d932c137f1c04b5b0a8d564cc5b619b449b8a145fb3086b3d7fbf283cdaee3ee8e5d0b3be9f437255764c0cd1f4fb4fec4367bb53bb2d954142ffaf7803495d SHA512 23e159ec635f355f7f0537ea6095a01e1aad99fe0ceb3f6088069e305ad23133fa8c57855f9100e9dba22cc38372cc17d0d803872b3d847029afb3fcf9b9d148
|
||||
@@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
USE_RUBY="ruby32 ruby33 ruby34"
|
||||
|
||||
RUBY_FAKEGEM_EXTRADOC="README.md"
|
||||
RUBY_FAKEGEM_GEMSPEC="bicho.gemspec"
|
||||
|
||||
inherit ruby-fakegem
|
||||
|
||||
DESCRIPTION="ruby Bugzilla access library"
|
||||
HOMEPAGE="https://github.com/dmacvicar/bicho"
|
||||
SRC_URI="https://github.com/dmacvicar/bicho/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="$(ver_cut 1-2)"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
ruby_add_rdepend "
|
||||
dev-ruby/highline:3
|
||||
dev-ruby/inifile:3
|
||||
>=dev-ruby/nokogiri-1.10.4:0
|
||||
dev-ruby/optimist:3
|
||||
>=dev-ruby/xmlrpc-0.3.0 =dev-ruby/xmlrpc-0.3*
|
||||
"
|
||||
|
||||
ruby_add_bdepend "test? (
|
||||
dev-ruby/minitest
|
||||
dev-ruby/vcr
|
||||
dev-ruby/webmock
|
||||
)"
|
||||
|
||||
all_ruby_prepare() {
|
||||
# Fix dependencies to adhere to semver
|
||||
sed -e '/nokogiri/ s/1.10.4/1.10/' \
|
||||
-e '/highline/ s/2.0.0/2.0/' \
|
||||
-e '/highline/ s/~>/>=/' \
|
||||
-e '/optimist/ s/3.0.0/3.0/' \
|
||||
-i ${RUBY_FAKEGEM_GEMSPEC} || die
|
||||
|
||||
# Avoid unneeded development dependencies
|
||||
sed -i -e '/bundler/ s:^:#:' Rakefile test/helper.rb || die
|
||||
sed -i -e '/reporters/ s:^:#: ; /Reporters/,/^)/ s:^:#:' test/helper.rb || die
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
<?xml version = '1.0' encoding = 'UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>csfore@gentoo.org</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>ruby@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">dmacvicar/bicho</remote-id>
|
||||
<remote-id type="rubygems">bicho</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user