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 118361382C5 for ; Mon, 11 May 2020 17:15:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4201DE081A; Mon, 11 May 2020 17:15:32 +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-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 29470E081A for ; Mon, 11 May 2020 17:15:32 +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 E20D134FB0D for ; Mon, 11 May 2020 17:15:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 66D701B6 for ; Mon, 11 May 2020 17:15:29 +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: <1589217321.d65f543a8534291c12ead9cd9cafa1fc60ffd5f6.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/strptime/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/strptime/Manifest dev-ruby/strptime/strptime-0.2.4.ebuild X-VCS-Directories: dev-ruby/strptime/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: d65f543a8534291c12ead9cd9cafa1fc60ffd5f6 X-VCS-Branch: master Date: Mon, 11 May 2020 17:15:29 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8bac5303-73cb-4307-b290-252b8a3ae384 X-Archives-Hash: 8a2dff474af4d48c80499c7a3427e680 commit: d65f543a8534291c12ead9cd9cafa1fc60ffd5f6 Author: Hans de Graaff gentoo org> AuthorDate: Mon May 11 17:14:38 2020 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Mon May 11 17:15:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d65f543a dev-ruby/strptime: add 0.2.4 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/strptime/Manifest | 1 + dev-ruby/strptime/strptime-0.2.4.ebuild | 38 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-ruby/strptime/Manifest b/dev-ruby/strptime/Manifest index 687f80b2c88..98817d4643b 100644 --- a/dev-ruby/strptime/Manifest +++ b/dev-ruby/strptime/Manifest @@ -1 +1,2 @@ DIST strptime-0.2.3.tar.gz 17375 BLAKE2B 583566c19cdd96f97b469d3353236624b814ea9200e1479d32c552d06431e0008cd9dcf5be03564948898fb9e5a1470a5a8bdb531d4054bfe64899bbd6ec92e0 SHA512 1b9ee2f7c0fa747c6df5a56c5d7f667c4a9314c334472867e890758074f9da387aae54d9171b2460036a21e890fd743187571c6d4a995e4117d6c4307b8134cc +DIST strptime-0.2.4.tar.gz 17429 BLAKE2B 9b6a7f29075ef5e55a17f28859961013d96778c7bd78fac9138a455819ec062f4b0d311038026a9da45ecc96e3f92207462970201c5d3095b9b0d653706c64a2 SHA512 ae92df60e049eb57e60f414e0a436fd90b56c6a3f5812597619aaac2d78b80046aeef77cdaae6f8822f37d069903d2806b9f7710ff1520eaf11070aaf3465f56 diff --git a/dev-ruby/strptime/strptime-0.2.4.ebuild b/dev-ruby/strptime/strptime-0.2.4.ebuild new file mode 100644 index 00000000000..20a5d9d41ad --- /dev/null +++ b/dev-ruby/strptime/strptime-0.2.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" + +RUBY_FAKEGEM_GEMSPEC="strptime.gemspec" + +RUBY_FAKEGEM_BINWRAP="" + +inherit multilib ruby-fakegem + +DESCRIPTION="A fast strptime/strftime engine which uses VM" +HOMEPAGE="https://github.com/nurse/strptime" +SRC_URI="https://github.com/nurse/strptime/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +all_ruby_prepare() { + sed -i -e 's/git ls-files -z/find -print0/' ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_configure() { + ${RUBY} -Cext/strptime extconf.rb || die +} + +each_ruby_compile() { + emake -Cext/strptime V=1 + cp ext/strptime/strptime$(get_modname) lib/strptime/ || die +}