From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NiOWR-0008Tf-RP for garchives@archives.gentoo.org; Fri, 19 Feb 2010 08:47:40 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40561E0958; Fri, 19 Feb 2010 08:47:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 11779E0958 for ; Fri, 19 Feb 2010 08:47:39 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id A83791B412C for ; Fri, 19 Feb 2010 08:47:38 +0000 (UTC) Received: from flameeyes by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NiOWP-0004T5-4p for gentoo-commits@lists.gentoo.org; Fri, 19 Feb 2010 08:47:38 +0000 From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in eclass: ruby-fakegem.eclass X-VCS-Repository: gentoo-x86 X-VCS-Files: ruby-fakegem.eclass X-VCS-Directories: eclass X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: Sender: Diego Petteno Date: Fri, 19 Feb 2010 08:47:37 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 1387e1a4-880f-4769-81e3-7e4bcf5fe6a8 X-Archives-Hash: a7611418250fb1d9d7acf763ee1c15b7 flameeyes 10/02/19 08:47:37 Modified: ruby-fakegem.eclass Log: Add support for suffixes to a gem (like .java) and support for pre-release mangling (_pre becomes .pre). Revision Changes Path 1.15 eclass/ruby-fakegem.eclass file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakege= m.eclass?rev=3D1.15&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakege= m.eclass?rev=3D1.15&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/ruby-fakege= m.eclass?r1=3D1.14&r2=3D1.15 Index: ruby-fakegem.eclass =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- ruby-fakegem.eclass 13 Feb 2010 08:45:03 -0000 1.14 +++ ruby-fakegem.eclass 19 Feb 2010 08:47:36 -0000 1.15 @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.14 201= 0/02/13 08:45:03 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-fakegem.eclass,v 1.15 201= 0/02/19 08:47:36 flameeyes Exp $ # # @ECLASS: ruby-fakegem.eclass # @MAINTAINER: @@ -60,7 +60,8 @@ # RUBY_FAKEGEM_REQUIRE_PATHS=3D"" =20 RUBY_FAKEGEM_NAME=3D"${RUBY_FAKEGEM_NAME:-${PN}}" -RUBY_FAKEGEM_VERSION=3D"${RUBY_FAKEGEM_VERSION:-${PV}}" +RUBY_FAKEGEM_VERSION=3D"${RUBY_FAKEGEM_VERSION:-${PV/_pre/.pre}}" +RUBY_FAKEGEM_SUFFIX=3D"${RUBY_FAKEGEM_SUFFIX:-}" =20 RUBY_FAKEGEM_TASK_DOC=3D"${RUBY_FAKEGEM_TASK_DOC-rdoc}" RUBY_FAKEGEM_TASK_TEST=3D"${RUBY_FAKEGEM_TASK_TEST-test}" @@ -77,7 +78,7 @@ ruby_add_bdepend test "dev-ruby/rake" fi =20 -SRC_URI=3D"mirror://rubygems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION= }.gem" +SRC_URI=3D"mirror://rubygems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION= }${RUBY_FAKEGEM_SUFFIX:+-${RUBY_FAKEGEM_SUFFIX}}.gem" =20 ruby_add_rdepend virtual/rubygems =20