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 7D8FA139083 for ; Thu, 21 Dec 2017 05:39:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7512AE1097; Thu, 21 Dec 2017 05:39:10 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 4248CE1097 for ; Thu, 21 Dec 2017 05:39:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 2923533BE2E for ; Thu, 21 Dec 2017 05:39:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A7810AE70 for ; Thu, 21 Dec 2017 05:39:06 +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: <1513834647.b1e800008e2580fc679d2ae434dd9b9c472034f0.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/psych/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/psych/Manifest dev-ruby/psych/psych-3.0.2.ebuild X-VCS-Directories: dev-ruby/psych/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: b1e800008e2580fc679d2ae434dd9b9c472034f0 X-VCS-Branch: master Date: Thu, 21 Dec 2017 05:39:06 +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: 886ed935-db90-4d5f-8ad1-81446ffd85f7 X-Archives-Hash: 988d92fa3530242d6a743c7a0c2dd17f commit: b1e800008e2580fc679d2ae434dd9b9c472034f0 Author: Hans de Graaff gentoo org> AuthorDate: Thu Dec 21 05:36:16 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Dec 21 05:37:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1e80000 dev-ruby/psych: add 3.0.2 Package-Manager: Portage-2.3.13, Repoman-2.3.3 dev-ruby/psych/Manifest | 1 + dev-ruby/psych/psych-3.0.2.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index bebb2892abf..f70eb405088 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1,2 +1,3 @@ DIST psych-2.2.4.tar.gz 133451 BLAKE2B 665a234b88ff9b5f2dcd6ddc0fb249e2af6a2594b1e3817e68fa47d58556f211568b61d416be3afc91a1cd40237530bd0751d52d49a63ccccf2ff196d7ec4faf SHA512 f56b0e68ba2c6884eaf645f4784dfe56667b8527def29bcd2a36e9f47e11acbdd4a0bb7025988b28cca1413f9f15524ef9fbe61efef3ff295cce4733d3143894 DIST psych-3.0.1.tar.gz 133120 BLAKE2B 322b44a23bfa5afdfaa7f90681b2c0c4525efc88c30950ae4506e7d990ca117c840491b2bcc0ab1d931a4febe8fe67cab73933ed5265a41cac451746e93a9138 SHA512 7a77b6e0b881428f07c147ff4e4752dc563e4c76f8a3d3f9fdf5ec9b95efd2d2fd8109f131a5f911d905f420f0bdc8631411b80f38f753d91511ca7153937075 +DIST psych-3.0.2.tar.gz 133139 BLAKE2B c337389b9bde02ca6e7d8058a605c1597aa17e5a8b3543e21195c471b29d0e3fc865c29126fb9c58bcb7be47f03483d47437f26f680138033a07f6a670410110 SHA512 158a14added34fc410f6ef46b3c64081a16d22021f99e000fe83e9ee7cef65c4bfbc37d580873794f678f60f8070275d3c7c471d5eb75c6e1fbc5c36655b0d46 diff --git a/dev-ruby/psych/psych-3.0.2.ebuild b/dev-ruby/psych/psych-3.0.2.ebuild new file mode 100644 index 00000000000..c13c82580ef --- /dev/null +++ b/dev-ruby/psych/psych-3.0.2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A libyaml wrapper for Ruby" +HOMEPAGE="https://github.com/tenderlove/psych" +SRC_URI="https://github.com/tenderlove/psych/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND+=" >=dev-libs/libyaml-0.1.7" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e '1igem "minitest", "~>5.0"' test/psych/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/${PN} extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/${PN} + cp ext/${PN}/${PN}$(get_modname) lib/ || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:test/${PN}:. -e "Dir['test/psych/**/test_*.rb'].each {|f| require f}" || die +}