diff options
author | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-10-12 22:34:01 +0000 |
---|---|---|
committer | Nathan Phillip Brink (binki) <ohnobinki@ohnopublishing.net> | 2010-10-12 22:34:01 +0000 |
commit | cd0d0e0156f82f29326d30914303135fb002ded6 (patch) | |
tree | f48529595c5c1aa9b922827b9e9a812eee176996 /dev-ruby | |
parent | dev-ruby/ruby-gd2: Fix installation of documentation. (diff) | |
download | sunrise-cd0d0e0156f82f29326d30914303135fb002ded6.tar.gz sunrise-cd0d0e0156f82f29326d30914303135fb002ded6.tar.bz2 sunrise-cd0d0e0156f82f29326d30914303135fb002ded6.zip |
dev-ruby/grit: New ebuild grit-2.3.0 for bug 340623. This is the recommended replacement for dev-ruby/ruby-git.
(Portage version: 2.2_rc88-r1/svn/Linux x86_64)
svn path=/sunrise/; revision=11417
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/grit/ChangeLog | 12 | ||||
-rw-r--r-- | dev-ruby/grit/Manifest | 6 | ||||
-rw-r--r-- | dev-ruby/grit/files/grit-2.3.0-sorted-refs.patch | 25 | ||||
-rw-r--r-- | dev-ruby/grit/grit-2.3.0.ebuild | 35 | ||||
-rw-r--r-- | dev-ruby/grit/metadata.xml | 6 |
5 files changed, 84 insertions, 0 deletions
diff --git a/dev-ruby/grit/ChangeLog b/dev-ruby/grit/ChangeLog new file mode 100644 index 000000000..878c48837 --- /dev/null +++ b/dev-ruby/grit/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-ruby/grit +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*grit-2.3.0 (12 Oct 2010) + + 12 Oct 2010; Nathan Phillip Brink (ohnobinki) + <ohnobinki@ohnopublishing.net> +grit-2.3.0.ebuild, + +files/grit-2.3.0-sorted-refs.patch, +metadata.xml: + New ebuild grit-2.3.0 for bug 340623. This is the recommended replacement + for dev-ruby/ruby-git. + diff --git a/dev-ruby/grit/Manifest b/dev-ruby/grit/Manifest new file mode 100644 index 000000000..391ad8b5b --- /dev/null +++ b/dev-ruby/grit/Manifest @@ -0,0 +1,6 @@ +AUX grit-2.3.0-sorted-refs.patch 883 RMD160 f9b0bf57f1fdb01d1b7b52f2d41ff0cc47b1b236 SHA1 f07ceb6b55480c28b92c67f44aa2acd063ad9817 SHA256 a0c0e9d5001b43e3c2a9b30ce694d772b0ddfe9cfbfa660539991ec67bd593db +DIST grit-2.3.0-dot_git.tar.bz2 1928134 RMD160 7f02af92c864cac150b75cd1455a3c8056c13293 SHA1 1129229863a1955f3e23499eddabcf77d41790e4 SHA256 5161d2f8cfddc47c4aabb34a3355e5d1762911e01cf32d405cddc1d73afc6fa4 +DIST grit-2.3.0.tar.bz2 1598633 RMD160 065efc5b8bb80b6837452c6480f21138a82b6166 SHA1 c982abc7d15805f6e13ef146a15c00d575db8f79 SHA256 2b22ef3b16f3a8d01b8eae0ec8872635b685e80a2e61c2d7a4cfc77190f43c5b +EBUILD grit-2.3.0.ebuild 864 RMD160 d12e937154f626f1c187504bb9808133e5fc3dcf SHA1 ac51da7fb0811e5d8fe7f2ca34b83816e3123c04 SHA256 fc53f93e83b5c27a2c009d73db4fb7a9e445aad39b075c3f44b4ded1b7353b35 +MISC ChangeLog 398 RMD160 718f42b0fef5ed71b63fae458593eb826a81b5a4 SHA1 7d1a2989e2142be305ec5d9a47778e7514529984 SHA256 7eee33a712adaf9b2e3c8f20ca811deb1bb2b0631c14bc8ef462f778344aaf9d +MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f diff --git a/dev-ruby/grit/files/grit-2.3.0-sorted-refs.patch b/dev-ruby/grit/files/grit-2.3.0-sorted-refs.patch new file mode 100644 index 000000000..de3c1f966 --- /dev/null +++ b/dev-ruby/grit/files/grit-2.3.0-sorted-refs.patch @@ -0,0 +1,25 @@ +From 7079d8c8465fef1ebd40681af590b5355b88aabc Mon Sep 17 00:00:00 2001 +From: Nathan Phillip Brink <ohnobinki@ohnopublishing.net> +Date: Tue, 12 Oct 2010 00:27:25 -0400 +Subject: [PATCH] Sort refs to produce results predictable enough for test_tag. (The current test_tag assumes that Dir::glob() alphabetically sorts its output before returning it). + +--- + lib/grit/git-ruby.rb | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/lib/grit/git-ruby.rb b/lib/grit/git-ruby.rb +index 37302c2..ba722b8 100644 +--- a/lib/grit/git-ruby.rb ++++ b/lib/grit/git-ruby.rb +@@ -112,7 +112,7 @@ module Grit + refs = [] + already = {} + Dir.chdir(@git_dir) do +- files = Dir.glob(prefix + '/**/*') ++ files = Dir.glob(prefix + '/**/*').sort + files.each do |ref| + next if !File.file?(ref) + id = File.read(ref).chomp +-- +1.7.2.2 + diff --git a/dev-ruby/grit/grit-2.3.0.ebuild b/dev-ruby/grit/grit-2.3.0.ebuild new file mode 100644 index 000000000..10e536b69 --- /dev/null +++ b/dev-ruby/grit/grit-2.3.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +RUBY_FAKEGEM_DOCDIR="rdoc" +USE_RUBY="ruby18" + +inherit eutils ruby-fakegem + +DESCRIPTION="Git Library for Ruby" +HOMEPAGE="http://rubyforge.org/projects/grit http://github.com/mojombo/grit" +# http://github.com/mojombo/grit/issues/issue/33 +SRC_URI="ftp://mirror.calvin.edu/~binki/${P}.tar.bz2 + test? ( ftp://mirror.calvin.edu/~binki/${P}-dot_git.tar.bz2 )" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +RDEPEND="dev-vcs/git" +DEPEND="test? ( dev-vcs/git )" + +ruby_add_bdepend "doc? ( virtual/ruby-rdoc ) + test? ( dev-ruby/mime-types + dev-ruby/diff-lcs )" +ruby_add_rdepend "dev-ruby/mime-types + dev-ruby/diff-lcs" + +all_ruby_prepare() { + # http://github.com/mojombo/grit/issues/issue/34 + epatch "${FILESDIR}"/${P}-sorted-refs.patch +} diff --git a/dev-ruby/grit/metadata.xml b/dev-ruby/grit/metadata.xml new file mode 100644 index 000000000..e6233b5dc --- /dev/null +++ b/dev-ruby/grit/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer> +</pkgmetadata> |