Move package from dev-util to dev-vcs, bug 56967.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Mar 2010 20:48:09 +0000 (20:48 +0000)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Mar 2010 20:48:09 +0000 (20:48 +0000)
Package-Manager: portage-2.2_rc65/cvs/Linux i686

dev-vcs/svnmailer/ChangeLog [new file with mode: 0644]
dev-vcs/svnmailer/Manifest [new file with mode: 0644]
dev-vcs/svnmailer/files/svnmailer-1.0.8-python2.5.diff [new file with mode: 0644]
dev-vcs/svnmailer/metadata.xml [new file with mode: 0644]
dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild [new file with mode: 0644]

diff --git a/dev-vcs/svnmailer/ChangeLog b/dev-vcs/svnmailer/ChangeLog
new file mode 100644 (file)
index 0000000..300dda6
--- /dev/null
@@ -0,0 +1,47 @@
+# ChangeLog for dev-vcs/svnmailer
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/ChangeLog,v 1.1 2010/03/06 20:48:08 ulm Exp $
+
+  06 Mar 2010; Ulrich Mueller <ulm@gentoo.org> +svnmailer-1.0.8-r2.ebuild,
+  +files/svnmailer-1.0.8-python2.5.diff, +metadata.xml:
+  Move package from dev-util to dev-vcs, bug 56967.
+
+  27 Sep 2008; Petteri Räty <betelgeuse@gentoo.org>
+  svnmailer-1.0.8-r2.ebuild:
+  Use EAPI 2 use dependencies instead of built_with_use.
+
+  27 Sep 2008; Petteri Räty <betelgeuse@gentoo.org>
+  -svnmailer-1.0.8.ebuild, -svnmailer-1.0.8-r1.ebuild:
+  Remove old ebuilds.
+
+  28 May 2008; Christian Heim <phreak@gentoo.org> metadata.xml:
+  Removing Andrew Ross (aross) from metadata.xml (as per #139633). Assigning
+  to maintainer-needed.
+
+*svnmailer-1.0.8-r2 (06 Apr 2008)
+
+  06 Apr 2008; Hanno Boeck <hanno@gentoo.org>
+  +files/svnmailer-1.0.8-python2.5.diff, +svnmailer-1.0.8-r2.ebuild:
+  Patch for Python 2.5.
+
+*svnmailer-1.0.8-r1 (26 Jan 2007)
+
+  26 Jan 2007; Andrew Ross <aross@gentoo.org> +svnmailer-1.0.8-r1.ebuild:
+  Detect when subversion was built without USE=python, thanks to Nicolas
+  Litchinko <n.litchinko@noos.fr> in bug #163933
+
+  26 Jan 2007; Andrew Ross <aross@gentoo.org> metadata.xml,
+  svnmailer-1.0.8.ebuild:
+  Take over maintainership from retired dev (bug #73878). Install HTML docs in
+  the correct location (bug #157575).
+
+  30 Jun 2006; Sebastian Bergmann <sebastian@gentoo.org>
+  svnmailer-1.0.8.ebuild:
+  Mark ~amd64.
+
+*svnmailer-1.0.8 (30 Jun 2006)
+
+  30 Jun 2006; Sebastian Bergmann <sebastian@gentoo.org> +metadata.xml,
+  +svnmailer-1.0.8.ebuild:
+  Initial ebuild, based upon work by Andre Malo <nd@apache.org>.
+
diff --git a/dev-vcs/svnmailer/Manifest b/dev-vcs/svnmailer/Manifest
new file mode 100644 (file)
index 0000000..d99471e
--- /dev/null
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX svnmailer-1.0.8-python2.5.diff 1604 RMD160 931d416333f6eebaf78e6d4da920b683a3c5b8a8 SHA1 af722338c04e1c5fd790ac4f6b7b91f81edd5201 SHA256 2e773c5ff4aab414ede7e367fd66abf0cec3d94135fa7ef674268803979af119
+DIST svnmailer-1.0.8.tar.bz2 253483 RMD160 551e716e55f48c69b9f7dd6703fdedbc51c2a452 SHA1 792acbb340055fbf232d5fcd6c35fe932e0f6d46 SHA256 21e214e8b9d649ed5f24921d2034a01bb39cf0109e989c3803fe71c6e8fd3081
+EBUILD svnmailer-1.0.8-r2.ebuild 780 RMD160 26e8658962c88e9594be7f6dbe6a787f6f2eaca4 SHA1 e526639288fc46769256db09f8877498a695d7de SHA256 8dedb9ea50d240cb563a46f67b962bedf85791c3541619498972aa6fe162f035
+MISC ChangeLog 1732 RMD160 f2d9fa1e595e15a79487214e91961e747c8d41e3 SHA1 5c07e23df4f62adf827eaabc23a69f5761abeed4 SHA256 e927e5fef747e20d3f221102e6a5b3595ecf5b680b0a983a1796d86f43a71183
+MISC metadata.xml 287 RMD160 e6ba611cf733a0c57ef098349ba9af1c17310864 SHA1 3d2007c5f573908a28d960f4ab42717d7cf16b88 SHA256 ff35bacb1640be1e7e11c9954a90bc073c4f9cf0526559881fe8d60d47cf5fe1
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.10 (GNU/Linux)
+
+iEYEARECAAYFAkuSv5AACgkQOeoy/oIi7uxBhgCcD+7sluFUKd1gVgCNmYRybUpG
+R7QAoN1Ktp+3AfMjX4kVZElaIIjbz2eG
+=5AUM
+-----END PGP SIGNATURE-----
diff --git a/dev-vcs/svnmailer/files/svnmailer-1.0.8-python2.5.diff b/dev-vcs/svnmailer/files/svnmailer-1.0.8-python2.5.diff
new file mode 100644 (file)
index 0000000..348f26f
--- /dev/null
@@ -0,0 +1,47 @@
+Index: src/lib/svnmailer/notifier/_base.py
+===================================================================
+--- src/lib/svnmailer/notifier/_base.py
++++ src/lib/svnmailer/notifier/_base.py        2007-05-01 00:54:23.000000000 +0200
+@@ -345,7 +345,6 @@
+             @return: The two encodings
+             @rtype: C{tuple} of C{str}
+         """
+-        from encodings import exceptions
+ 
+         enc1 = enc2 = default
+         if not change.wasAdded() or change.wasCopied():
+@@ -353,7 +352,7 @@
+                 enc1 = self._getContentEncoding(
+                     change.getBasePath(), change.getBaseRevision()
+                 )
+-            except exceptions.LookupError:
++            except LookupError:
+                 # fall back
+                 pass
+ 
+@@ -364,7 +363,7 @@
+                 enc2 = self._getContentEncoding(
+                     change.path, change.revision
+                 )
+-            except exceptions.LookupError:
++            except LookupError:
+                 # fall back
+                 pass
+ 
+@@ -389,7 +388,6 @@
+             @exception encodings.exception.LookupError: The specified encoding
+                 is not implemented or no encoding was specified
+         """
+-        from encodings import exceptions
+ 
+         # first try the svn:mime-type
+         enc = self.getEncodingFromMimeType(path, revision)
+@@ -427,7 +425,7 @@
+             codecs.lookup(enc)
+             return enc
+ 
+-        raise exceptions.LookupError("No Encoding configured")
++        raise LookupError("No Encoding configured")
+ 
+ 
+     def getEncodingFromMimeType(self, path, revision):
diff --git a/dev-vcs/svnmailer/metadata.xml b/dev-vcs/svnmailer/metadata.xml
new file mode 100644 (file)
index 0000000..50f3f2b
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+  <email>maintainer-needed@gentoo.org</email>
+  <name>Default assignee for orphaned packages</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild b/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild
new file mode 100644 (file)
index 0000000..dd9cb3c
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/svnmailer/svnmailer-1.0.8-r2.ebuild,v 1.1 2010/03/06 20:48:08 ulm Exp $
+
+EAPI=2
+
+inherit distutils eutils
+
+DESCRIPTION="A subversion commit notifier written in Python"
+HOMEPAGE="http://opensource.perlig.de/svnmailer/"
+SRC_URI="http://storage.perlig.de/svnmailer/${P}.tar.bz2"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-lang/python-2.3"
+RDEPEND="${DEPEND}
+       dev-util/subversion[python]
+       virtual/mta"
+
+DOCS="CHANGES NOTICE CREDITS"
+
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-python2.5.diff
+}
+
+src_install() {
+       distutils_src_install
+       dohtml -r docs/* || die "failed to install HTML documentation"
+}