summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2010-03-26 20:24:46 +0000
committerSebastian Pipping <sping@gentoo.org>2010-03-26 20:24:46 +0000
commitc8d7bd83f3bd07673e3ec75822a1d0aee2394ff0 (patch)
tree0c375799805e17bbda9ae959fe8e8170da7dbe21 /dev-vcs
parentDrop mask for gcc-config-1.5. It seems to work after some fixes, but it's st... (diff)
downloadhistorical-c8d7bd83f3bd07673e3ec75822a1d0aee2394ff0.tar.gz
historical-c8d7bd83f3bd07673e3ec75822a1d0aee2394ff0.tar.bz2
historical-c8d7bd83f3bd07673e3ec75822a1d0aee2394ff0.zip
dev-vcs/cvs2svn: New package (copied from dev-util/cvs2svn)
Package-Manager: portage-2.2_rc67_p26/cvs/Linux i686 RepoMan-Options: --force
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/cvs2svn/ChangeLog129
-rw-r--r--dev-vcs/cvs2svn/Manifest17
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-1.5.0.ebuild39
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild39
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-2.0.1.ebuild39
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-2.1.0.ebuild39
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-2.1.1.ebuild39
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild48
-rw-r--r--dev-vcs/cvs2svn/cvs2svn-2.3.0.ebuild48
-rw-r--r--dev-vcs/cvs2svn/files/2.2.0-deprecated-modules.patch54
-rw-r--r--dev-vcs/cvs2svn/metadata.xml11
11 files changed, 502 insertions, 0 deletions
diff --git a/dev-vcs/cvs2svn/ChangeLog b/dev-vcs/cvs2svn/ChangeLog
new file mode 100644
index 000000000000..91b5095ac85d
--- /dev/null
+++ b/dev-vcs/cvs2svn/ChangeLog
@@ -0,0 +1,129 @@
+# ChangeLog for dev-vcs/cvs2svn
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/ChangeLog,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+ 26 Mar 2010; Sebastian Pipping <sping@gentoo.org>
+ +files/2.2.0-deprecated-modules.patch, +cvs2svn-1.5.0.ebuild,
+ +cvs2svn-1.5.1.ebuild, +cvs2svn-2.0.1.ebuild, +cvs2svn-2.1.0.ebuild,
+ +cvs2svn-2.1.1.ebuild, +cvs2svn-2.2.0.ebuild, +cvs2svn-2.3.0.ebuild,
+ +metadata.xml:
+ New package (copied from dev-util/cvs2svn)
+
+*cvs2svn-2.3.0 (24 Mar 2010)
+
+ 24 Mar 2010; Robin H. Johnson <robbat2@gentoo.org> +cvs2svn-2.3.0.ebuild:
+ Bug #306821: version bump.
+
+ 05 Mar 2010; Ulrich Mueller <ulm@gentoo.org> cvs2svn-1.5.0.ebuild,
+ cvs2svn-1.5.1.ebuild, cvs2svn-2.0.1.ebuild, cvs2svn-2.1.0.ebuild,
+ cvs2svn-2.1.1.ebuild, cvs2svn-2.2.0.ebuild:
+ Update dev-vcs/rcs dependency after package move, bug 56967.
+
+ 08 Feb 2010; Peter Volkov <pva@gentoo.org> cvs2svn-2.2.0.ebuild:
+ Add inherit eutils for epatch.
+
+ 15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> cvs2svn-2.2.0.ebuild:
+ Transfer Prefix keywords
+
+ 28 May 2009; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ give up the package to some people that want it
+
+ 27 May 2009; Petteri Räty <betelgeuse@gentoo.org>
+ +files/2.2.0-deprecated-modules.patch, cvs2svn-2.2.0.ebuild:
+ Fix src_test and don't use deprecated modules in python >= 2.5. Fixes bug
+ #247023.
+
+*cvs2svn-2.2.0 (01 Feb 2009)
+
+ 01 Feb 2009; Hans de Graaff <graaff@gentoo.org> +cvs2svn-2.2.0.ebuild:
+ Version bump as discussed in #247023. Thanks to Sven for providing the ebuild.
+
+ 19 Nov 2008; Raúl Porcel <armin76@gentoo.org> cvs2svn-2.1.1.ebuild:
+ ia64 stable wrt #246644
+
+ 18 Nov 2008; Tobias Scherbaum <dertobi123@gentoo.org>
+ cvs2svn-2.1.1.ebuild:
+ ppc stable, bug #246644
+
+ 16 Nov 2008; Tobias Klausmann <klausman@gentoo.org> cvs2svn-2.1.1.ebuild:
+ Stable on alpha, bug #246644
+
+ 15 Nov 2008; Markus Meier <maekke@gentoo.org> cvs2svn-2.1.1.ebuild:
+ amd64/x86 stable, bug #246644
+
+*cvs2svn-2.1.1 (21 Aug 2008)
+
+ 21 Aug 2008; Doug Goldstein <cardoe@gentoo.org> +cvs2svn-2.1.1.ebuild:
+ version bump. bug #219415
+
+ 09 Jun 2008; Mike Frysinger <vapier@gentoo.org> cvs2svn-2.1.0.ebuild:
+ Remove duplicate src_test, update old doins line, and do not mention ROOT
+ in pkg_postinst.
+
+*cvs2svn-2.1.0 (18 Mar 2008)
+
+ 18 Mar 2008; Doug Goldstein <cardoe@gentoo.org> +cvs2svn-2.1.0.ebuild:
+ version bump. bug #213802
+
+*cvs2svn-2.0.1 (14 Dec 2007)
+*cvs2svn-1.5.1 (14 Dec 2007)
+
+ 14 Dec 2007; Doug Klima <cardoe@gentoo.org> -cvs2svn-1.1.0.ebuild,
+ cvs2svn-1.5.0.ebuild, +cvs2svn-1.5.1.ebuild, +cvs2svn-2.0.1.ebuild:
+ add new version requested from bug #202233. remove old version
+
+ 03 Jun 2007; Raúl Porcel <armin76@gentoo.org> cvs2svn-1.5.0.ebuild:
+ alpha stable wrt #159298
+
+ 26 Mar 2007; Raúl Porcel <armin76@gentoo.org> cvs2svn-1.5.0.ebuild:
+ ia64 stable wrt bug 159298
+
+ 26 Mar 2007; Doug Goldstein <cardoe@gentoo.org> cvs2svn-1.5.0.ebuild:
+ Fix up Subversion depends
+
+ 06 Feb 2007; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
+ Since Aron retired, I'll take over
+
+ 31 Jan 2007; Doug Goldstein <cardoe@gentoo.org> cvs2svn-1.5.0.ebuild:
+ amd64 stable
+
+ 21 Jan 2007; Andrej Kacian <ticho@gentoo.org> cvs2svn-1.5.0.ebuild:
+ Stable on x86, bug #159298.
+
+ 17 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> cvs2svn-1.5.0.ebuild:
+ Manpage added. Example- and contrib-scripts added.
+
+*cvs2svn-1.5.0 (17 Nov 2006)
+
+ 17 Nov 2006; Tiziano Müller <dev-zero@gentoo.org> -cvs2svn-1.2.1.ebuild,
+ -cvs2svn-1.3.0.ebuild, +cvs2svn-1.5.0.ebuild:
+ Version bump. Dropped old versions.
+
+*cvs2svn-1.3.0 (29 Aug 2005)
+
+ 29 Aug 2005; Seemant Kulleen <seemant@gentoo.org> +cvs2svn-1.3.0.ebuild:
+ version bump to newest upstream release -- this release fixes a _lot_ of
+ bugs, but one of the tests in the testsuite fails -- known issue and
+ upstream is aware of it. Thanks a bunch to both Brian Fitzpatrick and Karl
+ Fogel (upstream authors) for this release.
+
+ 07 May 2005; David Holm <dholm@gentoo.org> cvs2svn-1.2.1.ebuild:
+ Added to ~ppc.
+
+*cvs2svn-1.2.1 (14 Mar 2005)
+
+ 14 Mar 2005; Aron Griffis <agriffis@gentoo.org> cvs2svn-1.1.0.ebuild,
+ +cvs2svn-1.2.1.ebuild:
+ Mark 1.1.0 stable. Bump to 1.2.1 #78644
+
+ 05 Nov 2004; Aron Griffis <agriffis@gentoo.org> cvs2svn-1.1.0.ebuild:
+ add rcs dep; this script uses rcs to read directly from the cvs repo
+
+*cvs2svn-1.1.0 (05 Nov 2004)
+
+ 05 Nov 2004; Aron Griffis <agriffis@gentoo.org> +metadata.xml,
+ +cvs2svn-1.1.0.ebuild:
+ New ebuild for cvs2svn. I'm not sure when this was separated from
+ subversion proper, but it isn't present in 1.0.9 which is stable on
+ all arches.
+
diff --git a/dev-vcs/cvs2svn/Manifest b/dev-vcs/cvs2svn/Manifest
new file mode 100644
index 000000000000..7cfbbde834e8
--- /dev/null
+++ b/dev-vcs/cvs2svn/Manifest
@@ -0,0 +1,17 @@
+AUX 2.2.0-deprecated-modules.patch 1610 RMD160 9c2c0f73da231dd82f40805c55000cf826be700b SHA1 9eb977b6e60748abf260f053bb3c848accb08913 SHA256 bba424c4c3db73a46c3e49bdd740c228862b271a06249f0fdf28ddc88af0e301
+DIST cvs2svn-1.5.0.tar.gz 266057 RMD160 6acc681d913546d7750c3c0e1be4ebd75145fda7 SHA1 5e0095e6e9916bbd9dfee49854c48f85cd0c008c SHA256 12c282757043b8ffc98443175cbac218119e92ccc73e942da447659efaf23274
+DIST cvs2svn-1.5.1.tar.gz 266476 RMD160 25d6468f626bff33985ff5a46443f4c14f3a82a8 SHA1 25cd9f9fa2a195d3101da325ca4552d6806e1b30 SHA256 75e97351af93ee9e4803b5285e7f18f280e0f258d7e9139a1a1bf84e34146179
+DIST cvs2svn-2.0.1.tar.gz 344924 RMD160 d512c4f24a136d28460112d75e1f820306a55caa SHA1 1c7784e06d518fbac1c7198e1e6464da1155eb89 SHA256 323c16ba865106856f82cf8d278741735e433e6a56b00207b75408fb7ef7ebdd
+DIST cvs2svn-2.1.0.tar.gz 389401 RMD160 5e0056129f8bf6a33689ec5cd76ecfcefdec85d2 SHA1 c60d990f39fa297b8e4c2b51f312030ae1333446 SHA256 b698b8aa138d3d8af07067f47068e9279871f4edbe2864ed056cf8a5a274ed54
+DIST cvs2svn-2.1.1.tar.gz 389645 RMD160 a13171a2b53e4b8030e1bd5dabf305cac027a436 SHA1 e26bfcc59bb18159718bce7cbc01ad1c9bfa52e9 SHA256 bd724fb615a5ac1ea1f7aaa62cafad3404d82b9fd1922a1028b81ad0672f9f10
+DIST cvs2svn-2.2.0.tar.gz 411531 RMD160 25a6713516ef6bd13c7ed2f7f52427fba2572866 SHA1 88be25a4d2f2b75be0b89f94357fd52a7dd1fbe9 SHA256 372c57cfea369637cd49fd9d685d1ebaa2e84a9cf4ad301fcc63f9cb42161bea
+DIST cvs2svn-2.3.0.tar.gz 479373 RMD160 83440b4c152b8116b1e6706133c1919a0acfa4b9 SHA1 545237805ddb241054ba40b105b9c29b705539b8 SHA256 d9d835e0c7df48966fbadf51527c25ebf1343b25179e3802f4637d4b96ba363e
+EBUILD cvs2svn-1.5.0.ebuild 1031 RMD160 c067e68e19fabad7594c243af68981047ffbeac5 SHA1 b93840b981ad6798cac09cb6433fb73d751461c9 SHA256 186a3ac06eb3aeacb97c45d920b6362cca55d940a6a53ee8ae12275725fb74d9
+EBUILD cvs2svn-1.5.1.ebuild 1035 RMD160 e3852545f651b63663694fa0c09e7cd697f4d60a SHA1 81212c558818660641e437aae8666e50bbd0fc14 SHA256 3ac7583367b535dbb63ad7ddcc0734f46f68e8343d67bee22c72b243039016cd
+EBUILD cvs2svn-2.0.1.ebuild 1035 RMD160 7c91a2eb41fdec8dc71195ecfda39eee0fd4f472 SHA1 6ea6e2ec1791f11663d4d9a68fe9d07a976990c1 SHA256 c93b8e0c627c9cf176ba3646c71ef69d046688d5b30a92e16983df1c012d964b
+EBUILD cvs2svn-2.1.0.ebuild 985 RMD160 2aa43617a555e87669f9e207510b8721a26e40ab SHA1 dfe371a8d8e8e8f0470807d1960f89a782bdfcdb SHA256 7820051b202003d6218f47cc4a9e5bdedbc21171d77d046cda4d2e699bdc96b2
+EBUILD cvs2svn-2.1.1.ebuild 1022 RMD160 a6c9eeab4be9f99a8ff3b6bfd8ea7ac70eb80088 SHA1 d4d801c925e0b64dedb1b8fe5cecd78c524d413c SHA256 2191ed98b2ae54995fbe41699e6ff69089c07fe4ddfaf94d01c1bf7d66d98047
+EBUILD cvs2svn-2.2.0.ebuild 1206 RMD160 3b4a857e6088fb00d7a99a58f9410924e1f289f4 SHA1 92673bd47f802d97ae3c5910a792d6bc886241a8 SHA256 477eca972aaf21350f17dc07c2af934823578de36210ea2dfdfcc19e36e4e67f
+EBUILD cvs2svn-2.3.0.ebuild 1168 RMD160 7bbd7a4d2da24a511d51a95b8a425c178c8b00f6 SHA1 83ac25d579dff8500f9ae1664d4dfa3f477b9e12 SHA256 3ed03fbe698da3a9ba41313c4d9f155260b375cdf0f493880a621ca8d3ef0a44
+MISC ChangeLog 4690 RMD160 a81acffd6c3c00df6b3f9e1bd75d4b8719729f7d SHA1 a942590082c61c8e6a1187e0301e14b6fc06f84e SHA256 53857a9171a6151d880792a48b12b162ed7fc24f7404eef3a097d0e3b0954282
+MISC metadata.xml 289 RMD160 8f224adb911929a5b7e8574a7303208de915d748 SHA1 aaa41cbd407071a7f2bca5189445648434600a28 SHA256 84cceca512caa2d85b45dbf29b3b8bbca5d0349deb9de402eb5ddeaaa6bf5c7e
diff --git a/dev-vcs/cvs2svn/cvs2svn-1.5.0.ebuild b/dev-vcs/cvs2svn/cvs2svn-1.5.0.ebuild
new file mode 100644
index 000000000000..872f3d27ac0c
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-1.5.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-1.5.0.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+inherit distutils
+
+FILEVER="34574"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~ppc x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options {profile-repos,show-db,verify-cvs2svn}.py
+ doman cvs2svn.1
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " ${ROOT}usr/share/${PN}/"
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python run-tests.py || die "tests failed"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild b/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild
new file mode 100644
index 000000000000..0265ab13e3cd
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-1.5.1.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+inherit distutils
+
+FILEVER="36129"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options {profile-repos,show-db,verify-cvs2svn}.py
+ doman cvs2svn.1
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " ${ROOT}usr/share/${PN}/"
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python run-tests.py || die "tests failed"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-2.0.1.ebuild b/dev-vcs/cvs2svn/cvs2svn-2.0.1.ebuild
new file mode 100644
index 000000000000..0d06cc352511
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-2.0.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.0.1.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+inherit distutils
+
+FILEVER="39919"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options {profile-repos,show-db,verify-cvs2svn}.py
+ doman cvs2svn.1
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " ${ROOT}usr/share/${PN}/"
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python run-tests.py || die "tests failed"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-2.1.0.ebuild b/dev-vcs/cvs2svn/cvs2svn-2.1.0.ebuild
new file mode 100644
index 000000000000..aaf11c58ca18
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-2.1.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.1.0.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+inherit distutils
+
+FILEVER="41596"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options
+ doman cvs2svn.1
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python run-tests.py || die "tests failed"
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " /usr/share/${PN}/"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-2.1.1.ebuild b/dev-vcs/cvs2svn/cvs2svn-2.1.1.ebuild
new file mode 100644
index 000000000000..015f9a5c68f8
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-2.1.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.1.1.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+inherit distutils
+
+FILEVER="42521"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ppc x86"
+IUSE=""
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options {profile-repos,show-db,verify-cvs2svn}.py
+ doman cvs2svn.1
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python run-tests.py || die "tests failed"
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " /usr/share/${PN}/"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild b/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild
new file mode 100644
index 000000000000..351af1bd8eb8
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.2.0.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+EAPI="2"
+PYTHON_USE_WITH_OR="berkdb gdbm"
+PYTHON_USE_WITH_OPT="test"
+
+inherit eutils distutils
+
+FILEVER="44372"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="test"
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_prepare() {
+ epatch "${FILESDIR}/2.2.0-deprecated-modules.patch"
+ distutils_src_prepare
+}
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2svn-example.options
+ doman cvs2svn.1
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python -W ignore run-tests.py || die "tests failed"
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " /usr/share/${PN}/"
+}
diff --git a/dev-vcs/cvs2svn/cvs2svn-2.3.0.ebuild b/dev-vcs/cvs2svn/cvs2svn-2.3.0.ebuild
new file mode 100644
index 000000000000..60963ef5c4c0
--- /dev/null
+++ b/dev-vcs/cvs2svn/cvs2svn-2.3.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/cvs2svn/cvs2svn-2.3.0.ebuild,v 1.1 2010/03/26 20:24:46 sping Exp $
+
+EAPI="2"
+PYTHON_USE_WITH_OR="berkdb gdbm"
+PYTHON_USE_WITH_OPT="test"
+
+inherit eutils distutils
+
+FILEVER="46528"
+
+DESCRIPTION="Convert a CVS repository to a Subversion repository"
+HOMEPAGE="http://cvs2svn.tigris.org/"
+SRC_URI="http://cvs2svn.tigris.org/files/documents/1462/${FILEVER}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="test"
+
+DEPEND="dev-lang/python
+ >=dev-util/subversion-1.0.9"
+RDEPEND="${DEPEND}
+ dev-vcs/rcs"
+
+src_compile() {
+ distutils_src_compile
+ emake man
+}
+
+src_install() {
+ distutils_src_install
+ insinto "/usr/share/${PN}"
+ doins -r contrib cvs2{svn,git,bzr}-example.options
+ doman *.1
+}
+
+src_test() {
+ # Need this because subversion is localized, but the tests aren't
+ export LC_ALL=C
+ python -W ignore run-tests.py || die "tests failed"
+}
+
+pkg_postinst() {
+ elog "Additional scripts and examples have been installed to:"
+ elog " /usr/share/${PN}/"
+}
diff --git a/dev-vcs/cvs2svn/files/2.2.0-deprecated-modules.patch b/dev-vcs/cvs2svn/files/2.2.0-deprecated-modules.patch
new file mode 100644
index 000000000000..94ceaa2b2fa2
--- /dev/null
+++ b/dev-vcs/cvs2svn/files/2.2.0-deprecated-modules.patch
@@ -0,0 +1,54 @@
+Index: cvs2svn_lib/dumpfile_delegate.py
+===================================================================
+--- cvs2svn_lib/dumpfile_delegate.py (revision 4808)
++++ cvs2svn_lib/dumpfile_delegate.py (working copy)
+@@ -16,9 +16,11 @@
+
+ """This module contains database facilities used by cvs2svn."""
+
++try:
++ from hashlib import md5
++except ImportError:
++ from md5 import new as md5
+
+-import md5
+-
+ from cvs2svn_lib import config
+ from cvs2svn_lib.common import FatalError
+ from cvs2svn_lib.common import InternalError
+@@ -320,7 +322,7 @@
+ self.dumpfile.write(prop_contents)
+
+ # Insert the rev contents, calculating length and checksum as we go.
+- checksum = md5.new()
++ checksum = md5()
+ length = 0
+ if buf is None:
+ buf = stream.read(config.PIPE_READ_SIZE)
+Index: cvs2svn_lib/metadata_database.py
+===================================================================
+--- cvs2svn_lib/metadata_database.py (revision 4808)
++++ cvs2svn_lib/metadata_database.py (working copy)
+@@ -16,9 +16,11 @@
+
+ """This module contains classes to manage CVSRevision metadata."""
+
++try:
++ from hashlib import sha1
++except ImportError:
++ from sha import new as sha1
+
+-import sha
+-
+ from cvs2svn_lib.context import Ctx
+ from cvs2svn_lib.database import IndexedDatabase
+ from cvs2svn_lib.key_generator import KeyGenerator
+@@ -86,7 +88,7 @@
+ if not Ctx().cross_branch_commits:
+ key.append(branch_name or '')
+
+- digest = sha.new('\0'.join(key)).digest()
++ digest = sha1('\0'.join(key)).digest()
+ try:
+ # See if it is already known:
+ return self._digest_to_id[digest]
diff --git a/dev-vcs/cvs2svn/metadata.xml b/dev-vcs/cvs2svn/metadata.xml
new file mode 100644
index 000000000000..e9760487284b
--- /dev/null
+++ b/dev-vcs/cvs2svn/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+<maintainer>
+ <email>betelgeuse@gentoo.org</email>
+</maintainer>
+</pkgmetadata>