From 831de835093984454a9b17bfb27242356d7a9ccc Mon Sep 17 00:00:00 2001 From: geos_one Date: Sat, 26 Dec 2009 10:43:08 +0000 Subject: [PATCH] www-apps/trac-SimpleCaptchaPlugin: add 0.12 branch git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1759 6952d904-891a-0410-993b-d76249ca496b --- www-apps/trac-SimpleCaptchaPlugin/ChangeLog | 4 ++ www-apps/trac-SimpleCaptchaPlugin/Manifest | 3 +- .../trac-SimpleCaptchaPlugin-0.1-r1.ebuild | 41 +++++++++++++++++++ 3 files changed, 47 insertions(+), 1 deletion(-) create mode 100644 www-apps/trac-SimpleCaptchaPlugin/trac-SimpleCaptchaPlugin-0.1-r1.ebuild diff --git a/www-apps/trac-SimpleCaptchaPlugin/ChangeLog b/www-apps/trac-SimpleCaptchaPlugin/ChangeLog index 3b526457..f86b4916 100644 --- a/www-apps/trac-SimpleCaptchaPlugin/ChangeLog +++ b/www-apps/trac-SimpleCaptchaPlugin/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 26 Dec 2009; Mario Fetka + +trac-SimpleCaptchaPlugin-0.1-r1.ebuild: + add 0.12 branch + 18 Feb 2009; Mario Fetka +metadata.xml: initial import diff --git a/www-apps/trac-SimpleCaptchaPlugin/Manifest b/www-apps/trac-SimpleCaptchaPlugin/Manifest index b910a24b..3fb9caff 100644 --- a/www-apps/trac-SimpleCaptchaPlugin/Manifest +++ b/www-apps/trac-SimpleCaptchaPlugin/Manifest @@ -1,3 +1,4 @@ +EBUILD trac-SimpleCaptchaPlugin-0.1-r1.ebuild 1312 RMD160 89ac70e4fc3d6cd26505b2441d72a62658202b00 SHA1 3d3277428a4d39098c345dac8fa93d1777c715ac SHA256 99e99c7590a349cba36cdf537a555932169fd90c7c86ef58b7121841bec122cc EBUILD trac-SimpleCaptchaPlugin-0.1.ebuild 1312 RMD160 354c0615e93b2897746465a59329e5f41211d9a1 SHA1 c767333d422195aafb75bd64b1bc8e613924b2bc SHA256 0e946ce55857c79cf18bc20273e759983d6699149d8dc40d24bae971ecc1c820 -MISC ChangeLog 218 RMD160 eafea49db19a312ab2d1b82d3c7172daa0d47a05 SHA1 1cdd631db0dbde66b366f3eab22a5af13cbb1d5f SHA256 afc50c5e8651759c4352982ff994dfaaf2cfdc2b63db768a0d11928413554e5c +MISC ChangeLog 331 RMD160 24a0f3b744c81dfcb76c5a0067436d3986c7a437 SHA1 6c3488fb695790e9112bc0dfc073d16d9b3db4ed SHA256 22e572b0d93146cbee24b2b9c02e577482717e12007f9ca3e43c04f85c47cee5 MISC metadata.xml 1238 RMD160 c82938e77f387291d6a1c3bf9b0d802f2878dd12 SHA1 b5738f14922c69e78cfb867acdc65eeea25977bf SHA256 2c13f98be5fa8bdaf21ac86bcd00bbeb8944df5615de0cfce35ae4c00ef4b4d5 diff --git a/www-apps/trac-SimpleCaptchaPlugin/trac-SimpleCaptchaPlugin-0.1-r1.ebuild b/www-apps/trac-SimpleCaptchaPlugin/trac-SimpleCaptchaPlugin-0.1-r1.ebuild new file mode 100644 index 00000000..e1c91c99 --- /dev/null +++ b/www-apps/trac-SimpleCaptchaPlugin/trac-SimpleCaptchaPlugin-0.1-r1.ebuild @@ -0,0 +1,41 @@ +# 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-hacks.org/svn/simplecaptchaplugin/0.11" +DESCRIPTION="A simple CAPTCHA for new user registration using Trac's AccountManagerPlugin that uses Skimpy Gimpy." +HOMEPAGE="http://trac-hacks.org/wiki/SimpleCaptchaPlugin" +# SRC_URI="mirror://gentoo/${P}.tar.bz2" + +LICENSE="trac" +KEYWORDS="~amd64 ~ppc64 ~x86" +IUSE="" + +SLOT="0" + +DEPEND="=www-apps/trac-0.12* + www-apps/trac-acct_mgr + dev-python/skimpy + >=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 SimpleCaptcha plugin in your Trac environments, you have to add:" + elog " [simplecaptcha]" + elog " dictionary_file = /path/to/dictionary.txt" + elog "to your trac.ini files." + elog + elog "To be able to see the Admin tab, your users must have the TRAC_ADMIN permission" + elog "and/or the TICKET_ADMIN permission." +}