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 46D16158020 for ; Sat, 24 Dec 2022 15:00:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84374E0921; Sat, 24 Dec 2022 15:00:44 +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 50802E0920 for ; Sat, 24 Dec 2022 15:00:44 +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 7546D340E4F for ; Sat, 24 Dec 2022 15:00:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A88137F0 for ; Sat, 24 Dec 2022 15:00: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: <1671894033.6abae3b3ec51c4e07aca22ab0d8bd71a6a5008c3.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.12.0.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 6abae3b3ec51c4e07aca22ab0d8bd71a6a5008c3 X-VCS-Branch: master Date: Sat, 24 Dec 2022 15:00: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: dbc9d5aa-d5fb-4628-8b4b-53f56f89af36 X-Archives-Hash: b626ad2c923c2d38d1e4c5f1caef1acf commit: 6abae3b3ec51c4e07aca22ab0d8bd71a6a5008c3 Author: Hans de Graaff gentoo org> AuthorDate: Fri Dec 23 13:04:09 2022 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sat Dec 24 15:00:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6abae3b3 dev-ruby/css_parser: add 1.12.0 Signed-off-by: Hans de Graaff gentoo.org> dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.12.0.ebuild | 43 ++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index f2995e901e08..5ad5e10d72de 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,3 +1,4 @@ DIST css_parser-1.10.0.tar.gz 38843 BLAKE2B 8b611a270791e0f1e0b69d4ab0df3c119fc3f2631a7bcebab1030939e61d2799acfce0ca9f9b634d813c47c13a6c698f9449918fab1cdfb5aa4b14674b749c3f SHA512 979855df651ab56da5736f6646f4b4f0be5718899c4f81ae514299566e874d2f7b414d87616e5fba7390730bba1f20966e01641a47dc2cbb3e20fd7536f38580 DIST css_parser-1.11.0.tar.gz 38987 BLAKE2B e3420b635a7604dee4ca4c5f434dc3a8f3caf27310fb8d1a947e8d6aedb47e1130846afbe989f9d2c9c52b1db9e1266849fec09253c243a1f28a3bcb6ea58785 SHA512 9dfc1aff7f05dca82a10504c6e1c42011385e17db5f43faa5c83a2c2226b2f7a524fc626c6f7ce69e49d1919a6fc12baed35823d0da07940d41804bd1590ba50 +DIST css_parser-1.12.0.tar.gz 39191 BLAKE2B 8c112aab26248c1566df6c2f1078b6bb068406d50dc08da7c52395f4f8dd2ee16dd1e99d3812922af7c70d50a07ccab4f979c38caf8d2974a1c5d1ff29932c2f SHA512 6f5f4af113d30ba795dcf0bf104519697a2eb6cd092342c21b3236eb6db39d12ff5fde8c29971242f955bb9658c357995f37c00de69d53cc22cc4a5860446fb9 DIST css_parser-1.9.0.tar.gz 38201 BLAKE2B 6d2042429f7347613b14649e7c205e88a26dec9759a1634a3805e79e3f8599ab6b1ab2c4283dee631476e16580f447c08cd41327a62c813eb006a7e435787f9e SHA512 79ff06b471298f2fe82b096703c828122f1ae778b71fcac3f2eea1e243145729d3871c21eb1714777a2648ba91d05b9b973691b5ff41b2361eecb4170d3a2601 diff --git a/dev-ruby/css_parser/css_parser-1.12.0.ebuild b/dev-ruby/css_parser/css_parser-1.12.0.ebuild new file mode 100644 index 000000000000..1faa46577b4b --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.12.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby27 ruby30 ruby31" + +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 +}