summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ochotnicky <sochotnicky@gentoo.org>2011-06-16 18:58:34 +0000
committerStanislav Ochotnicky <sochotnicky@gentoo.org>2011-06-16 18:58:34 +0000
commitfd569f9030ef1de3719d526acc87437a5eb319c4 (patch)
tree561c55a71dbb581cc79bfc660a4a6a123f31f99e /dev-vcs/fromcvs
parentMake the init script POSIX conform again, bug 366431. (diff)
downloadhistorical-fd569f9030ef1de3719d526acc87437a5eb319c4.tar.gz
historical-fd569f9030ef1de3719d526acc87437a5eb319c4.tar.bz2
historical-fd569f9030ef1de3719d526acc87437a5eb319c4.zip
Moving fromcvs from dev-ruby to dev-vcs
Package-Manager: portage-2.1.9.42/cvs/Linux x86_64
Diffstat (limited to 'dev-vcs/fromcvs')
-rw-r--r--dev-vcs/fromcvs/ChangeLog14
-rw-r--r--dev-vcs/fromcvs/Manifest23
-rw-r--r--dev-vcs/fromcvs/fromcvs-0_pre132.ebuild50
-rw-r--r--dev-vcs/fromcvs/metadata.xml10
4 files changed, 97 insertions, 0 deletions
diff --git a/dev-vcs/fromcvs/ChangeLog b/dev-vcs/fromcvs/ChangeLog
new file mode 100644
index 000000000000..fb315a031705
--- /dev/null
+++ b/dev-vcs/fromcvs/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for dev-vcs/fromcvs
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/ChangeLog,v 1.1 2011/06/16 18:58:34 sochotnicky Exp $
+
+ 16 Jun 2011; Stanislav Ochotnicky <sochotnicky@gentoo.org>
+ +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@gentoo.org>
+ +fromcvs-0_pre132.ebuild, +metadata.xml:
+ New ebuild for fromcvs added to the tree. Fixes #173341
+
diff --git a/dev-vcs/fromcvs/Manifest b/dev-vcs/fromcvs/Manifest
new file mode 100644
index 000000000000..8f0f969bac01
--- /dev/null
+++ b/dev-vcs/fromcvs/Manifest
@@ -0,0 +1,23 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+EBUILD fromcvs-0_pre132.ebuild 1217 RMD160 81bddabf12649d662325e45b22c6f62d2c0cbc32 SHA1 4158f0a9532967a4e8ae1987aa2bb840b145fe9e SHA256 0b27d1d5eb0cceca69bbc31b698cc056f01ac531c43d12a7f8bfeb4c84e82c97
+MISC ChangeLog 542 RMD160 1c429ba23b2814b85d0d7d7570a525631ee291f2 SHA1 4a4700f1f405e740c62b6a7493755e2d036c0294 SHA256 26e5605801b0a5a4c47a848835087002833132ca5919cf0e15efa4145a59c0a8
+MISC metadata.xml 267 RMD160 20f48fc2e9335f1a2d0e3abb1c85cff3016d9481 SHA1 ab68ff1a621217ed8ea15b9e23ea0e93208685ec SHA256 4bb19d2289d86087ec468dd097eac1a5e84c19a9ccf1a5fee36dc1bf87c347a7
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.17 (GNU/Linux)
+
+iQIcBAEBCAAGBQJN+lJ2AAoJELy9dS57CHJBjX0QAJBBCarP6BskJimSps1nGVBE
+PTu4RlIYQXkDrPTKFz35BZYAffKo8t3BSK1XmydlhcksOogL1lVv9sIs98fhawoi
+Cmkw2FNNqu15HPOrSMDPCdQmXMv+3OQ5C/5TZPM/UxoyHe9iVP0Sb4ELAarhVWz4
+jC/qH/gM9rh2ndCk8CTaDXR5o86vkdRiuQV6SF3gkVFie4D5JW71ZEu1DckSpqLw
+IvGCnBodimkEALp9pvDTgZxzdX9YDKabHzAB43X3ABt09myZ5CzHaNxSx7QbTgtz
+NLJZqsIk2dIaJZL0Kz+gcdijZHD6frJu7VBKwktt7ly27p9uqMSztrpJ+5BQcN09
+Q4iv6PgoSNpM1TYM7zb4I23/QL2Y0aavrX+pb4dllLi60UBhYIGYqnXH8IQ8AqlN
+7tJUls6qQRBO6OsoWB0B3dACqw7QnJTRtiktNflDq8zXzUhBoKw7twF+Oid3GDDn
+aKxTW0Q8/5n5uh2mx62ND9WGF8M2JDpsAuhR7tSdm9oDi4gGZyu8rFOdVp8XLvhB
+nKIXpPNRVzbgwScIMxP1AQD6IjRK6M0AXGaPRiT+PM/c8i3iXPIe5agJNY3QBwHi
+jTGK3jawxUFpa/E25tSlPWrwVpr+OKWAD9I5x6MnDpwwSR+/SGArUdmc2VQjg0EV
+hD+2swJF4y0OIVNv9X8/
+=hHml
+-----END PGP SIGNATURE-----
diff --git a/dev-vcs/fromcvs/fromcvs-0_pre132.ebuild b/dev-vcs/fromcvs/fromcvs-0_pre132.ebuild
new file mode 100644
index 000000000000..3ed8fda775ba
--- /dev/null
+++ b/dev-vcs/fromcvs/fromcvs-0_pre132.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/fromcvs/fromcvs-0_pre132.ebuild,v 1.1 2011/06/16 18:58:34 sochotnicky Exp $
+
+EAPI=2
+
+USE_RUBY="ruby18 ree18"
+
+#mercurial after ruby!
+inherit ruby-ng mercurial
+
+MY_PV="${PV#0_pre}"
+
+DESCRIPTION="fromcvs converts cvs to git and hg"
+HOMEPAGE="http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs"
+SRC_URI=""
+EHG_REPO_URI="http://ww2.fs.ei.tum.de/~corecode/hg/fromcvs"
+EHG_REVISION="${MY_PV}"
+
+LICENSE="BSD-4"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+RUBY_S="${PN}-${PV}"
+
+RDEPEND="dev-ruby/rcsparse >=dev-ruby/rbtree-0.3.0-r2 dev-vcs/git"
+
+# this is a workaround because combination of ruby-ng and mercurial is
+# not working correctly for unpacking
+src_prepare() {
+ for rubyv in ${USE_RUBY};do
+ mkdir "${WORKDIR}/${rubyv}"
+ cp -prl "${S}" "${WORKDIR}/${rubyv}/${RUBY_S}"
+ done
+}
+
+each_ruby_install() {
+ siteruby=$(${RUBY} -r rbconfig -e 'print Config::CONFIG["sitedir"]')
+ insinto ${siteruby}
+ doins *.rb || die "Installation of rb files failed"
+
+ make_script togit
+ make_script tohg
+}
+
+make_script() {
+ echo "ruby /usr/$(get_libdir)/ruby/site_ruby/$1.rb \$@" > $1
+ dobin $1
+}
diff --git a/dev-vcs/fromcvs/metadata.xml b/dev-vcs/fromcvs/metadata.xml
new file mode 100644
index 000000000000..7c1e9877610e
--- /dev/null
+++ b/dev-vcs/fromcvs/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>sochotnicky@gentoo.org</email>
+ <name>Stanislav Ochotnicky</name>
+ </maintainer>
+</pkgmetadata>
+