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 B052E13835B for ; Sat, 11 Jul 2020 05:15:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CC8E1E07F2; Sat, 11 Jul 2020 05:15:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 B2FB5E0814 for ; Sat, 11 Jul 2020 05:15:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 BCBE134F75E for ; Sat, 11 Jul 2020 05:15:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD1782D6 for ; Sat, 11 Jul 2020 05:15:19 +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: <1594444514.ab40012c6f7cbd655dcae89dd758581b86854505.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/uuidtools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/uuidtools/Manifest dev-ruby/uuidtools/uuidtools-2.2.0.ebuild X-VCS-Directories: dev-ruby/uuidtools/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: ab40012c6f7cbd655dcae89dd758581b86854505 X-VCS-Branch: master Date: Sat, 11 Jul 2020 05:15:19 +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: 4cff94e8-207e-46c8-8794-d7e06cb09a6e X-Archives-Hash: 1a81a270ef185d0381afc967960da352 commit: ab40012c6f7cbd655dcae89dd758581b86854505 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jul 11 05:09:28 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jul 11 05:15:14 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab40012c dev-ruby/uuidtools: add 2.2.0 Package-Manager: Portage-2.3.99, Repoman-2.3.23 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/uuidtools/Manifest | 1 + dev-ruby/uuidtools/uuidtools-2.2.0.ebuild | 35 +++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-ruby/uuidtools/Manifest b/dev-ruby/uuidtools/Manifest index 64285f0efa5..c3fcb8f666c 100644 --- a/dev-ruby/uuidtools/Manifest +++ b/dev-ruby/uuidtools/Manifest @@ -1 +1,2 @@ DIST uuidtools-2.1.5.gem 25600 BLAKE2B 8219d559d92d86e7a87b97d4eda9454b6c203f89beb4a74ff619f51470d339c4063b1982ffb6f8acd5b9c206ac7d0dc537e968b1744a030a4f6cd629a358fc7a SHA512 c56e6329e48638bd5049d348beedec7fadb9ee7a133a5013ddd41ae98baa8213d8944903059729c9ca4f38b24d9b565b5653332685982337a4233f11d4865ac0 +DIST uuidtools-2.2.0.gem 27136 BLAKE2B 1760c3fcb193901a552b8d32acddd67a0737b95a79bde47854c11a3a6378b008b0e17339ac2e95157329314f35612adc9355068eaef90f93f4d1976fdd430182 SHA512 17f15e8816fd17d31e1296522d9c68b8da71211556c3284770197b06a6fe01f9038c1e6c6e5e8272b4290cfb23b48914a27717c4705fba17e5d9848257664360 diff --git a/dev-ruby/uuidtools/uuidtools-2.2.0.ebuild b/dev-ruby/uuidtools/uuidtools-2.2.0.ebuild new file mode 100644 index 00000000000..c6ce5fcee73 --- /dev/null +++ b/dev-ruby/uuidtools/uuidtools-2.2.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +USE_RUBY="ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_TASK_DOC="-f tasks/yard.rake doc" +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG README.md" + +inherit ruby-fakegem + +DESCRIPTION="Simple library to generate UUIDs" +HOMEPAGE="https://github.com/sporkmonger/uuidtools" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-macos" +IUSE="doc" + +ruby_add_bdepend "doc? ( dev-ruby/yard )" + +all_ruby_prepare() { + # Avoid specs that require an actual network interface to get a MAC + # address. We can't assume that a network interface is available. + sed -e '/when obtaining a MAC address/,/^end/ s:^:#:' \ + -i spec/uuidtools/mac_address_spec.rb || die + sed -e '/should correctly generate timestamp variant UUIDs/,/^ end/ s:^:#:' \ + -i spec/uuidtools/uuid_creation_spec.rb || die + sed -e '/should not treat a timestamp version UUID as a random node UUID/,/^ end/ s:^:#:' \ + -i spec/uuidtools/uuid_parsing_spec.rb || die +}