From 506b090639e8af835e17e8566ea0c5bdaf593749 Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 26 Dec 2009 10:49:38 +0000 Subject: [PATCH] www-apps/trac-spam-filter: add 0.12 branch git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1763 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-spam-filter/ChangeLog | 4 ++ www-apps/trac-spam-filter/Manifest | 3 +- .../trac-spam-filter-0.2.1c.ebuild | 39 +++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 www-apps/trac-spam-filter/trac-spam-filter-0.2.1c.ebuild diff --git a/www-apps/trac-spam-filter/ChangeLog b/www-apps/trac-spam-filter/ChangeLog index a65f2bcc..858b0781 100644 --- a/www-apps/trac-spam-filter/ChangeLog +++ b/www-apps/trac-spam-filter/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 26 Dec 2009; Mario Fetka + +trac-spam-filter-0.2.1c.ebuild: + add 0.12 branch + 23 Dec 2009; Mario Fetka trac-spam-filter-0.2.1.ebuild: New location for plugin diff --git a/www-apps/trac-spam-filter/Manifest b/www-apps/trac-spam-filter/Manifest index 03b0f681..0c2470e0 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 1213 RMD160 7d8a9d093048cc606ef1b4630d00fab0bec320af SHA1 a1f882b9350afdcb55ed0ed7b51a886cd6a01fe4 SHA256 1e7b7a7e0e7d638a03ea7d9f1f729d2c04c600591e48d675a6cb10f0f96cf841 -MISC ChangeLog 603 RMD160 4748bd1013f96e29f7777454f610ac31836a135a SHA1 a24a264823ced0249172204ea352553a24a83a8f SHA256 be7456674da057c8a886274dbbf3e1b56bb9125df4b306c03c322650b5a8af3a +EBUILD trac-spam-filter-0.2.1c.ebuild 1219 RMD160 f05bd636391efb9200a9105bf12fddafb333c52b SHA1 09b2f26041738a0a77cc7bf0d20226f1bd3561cf SHA256 9dc8e1213ded0016f3dbb9b08cbe9b58f14edef3bcf7a201ccf77e9b88353dea +MISC ChangeLog 708 RMD160 4245797ae4ce8588c45eb00f9738bbd135bbd9e0 SHA1 f0c20342e8a9c1e6dd28f2a5fae655ae1cd7c40b SHA256 9b5a82c8afdd479a762fe7631ca597d593f7c2f9caa52bbf0e25dd86536607da MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/www-apps/trac-spam-filter/trac-spam-filter-0.2.1c.ebuild b/www-apps/trac-spam-filter/trac-spam-filter-0.2.1c.ebuild new file mode 100644 index 00000000..b699e98f --- /dev/null +++ b/www-apps/trac-spam-filter/trac-spam-filter-0.2.1c.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2009 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://trac.edgewall.org/browser/plugins/0.12/spam-filter-captcha" +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." +}