From b0cb020eef537d83067b8e107e9998b10e775ff0 Mon Sep 17 00:00:00 2001 From: geos_one Date: Wed, 23 Jul 2008 17:00:16 +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@403 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-spam-filter/ChangeLog | 4 ++ www-apps/trac-spam-filter/Manifest | 3 +- .../trac-spam-filter-0.2.ebuild | 39 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 www-apps/trac-spam-filter/trac-spam-filter-0.2.ebuild diff --git a/www-apps/trac-spam-filter/ChangeLog b/www-apps/trac-spam-filter/ChangeLog index 14694eef..d951c6c7 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.ebuild: + Bump to 0.11 + 16 Feb 2008; Mario Fetka ChangeLog: Initial checkin diff --git a/www-apps/trac-spam-filter/Manifest b/www-apps/trac-spam-filter/Manifest index b4461d97..c79dc0b3 100644 --- a/www-apps/trac-spam-filter/Manifest +++ b/www-apps/trac-spam-filter/Manifest @@ -1,3 +1,4 @@ EBUILD trac-spam-filter-0.1.ebuild 1208 RMD160 8bda3029891d7c016063927a23e1f42fe807fa84 SHA1 888b5d78d9cf400683130c1ecb3c73ba36a81b21 SHA256 c992dba5827c3d7289ee61154a4efdecb4a14f6b164c81fb6b8bd72d9f6960d1 -MISC ChangeLog 204 RMD160 4d8c1229a611d9edea5a34d85f763c4ada79d295 SHA1 41a06556c55a7799d3792801f9791b14034b877d SHA256 f904f125aaea57d88a740aa71c420ce45677467cd89755934b6f18f01a531f33 +EBUILD trac-spam-filter-0.2.ebuild 1208 RMD160 49539bbacba5b804811947250ab47ebc2a9ac169 SHA1 928f2794411f8e13fc475410d63a34ddbb482400 SHA256 7916f0aae722fa322b5b8d71ae9e3cb1c8719c665f45fdf730e3d2d08867cc8f +MISC ChangeLog 300 RMD160 d29a34b372c88aea8d7680d66cf5ee15abe1935d SHA1 92d51216c5f112ec2304ad3e0c745176fc142ada SHA256 3eb683ba99e316fb17dfc8e96ea39ad2cd0b7f764525ed4453e9f5a91f24f53b MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/www-apps/trac-spam-filter/trac-spam-filter-0.2.ebuild b/www-apps/trac-spam-filter/trac-spam-filter-0.2.ebuild new file mode 100644 index 00000000..0685483e --- /dev/null +++ b/www-apps/trac-spam-filter/trac-spam-filter-0.2.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." +}