From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 086941382BF for ; Sun, 19 Jun 2016 05:20:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DDBA494217; Sun, 19 Jun 2016 05:20:14 +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 18EEA94220 for ; Sun, 19 Jun 2016 05:20:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 17644340861 for ; Sun, 19 Jun 2016 05:20:13 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5993C241B for ; Sun, 19 Jun 2016 05:20:10 +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: <1466313599.85e699ad1f36775e15c83a820ae04f83a511c534.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.2.ebuild X-VCS-Directories: dev-ruby/css_parser/ X-VCS-Committer: graaff X-VCS-Committer-Name: Hans de Graaff X-VCS-Revision: 85e699ad1f36775e15c83a820ae04f83a511c534 X-VCS-Branch: master Date: Sun, 19 Jun 2016 05:20:10 +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: 4b3b99d3-36eb-48f5-a929-0cb83b9d05d5 X-Archives-Hash: 6dc0e68d1766ac43f4f040078ed9cee7 commit: 85e699ad1f36775e15c83a820ae04f83a511c534 Author: Hans de Graaff gentoo org> AuthorDate: Sat Jun 18 04:24:16 2016 +0000 Commit: Hans de Graaff gentoo org> CommitDate: Sun Jun 19 05:19:59 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85e699ad dev-ruby/css_parser: add 1.4.2 Package-Manager: portage-2.2.28 dev-ruby/css_parser/Manifest | 1 + dev-ruby/css_parser/css_parser-1.4.2.ebuild | 45 +++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-ruby/css_parser/Manifest b/dev-ruby/css_parser/Manifest index d5f42e7..634d845 100644 --- a/dev-ruby/css_parser/Manifest +++ b/dev-ruby/css_parser/Manifest @@ -1,2 +1,3 @@ DIST css_parser-1.3.6.tar.gz 24422 SHA256 1931ca0a02d14a0ae7863921a18f3475fa6beee58585e9949af70ceffed8fc80 SHA512 a9d09a95320b3a6853a5f079c17d2913868a3d97ee20d9df8076d9206721bf23442e793a722e67c87d4083d3734ba9eaf98b81d93e6257aaaa43ff32b8e6e65b WHIRLPOOL 13ca571034974d09bf4165f1ca8cc947d66aafdacbd098e25e1f16e312bcbe3bf850b2d1f62d404c0878641f0e9b60c5a00f2b24007295cc0881299f5eb4767f DIST css_parser-1.4.1.tar.gz 25122 SHA256 852178a304238f56e6ed3e19ecc373ab7d20d109c9f0a79858d476f59858d457 SHA512 f90e321e0c67ee860a9ad09e08abd6175c677e2733b3ed8dfcb5561e28beb9fbe740d0c9d9053c1cae5168b8cd2204b59574d58086057bbf4ada244d5d090888 WHIRLPOOL b22f0e5aa9a559af128bfbdd3ee9d44c9d0107fa7032ace9a56be4eda15986f5ba481761069bd5148634bd6411dc3959627632bfe4877fe815fb24b32536494e +DIST css_parser-1.4.2.tar.gz 25135 SHA256 1913950cc1563a4cc09377ecb46047ee839fec22ce3753a4ca2496e87b4cdb41 SHA512 18e727f8eb0f0daef9e22f998e30f3c91d98ed3ee8d36e37cb411b0d41d9ec516bca7bf947112455108dce506cf1a2f3f0c7e2c360524e60f4ec174c646ac9b7 WHIRLPOOL 0860dff246eb434efef641af9abc8448c1e4ad952f3b805b3af1b100ff638bcbc277e7842ff8e6250beb75d438d80128e64e93dae52d79877e904e3cee9d80fa diff --git a/dev-ruby/css_parser/css_parser-1.4.2.ebuild b/dev-ruby/css_parser/css_parser-1.4.2.ebuild new file mode 100644 index 0000000..3a55f89 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.4.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="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 +}