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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 82004158041 for ; Tue, 9 Apr 2024 05:27:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5CF4AE2A33; Tue, 9 Apr 2024 05:27:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3CFBCE2A33 for ; Tue, 9 Apr 2024 05:27:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 42893343265 for ; Tue, 9 Apr 2024 05:27:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A31A6167D for ; Tue, 9 Apr 2024 05:27:54 +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: <1712640419.c5883607c47bbf6f3630f8e2ac74b46228d98743.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.17.1.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: c5883607c47bbf6f3630f8e2ac74b46228d98743 X-VCS-Branch: master Date: Tue, 9 Apr 2024 05:27:54 +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: eb3697e8-9541-4a01-9753-03dcbafc1cd2 X-Archives-Hash: 0e616dc6314e022644323cd94277acc5 commit: c5883607c47bbf6f3630f8e2ac74b46228d98743 Author: Hans de Graaff gentoo org> AuthorDate: Tue Apr 9 05:26:59 2024 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Tue Apr 9 05:26:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5883607 dev-ruby/css_parser: add 1.17.1 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.17.1.ebuild | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index eccf3e1466e3..01817cec391d 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ DIST css_parser-1.16.0.tar.gz 39719 BLAKE2B 19c6e741bdfac308ea2b2edc557fbbe79580cb44f7a8e8538a3fbb55dcc02a76a56ec151d26ee2af887624fbe348a29c1acfbca30f17e0f2c73850ed7d3808af SHA512 d21f07da73ec3d164f766a392d88053fb156eb15645c4dbf3e4b70b73fdfad6c0b715368d9b000e668cf40dc338611be946064d586f4efcf7e13f261df74b6fa DIST css_parser-1.17.0.tar.gz 39746 BLAKE2B c94f0b03d3e5e54ff390f83bc87c2bc9cd1aa0426898361d3f61fc36263fbb19251cccf346767e8d844b49471186051ffcadb3b87ad3092aa403ef02764a5e5a SHA512 9097b13c578727a7ab918be9b54f846d3f85bb666a54416f54bf509efebfbaf64dd22ec827adef61ba2fd8b46abc81cc302ba3bba35e7d87dee181d21f4cf578 +DIST css_parser-1.17.1.tar.gz 39809 BLAKE2B c8d0a05d4264432a6614cf834aeef7685710d50f44b99c2989a0e431b6894b8c1ac7ddc4f9617632f3da4a0d479acb02ef4bdb1b0ede6f098cdfbeb37c0db624 SHA512 bc22ff1be8daf72b76f611c5be27ee52a197b8e7810c61321ae7e994db771dec01b5c4725b656119d3b610214bc06d08e79bbacc1d2c4294d8ad2cd915edb2fb diff --git a/dev-ruby/css_parser/css_parser-1.17.1.ebuild b/dev-ruby/css_parser/css_parser-1.17.1.ebuild new file mode 100644 index 000000000000..220acb7872bb --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.17.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby31 ruby32 ruby33" + +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 dev-ruby/webrick )" + +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 +}