summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ross <aross@gentoo.org>2007-01-27 00:00:29 +0000
committerAndrew Ross <aross@gentoo.org>2007-01-27 00:00:29 +0000
commit047b6d01c3f39c220a2176d5ca08582fba9fbae9 (patch)
treef882fb052e9cea5fea4fae2ee15164f395426d81 /dev-util/svnmailer
parentVersion bump, remove old version. (diff)
downloadgentoo-2-047b6d01c3f39c220a2176d5ca08582fba9fbae9.tar.gz
gentoo-2-047b6d01c3f39c220a2176d5ca08582fba9fbae9.tar.bz2
gentoo-2-047b6d01c3f39c220a2176d5ca08582fba9fbae9.zip
Detect when subversion was built without USE=python (bug #163933).
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util/svnmailer')
-rw-r--r--dev-util/svnmailer/ChangeLog8
-rw-r--r--dev-util/svnmailer/files/digest-svnmailer-1.0.8-r13
-rw-r--r--dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild37
3 files changed, 47 insertions, 1 deletions
diff --git a/dev-util/svnmailer/ChangeLog b/dev-util/svnmailer/ChangeLog
index ba4f5c1d1ee4..e0acc4934cc8 100644
--- a/dev-util/svnmailer/ChangeLog
+++ b/dev-util/svnmailer/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-util/svnmailer
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/ChangeLog,v 1.3 2007/01/26 22:14:09 aross Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/ChangeLog,v 1.4 2007/01/27 00:00:29 aross Exp $
+
+*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:
diff --git a/dev-util/svnmailer/files/digest-svnmailer-1.0.8-r1 b/dev-util/svnmailer/files/digest-svnmailer-1.0.8-r1
new file mode 100644
index 000000000000..805665e8b7a7
--- /dev/null
+++ b/dev-util/svnmailer/files/digest-svnmailer-1.0.8-r1
@@ -0,0 +1,3 @@
+MD5 b4ea9caff6db64e7a415ac467e5e4b19 svnmailer-1.0.8.tar.bz2 253483
+RMD160 551e716e55f48c69b9f7dd6703fdedbc51c2a452 svnmailer-1.0.8.tar.bz2 253483
+SHA256 21e214e8b9d649ed5f24921d2034a01bb39cf0109e989c3803fe71c6e8fd3081 svnmailer-1.0.8.tar.bz2 253483
diff --git a/dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild b/dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild
new file mode 100644
index 000000000000..174cfe5fe0c1
--- /dev/null
+++ b/dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild,v 1.1 2007/01/27 00:00:29 aross Exp $
+
+inherit distutils eutils
+
+DESCRIPTION="A subversion commit notifier written in Python"
+SRC_URI="http://storage.perlig.de/svnmailer/${P}.tar.bz2"
+HOMEPAGE="http://opensource.perlig.de/svnmailer/"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+LICENSE="Apache-2.0"
+
+DEPEND=">=dev-lang/python-2.3"
+RDEPEND="${DEPEND}
+ dev-util/subversion
+ virtual/mta"
+
+DOCS="CHANGES NOTICE CREDITS"
+
+pkg_setup() {
+ if ! built_with_use dev-util/subversion python ; then
+ eerror "This package requires dev-util/subversion to be built with python support."
+ eerror "Please enable the python USE flag and remerge subversion."
+ elog "USE flags can be enabled globally in /etc/make.conf,"
+ elog "or for specific packages in /etc/portage/package.use."
+ die "dev-utils/subversion was built without python support"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+
+ dohtml -r docs/* || die "failed to install HTML documentation"
+}