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 58CED139694 for ; Thu, 9 Feb 2017 06:03:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A446E0CAE; Thu, 9 Feb 2017 06:03:12 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1763E0C7A for ; Thu, 9 Feb 2017 06:03:11 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 689A8340EF6 for ; Thu, 9 Feb 2017 06:03:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C74F23E16 for ; Thu, 9 Feb 2017 06:03:08 +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: <1486618582.0e55a3a14753c452d884bd0dcfab06aa59a02288.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.1.ebuild X-VCS-Directories: dev-ruby/rubyzip/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 0e55a3a14753c452d884bd0dcfab06aa59a02288 X-VCS-Branch: master Date: Thu, 9 Feb 2017 06:03:08 +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: 4827f88e-631f-47d8-85bb-a6f46315c114 X-Archives-Hash: 46dcfd2018afc925c16c6fe759e95734 commit: 0e55a3a14753c452d884bd0dcfab06aa59a02288 Author: Hans de Graaff gentoo org> AuthorDate: Thu Feb 9 05:36:22 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Feb 9 05:36:22 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e55a3a1 dev-ruby/rubyzip: add 1.2.1 Package-Manager: portage-2.3.3 dev-ruby/rubyzip/Manifest | 1 + dev-ruby/rubyzip/rubyzip-1.2.1.ebuild | 48 +++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-ruby/rubyzip/Manifest b/dev-ruby/rubyzip/Manifest index fd87f63d39..1cb3557244 100644 --- a/dev-ruby/rubyzip/Manifest +++ b/dev-ruby/rubyzip/Manifest @@ -1,3 +1,4 @@ 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 +DIST rubyzip-1.2.1-git.tgz 151085 SHA256 03f233563b9d4bb950da01b8c4dae80f83c797d1adee478e5e9fa3aeb78a6c52 SHA512 ba71d293120943142608b617d76d72699c64b92a6bf602543a3f42f01c44eea3f0c902bc841a2aaf9cffac4a2ba02a47a847115eca1093587d944c2f4acc9b9e WHIRLPOOL be38ab13075f524e4d1f6f4c040320be5254dfce9905d580f1118910c6bfbc4e5d4244cd3769a672aa83f5ccc2446d4bb4f25de32d9797a6ecd3a3827d47a066 diff --git a/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild b/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild new file mode 100644 index 0000000000..73d3fc74cc --- /dev/null +++ b/dev-ruby/rubyzip/rubyzip-1.2.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +USE_RUBY="ruby21 ruby22 ruby23 ruby24" + +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 +}