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 73EC6139695 for ; Tue, 7 Mar 2017 06:01:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ED1DE0C34; Tue, 7 Mar 2017 06:01:34 +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 3D08BE0C34 for ; Tue, 7 Mar 2017 06:01:34 +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 9EA9C341301 for ; Tue, 7 Mar 2017 06:01:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DB7E15F31 for ; Tue, 7 Mar 2017 06:01:30 +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: <1488864893.184f0d0dd73e0d8502a6f6130aa4d0cb73f53563.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-2.2.4.ebuild X-VCS-Directories: dev-ruby/psych/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 184f0d0dd73e0d8502a6f6130aa4d0cb73f53563 X-VCS-Branch: master Date: Tue, 7 Mar 2017 06:01:30 +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: 3d500f14-94b3-45e0-a0be-67e6789a2310 X-Archives-Hash: 6f4b845f6ecf394d6b4cdc92ecdba837 commit: 184f0d0dd73e0d8502a6f6130aa4d0cb73f53563 Author: Hans de Graaff gentoo org> AuthorDate: Tue Mar 7 05:34:53 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Mar 7 05:34:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=184f0d0d dev-ruby/psych: add 2.2.4 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/psych/Manifest | 1 + dev-ruby/psych/psych-2.2.4.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/psych/Manifest b/dev-ruby/psych/Manifest index ae980693083..971822dce38 100644 --- a/dev-ruby/psych/Manifest +++ b/dev-ruby/psych/Manifest @@ -1,2 +1,3 @@ DIST psych-2.2.1.tar.gz 133482 SHA256 a80d5455657de0348106f8bf585448415231016ca653497e9f00249b0b1c99af SHA512 4a79a5e5ba32482b9fd0467bb272d38ffebf8e8f621dc93b75d0848ba1b9b658e4d318c01fef7fe317c27d81b280cb6d4288112d29c9ae43768ecfc9ad7e19da WHIRLPOOL c045b84224ebfe7d1c183d15c049e4833ed73c225112e4ac548911d902888f3a544cfe9ca558d746568b1bac5cb94c2a16ceb3f8f78bb9f2d1a65b53e54c3dd6 DIST psych-2.2.2.tar.gz 133468 SHA256 e7b05fbb50733a69f2759b6657c2c1c1c545744cfb15549b0392a02b1aed6bed SHA512 671a3e6ff60b765f997a193b63fedd34ce11022b749b0c9bda0f18f84ded5972d614981e5ce5a15690795cd96d0840c0963dd4258c16ac61eb48e3c59e82abee WHIRLPOOL 402a0c513fa44ff05a0c19d06f6744f500fdc90c883be1c77300d1a06835213223a2a7fdd00c6f20f90f45d17c215f0a0aba6ab9f1347de29409333612836f04 +DIST psych-2.2.4.tar.gz 133451 SHA256 343ce1c43b83b63648afa20f6eb593b680495d778c4830ddbd0d04a4a9ee63bb SHA512 f56b0e68ba2c6884eaf645f4784dfe56667b8527def29bcd2a36e9f47e11acbdd4a0bb7025988b28cca1413f9f15524ef9fbe61efef3ff295cce4733d3143894 WHIRLPOOL efb164d7e9e81afc4dddbed401d182cbed794b4e0b295128686f452ae4caadb276123477e8e4e479a2527723df68256e9f4826de368139d12a56c6bb78bc4f6d diff --git a/dev-ruby/psych/psych-2.2.4.ebuild b/dev-ruby/psych/psych-2.2.4.ebuild new file mode 100644 index 00000000000..20f837948b5 --- /dev/null +++ b/dev-ruby/psych/psych-2.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby21 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 + sed -i -e '/s.files/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || 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 +}