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 9E970139694 for ; Fri, 10 Mar 2017 06:44:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B9E67E0BFA; Fri, 10 Mar 2017 06:44:25 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 89346E0BFA for ; Fri, 10 Mar 2017 06:44:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 28AFD34112A for ; Fri, 10 Mar 2017 06:44:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E0DB2630F for ; Fri, 10 Mar 2017 06:44:22 +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: <1489128235.4584eaffee9d9d443ae145f73781138e082a8853.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.4.10.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 4584eaffee9d9d443ae145f73781138e082a8853 X-VCS-Branch: master Date: Fri, 10 Mar 2017 06:44:22 +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: 6fe9b1da-d17f-45e7-a0e2-06b5c8bd71d1 X-Archives-Hash: 84360486f36de6d7753dcc7a39c745d2 commit: 4584eaffee9d9d443ae145f73781138e082a8853 Author: Hans de Graaff gentoo org> AuthorDate: Fri Mar 10 06:37:50 2017 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Fri Mar 10 06:43:55 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4584eaff dev-ruby/css_parser: add 1.4.10 Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.4.10.ebuild | 44 ++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index 3b6fd59023e..731eb1f16df 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ +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 diff --git a/dev-ruby/css_parser/css_parser-1.4.10.ebuild b/dev-ruby/css_parser/css_parser-1.4.10.ebuild new file mode 100644 index 00000000000..d2a4e58e3de --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +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 +}