From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6080F138350 for ; Tue, 10 Mar 2020 07:04:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4D8C6E0897; Tue, 10 Mar 2020 07:04:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 273E2E0897 for ; Tue, 10 Mar 2020 07:04:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC6F334F319 for ; Tue, 10 Mar 2020 07:04:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6066E71 for ; Tue, 10 Mar 2020 07:04:28 +0000 (UTC) From: "Hans de Graaff" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Hans de Graaff" Message-ID: <1583823184.412ee01cab4a0982aa308eeadcd11df9f45c7cd9.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rchardet/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rchardet/Manifest dev-ruby/rchardet/metadata.xml dev-ruby/rchardet/rchardet-1.8.0.ebuild X-VCS-Directories: dev-ruby/rchardet/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 412ee01cab4a0982aa308eeadcd11df9f45c7cd9 X-VCS-Branch: master Date: Tue, 10 Mar 2020 07:04:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8baded22-a3fc-4b1a-a1f6-154ce30cfeef X-Archives-Hash: 3e7d172ce8c111614e812b6df18f45d8 commit: 412ee01cab4a0982aa308eeadcd11df9f45c7cd9 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 10 06:53:04 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 10 06:53:04 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=412ee01c 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 gentoo.org> dev-ruby/rchardet/Manifest | 1 + dev-ruby/rchardet/metadata.xml | 11 +++++++++++ dev-ruby/rchardet/rchardet-1.8.0.ebuild | 28 ++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) diff --git a/dev-ruby/rchardet/Manifest b/dev-ruby/rchardet/Manifest new file mode 100644 index 00000000000..1dafa1dd6c9 --- /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 00000000000..93951953054 --- /dev/null +++ b/dev-ruby/rchardet/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + jmhodges/rchardet + + 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 00000000000..519a59d0d6a --- /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 +}