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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B17D15802E for ; Sat, 29 Jun 2024 05:16:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 04A852BC06A; Sat, 29 Jun 2024 05:16:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D9FC02BC06A for ; Sat, 29 Jun 2024 05:16:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F969335D2B for ; Sat, 29 Jun 2024 05:16:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8F4C81BC0 for ; Sat, 29 Jun 2024 05:16:42 +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: <1719636499.4290b1a1c6b192b9958372cc3142eb22d472fb9a.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/charlock_holmes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/charlock_holmes/Manifest dev-ruby/charlock_holmes/charlock_holmes-0.7.8.ebuild X-VCS-Directories: dev-ruby/charlock_holmes/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4290b1a1c6b192b9958372cc3142eb22d472fb9a X-VCS-Branch: master Date: Sat, 29 Jun 2024 05:16:42 +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: de309194-5663-4d04-9e9a-b8ed974bdad4 X-Archives-Hash: b96d24f6ec115e23cd3405ab07aa830a commit: 4290b1a1c6b192b9958372cc3142eb22d472fb9a Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 29 04:48:19 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jun 29 04:48:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4290b1a1 dev-ruby/charlock_holmes: add 0.7.8 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/charlock_holmes/Manifest | 1 + .../charlock_holmes/charlock_holmes-0.7.8.ebuild | 42 ++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ruby/charlock_holmes/Manifest b/dev-ruby/charlock_holmes/Manifest index f82b909f76e1..09c02b48f995 100644 --- a/dev-ruby/charlock_holmes/Manifest +++ b/dev-ruby/charlock_holmes/Manifest @@ -1 +1,2 @@ DIST charlock_holmes-0.7.7.tar.gz 1192739 BLAKE2B f057a0b53f8624f12029679c96be754e9225bdeaab4db8077ab8b48c1e04883ea6a9a3019cc0c5d875179b287ef0d70aae591201d8c22c2a6e4a5b4d6c592294 SHA512 5950db982fbbcf41c6c8f893b2d5e1d755ec85e55bd6ce9072507c06925251edb3198840fdf346e8b74f06f4dc1d63bf94657ce582b78947751d20980f71aa8e +DIST charlock_holmes-0.7.8.tar.gz 1192654 BLAKE2B 39437267f8f3bbba915438d5bd25c01b4bd9628191a7d923d85797cfbd541f7cc85727aa07d184f7bb13df50e7822ed5e93deb68113b530785cc48bd0f3e38c0 SHA512 7ae37108078ea220e5d941f423e9cce30b89d93f71b8f625917a04c191d0b0ae0718e57182e6e0fdf5edacb1d2138c785a61e8431fb8462e7bdae10f3870d587 diff --git a/dev-ruby/charlock_holmes/charlock_holmes-0.7.8.ebuild b/dev-ruby/charlock_holmes/charlock_holmes-0.7.8.ebuild new file mode 100644 index 000000000000..6e21d1af80a4 --- /dev/null +++ b/dev-ruby/charlock_holmes/charlock_holmes-0.7.8.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_EXTENSIONS=(ext/charlock_holmes/extconf.rb) +RUBY_FAKEGEM_EXTENSION_LIBDIR="lib/charlock_holmes" + +RUBY_FAKEGEM_GEMSPEC="charlock_holmes.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Character encoding detecting library for Ruby using ICU" +HOMEPAGE="https://github.com/brianmario/charlock_holmes" +SRC_URI="https://github.com/brianmario/charlock_holmes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_bdepend "test? ( + dev-ruby/minitest )" + +CDEPEND="dev-libs/icu:= + sys-libs/zlib" +DEPEND+=" ${CDEPEND}" +RDEPEND+=" ${CDEPEND}" + +all_ruby_prepare() { + sed -i -e '/bundler/d' test/helper.rb || die + + # Avoid dependency on rake-compiler + sed -i -e '/rake-compiler/,$ s:^:#:' Rakefile || die +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +}