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 524A21396D0 for ; Fri, 6 Oct 2017 05:16:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6EE012BC012; Fri, 6 Oct 2017 05:16:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 3FE682BC012 for ; Fri, 6 Oct 2017 05:16:42 +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 B61D634177E for ; Fri, 6 Oct 2017 05:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 626369098 for ; Fri, 6 Oct 2017 05:16:39 +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: <1507266980.e96893fb08966c3f78eb972596ed584845f2bd91.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-xslt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/ruby-xslt/Manifest dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild X-VCS-Directories: dev-ruby/ruby-xslt/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: e96893fb08966c3f78eb972596ed584845f2bd91 X-VCS-Branch: master Date: Fri, 6 Oct 2017 05:16:39 +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: 09114ba8-8e82-4e4c-90e6-3dc24d1316a5 X-Archives-Hash: 45bf6a2fece3f50ed0a88d1f018d3c5a commit: e96893fb08966c3f78eb972596ed584845f2bd91 Author: Hans de Graaff gentoo org> AuthorDate: Fri Oct 6 05:16:20 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Oct 6 05:16:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e96893fb dev-ruby/ruby-xslt: add 0.9.10 Package-Manager: Portage-2.3.8, Repoman-2.3.3 dev-ruby/ruby-xslt/Manifest | 1 + dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild | 46 ++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ruby/ruby-xslt/Manifest b/dev-ruby/ruby-xslt/Manifest index 627bb7d5690..ed31c3f4f35 100644 --- a/dev-ruby/ruby-xslt/Manifest +++ b/dev-ruby/ruby-xslt/Manifest @@ -1 +1,2 @@ +DIST ruby-xslt-0.9.10.gem 35328 SHA256 a6fa14574f8f9cec4ee7a34085545b4f79151d10c0c119f2d2bb62d1fa8ff369 SHA512 b196a517b19c6cb91ed6f4543ecfc6b58532e66f460029d2618e792cfe4078342fcb4428642328cbe6d97d1d942a6025ecff617578fc3abe2b0e414bf61ca1c4 WHIRLPOOL 2ed19e0c3635b214fe4e488e3521128dc35811c6be9d3cb94117fbfa16704f6219c30f6e455be953651bde8e68d5c0a38913429d11533b12796c73d3515cd556 DIST ruby-xslt-0.9.9.gem 34816 SHA256 7dc7565e90719b5971ef9620f64180848a5d9e983e9abc74d76f7cf1b01a2f72 SHA512 8c23bff3406ae2712663f81fb46525df4938aee5bf85f5497ff33108e4fb0f443ca3389dedbbb9eea233e86e51c24938f699eae2bc62cbf291c04a56a9af36ff WHIRLPOOL a01a8a1cfc94de4455fdebd115eb83d5953977a0d57ac50cbdf6d8a874413744aa1a77fe31cfcab628a9d4cf7bdf45423156bb3ea65e904d598762f9ebd23537 diff --git a/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild b/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild new file mode 100644 index 00000000000..57bd5c84d7e --- /dev/null +++ b/dev-ruby/ruby-xslt/ruby-xslt-0.9.10.ebuild @@ -0,0 +1,46 @@ +# 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_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_EXTRADOC="ChangeLog.rdoc AUTHORS.rdoc README.rdoc" + +inherit multilib ruby-fakegem + +DESCRIPTION="A Ruby class for processing XSLT" +HOMEPAGE="https://github.com/glejeune/ruby-xslt" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +DEPEND+=" >=dev-libs/libxslt-1.1.12" +RDEPEND+=" >=dev-libs/libxslt-1.1.12" + +all_ruby_prepare() { + # Remove forced -g compiler flag. + sed -i -e 's/-g //' ext/xslt_lib/extconf.rb || die + + # One test fails but we have installed this code already for a long + # time so this probably isn't a regression. No upstream bug tracker + # to report the problem :-( + sed -i -e '/test_transformation_error/,/^ end/ s:^:#:' test/test.rb || die +} + +each_ruby_configure() { + ${RUBY} -C ext/xslt_lib extconf.rb || die +} + +each_ruby_compile() { + emake -C ext/xslt_lib V=1 + cp ext/xslt_lib/xslt_lib$(get_modname) lib/xml/ || die +} + +each_ruby_test() { + ${RUBY} -I../lib:lib -Ctest test.rb || die +}