diff options
Diffstat (limited to 'dev-ruby/ruby-mp3info')
| -rw-r--r-- | dev-ruby/ruby-mp3info/Manifest | 1 | ||||
| -rw-r--r-- | dev-ruby/ruby-mp3info/metadata.xml | 11 | ||||
| -rw-r--r-- | dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild | 34 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-ruby/ruby-mp3info/Manifest b/dev-ruby/ruby-mp3info/Manifest new file mode 100644 index 000000000000..bdb3da54e1ab --- /dev/null +++ b/dev-ruby/ruby-mp3info/Manifest @@ -0,0 +1 @@ +DIST ruby-mp3info-0.8.10-git.tgz 89178 BLAKE2B fb9a046890851f3325a80bd47f6adc6c0bd7af74955b277a1a38d3727599e2fa0686b662419e1a8265a23aa7d4d102bbd26b97d5f2fa28e1d84df52484a46c0f SHA512 778d7cf80783385c2889a42eaf821a8544e1fa26d7bed743c52852c137ac5cff84483f638ffb931edd6df528c613ea5ac62ea2e4f0ee8ccc31d77846297e3291 diff --git a/dev-ruby/ruby-mp3info/metadata.xml b/dev-ruby/ruby-mp3info/metadata.xml new file mode 100644 index 000000000000..c0fa694e014a --- /dev/null +++ b/dev-ruby/ruby-mp3info/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">moumar/ruby-mp3info</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild new file mode 100644 index 000000000000..496108381eb0 --- /dev/null +++ b/dev-ruby/ruby-mp3info/ruby-mp3info-0.8.10-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_RUBY="ruby32 ruby33 ruby34 ruby40" + +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" +RUBY_FAKEGEM_GEMSPEC="ruby-mp3info.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="A pure Ruby library for access to mp3 files (internal infos and tags)" +HOMEPAGE="https://github.com/moumar/ruby-mp3info" +SRC_URI="https://github.com/moumar/${PN}/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="test" + +DEPEND+=" test? ( media-sound/id3v2 )" + +ruby_add_bdepend "test? ( dev-ruby/test-unit:2 )" + +all_ruby_prepare() { + sed -i -e "s:/tmp/test.mp3:${T}/test.mp3:" test/test_ruby-mp3info.rb || die + sed -i -e 's/MiniTest/Minitest/' test/helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/test_ruby-mp3info.rb || die +} |
