From 832c1adbd377e4eeb28a6e2beae4430fe0465294 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 23 Jul 2008 17:24:58 +0000 Subject: [PATCH] www-apps/trac-spam-filter: Bump to 0.11 git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@405 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-spam-filter/ChangeLog | 4 ++ www-apps/trac-spam-filter/Manifest | 3 +- .../trac-spam-filter-0.2.1.ebuild | 39 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 www-apps/trac-spam-filter/trac-spam-filter-0.2.1.ebuild diff --git a/www-apps/trac-spam-filter/ChangeLog b/www-apps/trac-spam-filter/ChangeLog index d951c6c7..abf212cc 100644 --- a/www-apps/trac-spam-filter/ChangeLog +++ b/www-apps/trac-spam-filter/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 23 Jul 2008; Mario Fetka + +trac-spam-filter-0.2.1.ebuild: + Bump to 0.11 + 23 Jul 2008; Mario Fetka +trac-spam-filter-0.2.ebuild: Bump to 0.11 diff --git a/www-apps/trac-spam-filter/Manifest b/www-apps/trac-spam-filter/Manifest index c79dc0b3..76a4bae6 100644 --- a/www-apps/trac-spam-filter/Manifest +++ b/www-apps/trac-spam-filter/Manifest @@ -1,4 +1,5 @@ EBUILD trac-spam-filter-0.1.ebuild 1208 RMD160 8bda3029891d7c016063927a23e1f42fe807fa84 SHA1 888b5d78d9cf400683130c1ecb3c73ba36a81b21 SHA256 c992dba5827c3d7289ee61154a4efdecb4a14f6b164c81fb6b8bd72d9f6960d1 +EBUILD trac-spam-filter-0.2.1.ebuild 1208 RMD160 49539bbacba5b804811947250ab47ebc2a9ac169 SHA1 928f2794411f8e13fc475410d63a34ddbb482400 SHA256 7916f0aae722fa322b5b8d71ae9e3cb1c8719c665f45fdf730e3d2d08867cc8f EBUILD trac-spam-filter-0.2.ebuild 1208 RMD160 49539bbacba5b804811947250ab47ebc2a9ac169 SHA1 928f2794411f8e13fc475410d63a34ddbb482400 SHA256 7916f0aae722fa322b5b8d71ae9e3cb1c8719c665f45fdf730e3d2d08867cc8f -MISC ChangeLog 300 RMD160 d29a34b372c88aea8d7680d66cf5ee15abe1935d SHA1 92d51216c5f112ec2304ad3e0c745176fc142ada SHA256 3eb683ba99e316fb17dfc8e96ea39ad2cd0b7f764525ed4453e9f5a91f24f53b +MISC ChangeLog 398 RMD160 f060fbe6245e80115aa729c4edfe4ba23eaead0b SHA1 119aadd76863c2667c93134fcb566031ecace86a SHA256 c383d175af7352cca91416d89e68007973a5981ec9f555d094d8c6ba7f6cbca2 MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/www-apps/trac-spam-filter/trac-spam-filter-0.2.1.ebuild b/www-apps/trac-spam-filter/trac-spam-filter-0.2.1.ebuild new file mode 100644 index 00000000..0685483e --- /dev/null +++ b/www-apps/trac-spam-filter/trac-spam-filter-0.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/trac-webadmin/trac-webadmin-0.1.2.ebuild,v 1.4 2007/02/13 20:39:33 corsair Exp $ + +inherit distutils subversion + +ESVN_REPO_URI="http://svn.edgewall.com/repos/trac/sandbox/spam-filter" +DESCRIPTION="A Trac plugin for reject contributions that contain spam." +HOMEPAGE="http://trac.edgewall.org/wiki/SpamFilter" +# SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="trac" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +SLOT="0" + +DEPEND=">=www-apps/trac-0.10 + >=dev-python/setuptools-0.6_rc1" + +# from marienz's setuptools.eclass: +src_install() { + "${python}" setup.py install --root=${D} --no-compile \ + --single-version-externally-managed "$@" || die "install failed" +} + +src_test() { + "${python}" setup.py test || die "tests failed" +} + +pkg_postinst() { + elog "To enable the SpamFilter plugin in your Trac environments, you have to add:" + elog " [components]" + elog " tracspamfilter.* = enabled" + elog "to your trac.ini files." + elog + elog "Since version 0.2, the SpamFilter plugin provides integration with WebAdmin" + elog "for configuration, monitoring, and training." +}