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 32EBB139695 for ; Thu, 20 Apr 2017 05:03:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 043B7E0CBA; Thu, 20 Apr 2017 05:03:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7A5AE0CBA for ; Thu, 20 Apr 2017 05:03:10 +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 4B3E1340988 for ; Thu, 20 Apr 2017 05:03:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C2C77437 for ; Thu, 20 Apr 2017 05:03:07 +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: <1492663985.fe0852cf92eec022ddb8a8cfa3f289b6fb15c45c.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.5.0.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: fe0852cf92eec022ddb8a8cfa3f289b6fb15c45c X-VCS-Branch: master Date: Thu, 20 Apr 2017 05:03:07 +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: 4beaae10-c5a5-40cb-8377-e436553f21f8 X-Archives-Hash: d9ab8c7e39b2dcd5a3673ac25d8869a2 commit: fe0852cf92eec022ddb8a8cfa3f289b6fb15c45c Author: Hans de Graaff gentoo org> AuthorDate: Thu Apr 20 04:53:05 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Thu Apr 20 04:53:05 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe0852cf dev-ruby/css_parser: add 1.5.0 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.5.0.ebuild | 44 +++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 731eb1f16df..51f24e5fa5d 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,3 +1,4 @@ DIST css_parser-1.4.10.tar.gz 26718 SHA256 97e3939c705354a99041b4a741e0e91ed6ac85898fb31bc03ac9e9fb22297fec SHA512 ad48200cd9f6fd36d1b13e8699098380c7d74e5349ed1a6aa294615800689a2959f7a91acff9679a630f525d0141f40aaade498570de4f296333c9525b0f1c22 WHIRLPOOL 736b4d43835e7bd12cb7f987a20dee33cc33907239d58e3bab0615e47d36bc6acfb9a086f2126626af7aad4c0b800a04d9c7b1c9723261d5433a30ee7c198754 DIST css_parser-1.4.8.tar.gz 26267 SHA256 62d11ff2b6f27c3658df56da4e98bbc60b4b8cea085b50ef0c6b47046e63c743 SHA512 b311ecbaef5fe4939bd9a947477597a60edb9ac184a36d67bc8d008ac085bd74acbe82e28a4d92b043d855c5881e85245d0a1a2d322ab2a82ca9ea651555b3ef WHIRLPOOL cbf4fb580a8be0922b48cee3b36abb6e0b2eee25aee5e470db223cb31f5da1fc90d937bd5f7930c9a3af9d1f4eb9cd6a5005a9aadd24d1e200425c181352dd8d DIST css_parser-1.4.9.tar.gz 26405 SHA256 2b90c7b4caedc8b15f05e90ed032ff0fa8c1a172ed5c270a04b2206980d06920 SHA512 bf5d053767d56253151786db7915feb1a2c7daf08702ff8d4d431d65f8b3e16ead59055866dd6bf239dfb68e37f35f1578ed4c850bf37e6ba395ea5e53a2f51a WHIRLPOOL 8e958c83eb7f79560c4b31558806d83b7394d9a2ae6eabf7f04f6d5587d3d59a6ab8c4212e46384b78bb6116a572ed6a9860c32a33b9c1357c94630f5caeace5 +DIST css_parser-1.5.0.tar.gz 32835 SHA256 4a405974f2060cba41a869494f0355a999634404d6e840a612bd5ebedc1a0d92 SHA512 4d33494abac5aed71cc73345853f7df7cc21bfe1a03d6d443968c357736311104eba4e816fa4b7dae7f42cd5f38dc7a3d8752c13a58387049cfc7a7d11c4f8f6 WHIRLPOOL f02a6ec95c6c1d18c50f4fdb645c92aea1726aaaf46a6e9ba94c5d85ee6cb3dd6cc36fef5febd861531e1c6e3deefdf2f057d66d64a2c7fc7fec89568251fe14 diff --git a/dev-ruby/css_parser/css_parser-1.5.0.ebuild b/dev-ruby/css_parser/css_parser-1.5.0.ebuild new file mode 100644 index 00000000000..72c87f8f776 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +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="http://compass-style.org/ 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" +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 +}