diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-03-10 07:53:04 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-03-10 07:53:04 +0100 |
commit | 412ee01cab4a0982aa308eeadcd11df9f45c7cd9 (patch) | |
tree | 5154a58f274fec8fd19b487ce76d1e548863b652 /dev-ruby | |
parent | dev-libs/nss-pem: Fix blocker (diff) | |
download | gentoo-412ee01cab4a0982aa308eeadcd11df9f45c7cd9.tar.gz gentoo-412ee01cab4a0982aa308eeadcd11df9f45c7cd9.tar.bz2 gentoo-412ee01cab4a0982aa308eeadcd11df9f45c7cd9.zip |
dev-ruby/rchardet: initial import of 1.8.0
New dependency for dev-ruby/git.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/rchardet/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/rchardet/metadata.xml | 11 | ||||
-rw-r--r-- | dev-ruby/rchardet/rchardet-1.8.0.ebuild | 28 |
3 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/rchardet/Manifest b/dev-ruby/rchardet/Manifest new file mode 100644 index 000000000000..1dafa1dd6c98 --- /dev/null +++ b/dev-ruby/rchardet/Manifest @@ -0,0 +1 @@ +DIST rchardet-1.8.0.tar.gz 1903004 BLAKE2B d5860bc17f3a9dae9d6194156f1707e833ec0c440992c7b933b2e4eaca6bbc01f9964bcd7eb1dd054ff633124b863a0b797103297d6d2ff75e6d13040aa0813c SHA512 419eac7d4d4fb4a9cbe102199b5767d826f968943da9dfbfd029d03603bede596fb59d9747e590447b6848ae42c733dd0efdea57140e03d92bdcbac317dd0c6f diff --git a/dev-ruby/rchardet/metadata.xml b/dev-ruby/rchardet/metadata.xml new file mode 100644 index 000000000000..939519530547 --- /dev/null +++ b/dev-ruby/rchardet/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://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">jmhodges/rchardet</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-ruby/rchardet/rchardet-1.8.0.ebuild b/dev-ruby/rchardet/rchardet-1.8.0.ebuild new file mode 100644 index 000000000000..519a59d0d6ae --- /dev/null +++ b/dev-ruby/rchardet/rchardet-1.8.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_EXTRADOC="Readme.md" + +RUBY_FAKEGEM_GEMSPEC="rchardet.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Character encoding auto-detection in Ruby" +HOMEPAGE="https://github.com/jmhodges/rchardet" +SRC_URI="https://github.com/jmhodges/rchardet/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="$(ver_cut 1)" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e '/bundler/ s:^:#:' -e '/minitest\/rg/ s:^:#:' test/test_helper.rb || die +} + +each_ruby_test() { + ${RUBY} -Ilib:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die +} |