From 8609c6ec6832891b4e120f1ac1fc4583b72451e6 Mon Sep 17 00:00:00 2001 From: Andrew Ross Date: Sat, 27 Jan 2007 00:00:29 +0000 Subject: [PATCH] Detect when subversion was built without USE=python (bug #163933). Package-Manager: portage-2.1.1-r2 --- dev-util/svnmailer/ChangeLog | 8 +++- dev-util/svnmailer/Manifest | 15 ++++++-- .../svnmailer/files/digest-svnmailer-1.0.8-r1 | 3 ++ dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild | 37 +++++++++++++++++++ 4 files changed, 58 insertions(+), 5 deletions(-) create mode 100644 dev-util/svnmailer/files/digest-svnmailer-1.0.8-r1 create mode 100644 dev-util/svnmailer/svnmailer-1.0.8-r1.ebuild 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 +svnmailer-1.0.8-r1.ebuild: + Detect when subversion was built without USE=python, thanks to Nicolas + Litchinko in bug #163933 26 Jan 2007; Andrew Ross metadata.xml, svnmailer-1.0.8.ebuild: diff --git a/dev-util/svnmailer/Manifest b/dev-util/svnmailer/Manifest index aed691706447..cd74f58f69c1 100644 --- a/dev-util/svnmailer/Manifest +++ b/dev-util/svnmailer/Manifest @@ -1,12 +1,16 @@ DIST svnmailer-1.0.8.tar.bz2 253483 RMD160 551e716e55f48c69b9f7dd6703fdedbc51c2a452 SHA1 792acbb340055fbf232d5fcd6c35fe932e0f6d46 SHA256 21e214e8b9d649ed5f24921d2034a01bb39cf0109e989c3803fe71c6e8fd3081 +EBUILD svnmailer-1.0.8-r1.ebuild 1125 RMD160 666e74dc44b335ba423ba6eadcd0e96adf2e3e51 SHA1 238085bf7d147de26d34826c9a704c229c0dfd02 SHA256 1fed22099a8c6dfa89b7df351869a1ce71d454bd9cb88af1812bfa0955c49a0c +MD5 e1ee334e05ceaab169be40c98cfc0258 svnmailer-1.0.8-r1.ebuild 1125 +RMD160 666e74dc44b335ba423ba6eadcd0e96adf2e3e51 svnmailer-1.0.8-r1.ebuild 1125 +SHA256 1fed22099a8c6dfa89b7df351869a1ce71d454bd9cb88af1812bfa0955c49a0c svnmailer-1.0.8-r1.ebuild 1125 EBUILD svnmailer-1.0.8.ebuild 697 RMD160 717fef81c50555a70903bbc2c1a9b2ea169cd93f SHA1 2611275e6f2bb3798d8b93f3ef96e3c89ea74aa7 SHA256 63cb5e90d322eb5f672c343d789f694a558ace5f747df1e6426983aa367e165d MD5 ecc0d63e25d59842152a6b3b87d082c6 svnmailer-1.0.8.ebuild 697 RMD160 717fef81c50555a70903bbc2c1a9b2ea169cd93f svnmailer-1.0.8.ebuild 697 SHA256 63cb5e90d322eb5f672c343d789f694a558ace5f747df1e6426983aa367e165d svnmailer-1.0.8.ebuild 697 -MISC ChangeLog 708 RMD160 e46ab6f8549c152d84e2323f417888c3daaaaaa0 SHA1 68b66b57b8faf8e52e7ccd5b60161e306f3af14f SHA256 89864655a03c7b43a67e90dcda749b8749c85f7a7532d647ff72940838a9c351 -MD5 5d29c098a8b36cbf1ebb72dc4ecab8b7 ChangeLog 708 -RMD160 e46ab6f8549c152d84e2323f417888c3daaaaaa0 ChangeLog 708 -SHA256 89864655a03c7b43a67e90dcda749b8749c85f7a7532d647ff72940838a9c351 ChangeLog 708 +MISC ChangeLog 940 RMD160 d9e65baf7a32632715e714dcbb0d01d91353bc52 SHA1 f58f885ae6e11da47e2675bef40d490c4e745b79 SHA256 bdb385279fc4ac9223dd1bad0d90ed5f233607e9182efe39fc8e14249f6aa3f3 +MD5 b6d9beef53c5c51e072e48841e50c1be ChangeLog 940 +RMD160 d9e65baf7a32632715e714dcbb0d01d91353bc52 ChangeLog 940 +SHA256 bdb385279fc4ac9223dd1bad0d90ed5f233607e9182efe39fc8e14249f6aa3f3 ChangeLog 940 MISC metadata.xml 224 RMD160 1c42b6ae01d2b437f69790768a8b0771be59f463 SHA1 8c60a30a6e5072220fd3c2fa26ddf18a6e0f5bce SHA256 43742b5a93d69175c1ce110c8e88e88e21f6aa5dce7226bfe22eba8fafb25b2b MD5 82c8b7f81d56d7fdc3a19390daa00797 metadata.xml 224 RMD160 1c42b6ae01d2b437f69790768a8b0771be59f463 metadata.xml 224 @@ -14,3 +18,6 @@ SHA256 43742b5a93d69175c1ce110c8e88e88e21f6aa5dce7226bfe22eba8fafb25b2b metadata MD5 1ae010e82def579e16588ab61797b81f files/digest-svnmailer-1.0.8 250 RMD160 b49f4b3f614f4dd05bef07469b42250b89aa682c files/digest-svnmailer-1.0.8 250 SHA256 8ee8a1266c54b152315ecc4e34597b8c0067ac8069a15719253780b921af8c93 files/digest-svnmailer-1.0.8 250 +MD5 1ae010e82def579e16588ab61797b81f files/digest-svnmailer-1.0.8-r1 250 +RMD160 b49f4b3f614f4dd05bef07469b42250b89aa682c files/digest-svnmailer-1.0.8-r1 250 +SHA256 8ee8a1266c54b152315ecc4e34597b8c0067ac8069a15719253780b921af8c93 files/digest-svnmailer-1.0.8-r1 250 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" +} -- 2.26.2