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 4008D138239 for ; Sat, 1 Sep 2018 06:59:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06F3CE07BA; Sat, 1 Sep 2018 06:59:23 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 B8894E07BA for ; Sat, 1 Sep 2018 06:59: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 B227E335C9A for ; Sat, 1 Sep 2018 06:59:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1046B398 for ; Sat, 1 Sep 2018 06:59: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: <1535785153.4cf1187b257e965c8c38772049741d73f0d51aaf.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/rubyzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/rubyzip/Manifest dev-ruby/rubyzip/rubyzip-1.2.2.ebuild X-VCS-Directories: dev-ruby/rubyzip/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4cf1187b257e965c8c38772049741d73f0d51aaf X-VCS-Branch: master Date: Sat, 1 Sep 2018 06:59: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-Archives-Salt: e0c70c7e-9e42-4930-8307-0a02f9627060 X-Archives-Hash: 5ae49298fbc7b0044d5ec7e4538b279c commit: 4cf1187b257e965c8c38772049741d73f0d51aaf Author: Hans de Graaff gentoo org> AuthorDate: Sat Sep 1 06:16:28 2018 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Sep 1 06:59:13 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf1187b dev-ruby/rubyzip: add 1.2.2 Package-Manager: Portage-2.3.40, Repoman-2.3.9 dev-ruby/rubyzip/Manifest | 1 + dev-ruby/rubyzip/rubyzip-1.2.2.ebuild | 47 +++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index f690466f478..991e96c121d 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1 +1,2 @@ DIST rubyzip-1.2.1-git.tgz 151085 BLAKE2B e7053dd3fcb95d6850368c927a0a549a85a8d45c64538e27e21ce824035121e6333a86d65ae84aa1d309aff5f0f335bbfd489871d8d8bae31b3a1c78ed181a14 SHA512 ba71d293120943142608b617d76d72699c64b92a6bf602543a3f42f01c44eea3f0c902bc841a2aaf9cffac4a2ba02a47a847115eca1093587d944c2f4acc9b9e +DIST rubyzip-1.2.2-git.tgz 153976 BLAKE2B 350c05b5dde15bf6450c32b679b474df68b8597e82770e2d5f59bd0c430344a3f2868e8d2d7f59f2240f8fea02bc7ccc31777ceb5ff66041dba5a619e7849b21 SHA512 1af115db39b5107687049cead85732a3cdc6b0c3db69103af20bccf1c684ddc99d5d2f5b178b86600d2d6458f5eb535b7c9dc89ab32c91dba3519bbd3df59e7a diff --git a/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild new file mode 100644 index 00000000000..7a792840be6 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-1.2.2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby23 ruby24 ruby25" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="Changelog.md README.md TODO" + +inherit ruby-fakegem + +DESCRIPTION="A ruby library for reading and writing zip files" +HOMEPAGE="https://github.com/rubyzip/rubyzip" +# Tests are not included in the gem. +SRC_URI="https://github.com/rubyzip/rubyzip/archive/v${PV}.tar.gz -> ${P}-git.tgz" + +LICENSE="Ruby" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="" +DEPEND="${DEPEND} test? ( app-arch/zip )" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_install() { + all_fakegem_install + + docinto examples + dodoc samples/* +} + +all_ruby_prepare() { + # Avoid dependencies on simplecov and coveralls + sed -i -e '/simplecov/ s:^:#:' test/test_helper.rb || die + + # Avoid dependency on bundler + sed -i -e '/bundler/ s:^:#:' Rakefile || die + + # Fix hardcoded path to /tmp + sed -i -e 's:/tmp/:'${T}'/:g' test/entry_test.rb || die + + # Add missing requires + sed -i -e '1irequire "forwardable"; require "pathname"' test/input_stream_test.rb || die +}