Ebuild
February 15, 2012, 07:34
fromcvs converts cvs to git, hg or sqlite database
| alpha | amd64 | arm | hppa | ia64 | m68k | mips | ppc | ppc64 | s390 | sh | sparc | x86 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0_pre20120214 | – | ~ | – | – | – | – | – | – | – | – | – | – | – |
DESCRIZIONE DEL PACCHETTO:
fromcvs converts cvs to git, hg or sqlite database
Categoria:
CHANGELOG
# ChangeLog for dev-vcs/fromcvs # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/ChangeLog,v 1.4 2012/02/15 07:34:38 sochotnicky Exp $ *fromcvs-0_pre20120214 (14 Feb 2012) 14 Feb 2012; Stanislav Ochotnicky (sochotnicky) +fromcvs-0_pre20120214.ebuild, +files/0001-Fix-379271-require-rubygems-before-other-deps.patch: Get files from devspace (original home is inaccessible). Fix bug 379271 (finally) 18 Jun 2011; Stanislav Ochotnicky (sochotnicky) fromcvs-0_pre132-r1.ebuild: Added "|| die" to few commands to prevent possible problems *fromcvs-0_pre132-r1 (18 Jun 2011) 18 Jun 2011; Stanislav Ochotnicky (sochotnicky) +fromcvs-0_pre132-r1.ebuild, metadata.xml: Addition of git, mercurial and sqlite use flags. Rework ebuild to EAPI4. Cleaner use of ruby-ng eclass 16 Jun 2011; Stanislav Ochotnicky (sochotnicky) +fromcvs-0_pre132.ebuild, +metadata.xml: Moved from dev-ruby to dev-vcs *fromcvs-0_pre132 (15 Jun 2011) 15 Jun 2011; Stanislav Ochotnicky (sochotnicky) +fromcvs-0_pre132.ebuild, +metadata.xml: New ebuild for fromcvs added to the tree. Fixes #173341
BUGS
Nessun bug trovato
USE FLAGS
| elibc_FreeBSD | ELIBC setting for systems that use the FreeBSD C library |
| git | Add support for conversion to dev-vcs/git repositories |
| mercurial | Add support for conversion to dev-vcs/mercurial repositories |
| ruby_targets_ree18 | Build with Ruby Enterprise Edition 1.8.x |
| ruby_targets_ruby18 | Build with MRI Ruby 1.8.x |
| sqlite | Adds support for sqlite - embedded sql database |
| test | Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore |
DIPENDENZE PER LA COMPILAZIONE
| dev-lang/ruby | An object-oriented scripting language |
| dev-lang/ruby-enterprise | Ruby Enterprise Edition is a branch of Ruby including various enhancements |
| dev-ruby/rbtree | Ruby/RBTree module. |
| dev-ruby/rcsparse | rcsparse ruby module |
| dev-ruby/sqlite3-ruby | An extension library to access a SQLite database from Ruby |
DIPENDENZE PER L'ESECUZIONE
| dev-lang/ruby | An object-oriented scripting language |
| dev-lang/ruby-enterprise | Ruby Enterprise Edition is a branch of Ruby including various enhancements |
| dev-ruby/rbtree | Ruby/RBTree module. |
| dev-ruby/rcsparse | rcsparse ruby module |
| dev-ruby/sqlite3-ruby | An extension library to access a SQLite database from Ruby |
| dev-vcs/git | GIT - the stupid content tracker, the revision control system heavily used by the Linux kernel team |
| dev-vcs/mercurial | Scalable distributed SCM |
CODICE SORGENTE
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
/var/cvsroot/gentoo-x86/dev-vcs/fromcvs/fromcvs-0_pre20120214.ebuild,v 1.1
2012/02/15 07:34:39 sochotnicky Exp $
EAPI=4
USE_RUBY="ruby18 ree18"
inherit ruby-ng
MY_PV="${PV#0_pre}"
DESCRIPTION="fromcvs converts cvs to git, hg or sqlite database"
HOMEPAGE="http://gitorious.org/fromcvs"
# downloaded from gitorious hash, no proper tarballs available
SRC_URI="http://dev.gentoo.org/fromcvs-${MY_PV}.tar.gz"
RUBY_PATCHES="0001-Fix-379271-require-rubygems-before-other-deps.patch"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+git mercurial sqlite"
RUBY_S="${PN}-${PN}"
RDEPEND="${RDEPEND}
git? ( dev-vcs/git )
mercurial? ( dev-vcs/mercurial )"
ruby_add_rdepend "dev-ruby/rcsparse
>=dev-ruby/rbtree-0.3.0-r2
sqlite? ( dev-ruby/sqlite3-ruby )"
all_ruby_prepare() {
# prepare scripts that will go into bin
for script in togit.rb tohg.rb todb.rb;do
sed -i '1 i #!/usr/bin/ruby' ${script} || die
mv ${script} ${script%.rb} || die
done
}
each_ruby_install() {
insinto $(ruby_rbconfig_value 'sitedir')
doins *.rb || die "Installation of rb files failed"
use git && dobin togit
use mercurial && dobin tohg
use sqlite && dobin todb
}