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 C068413933E for ; Wed, 7 Jul 2021 06:53:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02873E09E5; Wed, 7 Jul 2021 06:53:45 +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 DE972E09E5 for ; Wed, 7 Jul 2021 06:53:44 +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 2163F342BB2 for ; Wed, 7 Jul 2021 06:53:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB4467CE for ; Wed, 7 Jul 2021 06:53:40 +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: <1625640815.673e35457add65e69b03ab30196095aba838568f.graaff@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/css_parser/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ruby/css_parser/Manifest dev-ruby/css_parser/css_parser-1.9.0.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 673e35457add65e69b03ab30196095aba838568f X-VCS-Branch: master Date: Wed, 7 Jul 2021 06:53:40 +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: f32ea3ee-c0a7-4a6a-b9ce-672e2bee37fd X-Archives-Hash: ebdc12c6a55b099da45d24df159cd938 commit: 673e35457add65e69b03ab30196095aba838568f Author: Hans de Graaff gentoo org> AuthorDate: Wed Jul 7 06:29:27 2021 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Wed Jul 7 06:53:35 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673e3545 dev-ruby/css_parser: add 1.9.0 Package-Manager: Portage-3.0.20, Repoman-3.0.2 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.9.0.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 51a1b636769..4f4d35d8255 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1 +1,2 @@ DIST css_parser-1.7.1.tar.gz 33667 BLAKE2B 5732461958bb3abe7578c3898bd80c601fc957c38b3feda5092d89c4419cd64f0c6e4be296919c07bea5e9082cb03f32bfe9255244b56206caa7bab8e1a29765 SHA512 f1dba16fa18362e1b58d463a1f718c4c981170f3a7b0b719e5a309b74decded063cd3631540a4b76c1d78e5cfa92a35b56130979d7724d745eacdc372c69dd9b +DIST css_parser-1.9.0.tar.gz 38201 BLAKE2B 6d2042429f7347613b14649e7c205e88a26dec9759a1634a3805e79e3f8599ab6b1ab2c4283dee631476e16580f447c08cd41327a62c813eb006a7e435787f9e SHA512 79ff06b471298f2fe82b096703c828122f1ae778b71fcac3f2eea1e243145729d3871c21eb1714777a2648ba91d05b9b973691b5ff41b2361eecb4170d3a2601 diff --git a/dev-ruby/css_parser/css_parser-1.9.0.ebuild b/dev-ruby/css_parser/css_parser-1.9.0.ebuild new file mode 100644 index 00000000000..e725137e229 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.9.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby25 ruby26 ruby27 ruby30" + +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md " +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="premailer" +GITHUB_PROJECT="${PN}" +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="https://github.com/premailer/css_parser/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc test" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +ruby_add_bdepend "test? ( dev-ruby/maxitest )" + +all_ruby_prepare() { + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' -e '/bump/d' Rakefile || die + sed -i -e '/bundler/d' test/test_helper.rb || die + # Avoid tests using the network. + sed -i -e '/test_loading_a_remote_file_over_ssl/,/end/ s:^:#:' test/test_css_parser_loading.rb || die + +} + +each_ruby_test() { + ${RUBY} -Ilib test/*.rb || die +}