diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-02-20 21:09:54 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-02-20 21:09:54 +0000 |
commit | 956592c1731ffc4b52c8a4c21cd542dd902bf994 (patch) | |
tree | e4140de37a537a0311b1272936d9ca8b90c8f4e4 /dev-ruby | |
parent | version bump. build static libs with use=static-libs (diff) | |
download | gentoo-2-956592c1731ffc4b52c8a4c21cd542dd902bf994.tar.gz gentoo-2-956592c1731ffc4b52c8a4c21cd542dd902bf994.tar.bz2 gentoo-2-956592c1731ffc4b52c8a4c21cd542dd902bf994.zip |
Initial import (required for testing compass).
(Portage version: 2.2.0_alpha88/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/css_parser/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/css_parser/css_parser-1.2.6.ebuild | 45 | ||||
-rw-r--r-- | dev-ruby/css_parser/metadata.xml | 5 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-ruby/css_parser/ChangeLog b/dev-ruby/css_parser/ChangeLog new file mode 100644 index 000000000000..d9dbe55dc0b1 --- /dev/null +++ b/dev-ruby/css_parser/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-ruby/css_parser +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/css_parser/ChangeLog,v 1.1 2012/02/20 21:09:54 flameeyes Exp $ + +*css_parser-1.2.6 (20 Feb 2012) + + 20 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +css_parser-1.2.6.ebuild, + +metadata.xml: + Initial import (required for testing compass). + diff --git a/dev-ruby/css_parser/css_parser-1.2.6.ebuild b/dev-ruby/css_parser/css_parser-1.2.6.ebuild new file mode 100644 index 000000000000..c1b2b792cfa9 --- /dev/null +++ b/dev-ruby/css_parser/css_parser-1.2.6.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/css_parser/css_parser-1.2.6.ebuild,v 1.1 2012/02/20 21:09:54 flameeyes Exp $ + +EAPI=4 +USE_RUBY="ruby18 ruby19 ree18 jruby" + +RUBY_FAKEGEM_TASK_DOC="rdoc" +RUBY_FAKEGEM_DOC_DIR="doc" +RUBY_FAKEGEM_EXTRADOC="README.rdoc" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="alexdunae" +GITHUB_PROJECT="${PN}" +RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit ruby-fakegem + +DESCRIPTION="Sass-based Stylesheet Framework" +HOMEPAGE="http://compass-style.org/" +LICENSE="MIT" + +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64" + +ruby_add_rdepend "dev-ruby/addressable + virtual/ruby-ssl" + +all_ruby_prepare() { + # fix wrong runtime dependency over rdoc + sed -i -e '/rdoc/s:add_dep:add_development_dep:' "${RUBY_FAKEGEM_GEMSPEC}" || die + + # get rid of bundler usage + rm Gemfile || die + sed -i -e '/bundler/d' rakefile.rb || die +} + +each_ruby_prepare() { + if [[ ${RUBY} == */jruby ]]; then + sed -i -e '/add_development_dependency/i s.add_dependency("jruby-openssl")' "${RUBY_FAKEGEM_GEMSPEC}" || die + fi +} diff --git a/dev-ruby/css_parser/metadata.xml b/dev-ruby/css_parser/metadata.xml new file mode 100644 index 000000000000..852136183369 --- /dev/null +++ b/dev-ruby/css_parser/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>ruby</herd> +</pkgmetadata> |