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 4E117158020 for ; Mon, 5 Dec 2022 06:31:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B32EE0809; Mon, 5 Dec 2022 06:31:55 +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 11D03E0809 for ; Mon, 5 Dec 2022 06:31:55 +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 19633340D19 for ; Mon, 5 Dec 2022 06:31:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F9B7773 for ; Mon, 5 Dec 2022 06:31:52 +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: <1670221908.38e30fab93c42491f92e10ab96f3173683cd4394.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/digest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/digest/Manifest dev-ruby/digest/digest-3.1.1.ebuild X-VCS-Directories: dev-ruby/digest/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 38e30fab93c42491f92e10ab96f3173683cd4394 X-VCS-Branch: master Date: Mon, 5 Dec 2022 06:31:52 +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: 3d8be060-accf-4cdf-abb8-abb54c3c79dd X-Archives-Hash: 2cd1a5b17c1820ad1e2096e6eee6b913 commit: 38e30fab93c42491f92e10ab96f3173683cd4394 Author: Hans de Graaff gentoo org> AuthorDate: Mon Dec 5 06:30:23 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon Dec 5 06:31:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=38e30fab dev-ruby/digest: add 3.1.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/digest/Manifest | 1 + dev-ruby/digest/digest-3.1.1.ebuild | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/dev-ruby/digest/Manifest b/dev-ruby/digest/Manifest index 97e9448bfdf4..7831c0f62d10 100644 --- a/dev-ruby/digest/Manifest +++ b/dev-ruby/digest/Manifest @@ -1 +1,2 @@ DIST digest-3.1.0.tar.gz 58646 BLAKE2B 64ea95ccd99c518b046b0193c5e9230f0941182e527328a3568b352924766dc2b2211f52bacefcd6af87d4ec1b9ecc7d7e96ec2b3b3c29d6406e1b8da245f583 SHA512 2a5d58d4b92f5391f55e43405d515ea045f8d0b0b09602ac8dc57e784b42787956904a8c51ffba026d2f0ecc2efff17a1d39c632d59afaf7941b455d8b2dcd39 +DIST digest-3.1.1.tar.gz 59341 BLAKE2B 460ed1567b1e24d56e7be66bec06d4dac4ce86ab21392c192c7455a9d735f84a5450d2482e9844f526985dd83af290f60487c179563f1190b0acf8c6241f1b60 SHA512 7a74654f2240d21d1ffb7d8f4292f9f17c26da7e24c970964ddccc6da7ee2972b834ce0830657f87b28773c84565a172d8a1fa287656929a34a2941f9b28b028 diff --git a/dev-ruby/digest/digest-3.1.1.ebuild b/dev-ruby/digest/digest-3.1.1.ebuild new file mode 100644 index 000000000000..6d88ead03f6a --- /dev/null +++ b/dev-ruby/digest/digest-3.1.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +RUBY_FAKEGEM_BINWRAP="" +RUBY_FAKEGEM_EXTENSIONS=(ext/digest/extconf.rb ext/digest/bubblebabble/extconf.rb ext/digest/md5/extconf.rb ext/digest/rmd160/extconf.rb ext/digest/sha1/extconf.rb ext/digest/sha2/extconf.rb) +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_GEMSPEC="digest.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Provides a framework for message digest libraries" +HOMEPAGE="https://github.com/ruby/digest" +SRC_URI="https://github.com/ruby/digest/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/__dir__/"."/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} -Ilib:ext/digest/lib:.:test:test/lib -rhelper -e 'Dir["test/**/test_*.rb"].each{|f| require f}' || die +}