public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/tmail: metadata.xml ChangeLog tmail-1.2.3.1.ebuild
@ 2010-01-02 13:20 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2010-01-02 13:20 UTC (permalink / raw
  To: gentoo-commits

flameeyes    10/01/02 13:20:42

  Added:                metadata.xml ChangeLog tmail-1.2.3.1.ebuild
  Log:
  Initial import of tmail, needed for the unbundled actionmailer.
  (Portage version: 2.2_rc61/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  dev-ruby/tmail/metadata.xml

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/metadata.xml?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>ruby</herd>
</pkgmetadata>



1.1                  dev-ruby/tmail/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/ChangeLog?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for dev-ruby/tmail
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/ChangeLog,v 1.1 2010/01/02 13:20:42 flameeyes Exp $

*tmail-1.2.3.1 (02 Jan 2010)

  02 Jan 2010; Diego E. Pettenò <flameeyes@gentoo.org>
  +tmail-1.2.3.1.ebuild, +metadata.xml:
  Initial import of tmail, needed for the unbundled actionmailer.




1.1                  dev-ruby/tmail/tmail-1.2.3.1.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/tmail-1.2.3.1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/tmail/tmail-1.2.3.1.ebuild?rev=1.1&content-type=text/plain

Index: tmail-1.2.3.1.ebuild
===================================================================
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/tmail/tmail-1.2.3.1.ebuild,v 1.1 2010/01/02 13:20:42 flameeyes Exp $

EAPI=2
USE_RUBY="ruby18 ruby19"

RUBY_FAKEGEM_TASK_DOC="doc"
RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="README CHANGES NOTES"

inherit ruby-fakegem

DESCRIPTION="An email handling library"
HOMEPAGE="http://rubyforge.org/projects/tmail/"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"

# Tests seem to be broken with the new encoding handling from Ruby,
# need to be verified twice; code seems to work anyway.
RESTRICT=test

ruby_add_bdepend dev-ruby/racc
ruby_add_bdepend test '>=dev-ruby/mocha-0.9.5'

each_ruby_compile() {
	if [[ $(basename ${RUBY}) == "ruby18" ]]; then
		pushd ext/tmailscanner/tmail
		${RUBY} extconf.rb || die "extconf failed"
		emake || die "emake extension failed"
		popd
	fi

	emake -C lib/tmail $(use debug && echo DEBUG=true) parser.rb || die "emake failed"
}

each_ruby_install() {
	# We cannot use the recursive install because there are
	# racc source files and a makefile.
	find lib -name '*.rb' | while read file; do
		ruby_fakegem_newins $file $file
	done

	if [[ $(basename ${RUBY}) == "ruby18" ]]; then
		ruby_fakegem_newins ext/tmailscanner/tmail/tmailscanner.so lib/tmail/tmailscanner.so
	fi

	ruby_fakegem_genspec
}

all_ruby_install() {
	all_fakegem_install

	docinto examples
	dodoc sample/* || die
}






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2010-01-02 13:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-02 13:20 [gentoo-commits] gentoo-x86 commit in dev-ruby/tmail: metadata.xml ChangeLog tmail-1.2.3.1.ebuild Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox