From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7A70F13829C for ; Sat, 4 Jun 2016 03:51:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B404254024; Sat, 4 Jun 2016 03:50:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A29F8254024 for ; Sat, 4 Jun 2016 03:50:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AD5F8340C80 for ; Sat, 4 Jun 2016 03:50:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 18511CFE for ; Sat, 4 Jun 2016 03:50:56 +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: <1465012248.4db05a023bec92ead6bc5db10d07501e4dc513b4.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.0.ebuild X-VCS-Directories: dev-ruby/rubyzip/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4db05a023bec92ead6bc5db10d07501e4dc513b4 X-VCS-Branch: master Date: Sat, 4 Jun 2016 03:50:56 +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: 95ee7c44-eee1-4721-a341-273fc155ded1 X-Archives-Hash: 45e87a0bb0d8d0733a0e658ecafb0b83 commit: 4db05a023bec92ead6bc5db10d07501e4dc513b4 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 4 03:38:06 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Jun 4 03:50:48 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4db05a02 dev-ruby/rubyzip: add 1.2.0 Package-Manager: portage-2.2.28 dev-ruby/rubyzip/Manifest | 1 + dev-ruby/rubyzip/rubyzip-1.2.0.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index 7aea453..fd87f63 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1,2 +1,3 @@ DIST rubyzip-0.9.9-git.tgz 59030 SHA256 897cce8c2aec4fceff51b05e353b73d7d86567a0efa6bfd6e65274ba53a3da17 SHA512 2b2b035ab0da92ff09e1a916dd703c6b3c0ca423db4a5b4c12fbbdc6018c370532721447e71559382d089172fa4ce3463d9aa148c460a6a0a4ee2ccc9df2cadc WHIRLPOOL a51746c4234ad9f993426da44ae75ad36f40ec3292eac4a0410f3bdef9ee1093542ccee2c893967daccf806666af7121e253dd113e04aaf445f5e8a0c4bc183f DIST rubyzip-1.1.7-git.tgz 100467 SHA256 12f769a0fa804cf93cabdffec31a56c535a5ad5030a5ca53e09c8b99d245dcf7 SHA512 c59c0f9671e6ddfed26555d860bad1fc560a3428b676dd10e3890b0d08aa847b1b3b6d75865ed1d12850da7a4a59f2a26d3e30d517f92803a144487bbc04ace8 WHIRLPOOL 97ae089905b289236c4c532b771c3a3764963d314b3848526247312a8f62912faeaaf8622bf6da7771e86dbffcd98587f6c0f28ed0f1e84e9c76218977dff566 +DIST rubyzip-1.2.0-git.tgz 150545 SHA256 d5277faab3c20bd6ca2a987d5ed57ceb406e3aca1d1b125f6979839b73d55ec0 SHA512 58654cffabe778d4be228a2e9c61152ae39e5db5e41fcd20ad497f8a9f5d636eb35682e684e783ba78666c28c849678d9974a2f34acaff6f73df3e805a358ffc WHIRLPOOL ebc10d7932180bb8bb9f4338dd62c792b1f94fe6f61c19361355b02171a80628bbc5eeac62dedf1a414b5294b42b4a13647fa890a2e78016ef7aae4e1634a4b5 diff --git a/dev-ruby/rubyzip/rubyzip-1.2.0.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.0.ebuild new file mode 100644 index 0000000..ca5ecf7 --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-1.2.0.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +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="~amd64 ~arm ~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 require + sed -i -e '1irequire "forwardable"' test/input_stream_test.rb || die +}