Add Python module for reCAPTCHA.

Provides a CAPTCHA for Python using the reCAPTCHA service. Does not require
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide.
This commit is contained in:
darcy 2013-03-05 19:20:20 +00:00
parent bc20a8cefd
commit b098042e7f
5 changed files with 46 additions and 1 deletions

View file

@ -1,4 +1,4 @@
$NetBSD: CHANGES-2013,v 1.776 2013/03/05 16:51:54 adam Exp $
$NetBSD: CHANGES-2013,v 1.777 2013/03/05 19:20:20 darcy Exp $
Changes to the packages collection and infrastructure in 2013:
@ -1112,3 +1112,4 @@ Changes to the packages collection and infrastructure in 2013:
Updated devel/p5-PerlIO-via-dynamic to 0.14 [apb 2013-03-05]
Updated graphics/ImageMagick to 6.8.3.7 [adam 2013-03-05]
Updated graphics/p5-PerlMagick to 6.8.3.7 [adam 2013-03-05]
Added www/py-recaptcha version 1.0.6 [darcy 2013-03-05]

8
www/py-recaptcha/DESCR Normal file
View file

@ -0,0 +1,8 @@
Provides a CAPTCHA for Python using the reCAPTCHA service. Does not require
any imaging libraries because the CAPTCHA is served directly from reCAPTCHA.
Also allows you to securely obfuscate emails with Mailhide. This functionality
requires pycrypto. This library requires two types of API keys. If you'd like
to use the CAPTCHA, you'll need a key from http://recaptcha.net/api/getkey.
For Mailhide, you'll need a key from http://mailhide.recaptcha.net/apikey.
WWW: http://cheeseshop.python.org/pypi/recaptcha-client

14
www/py-recaptcha/Makefile Normal file
View file

@ -0,0 +1,14 @@
# $NetBSD: Makefile,v 1.1 2013/03/05 19:20:20 darcy Exp $
DISTNAME= recaptcha-client-1.0.6
PKGNAME= ${PYPKGPREFIX}-recaptcha-1.0.6
CATEGORIES= www devel python
MASTER_SITES= https://pypi.python.org/packages/source/r/recaptcha-client/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cheeseshop.python.org/pypi/recaptcha-client
COMMENT= Plugin for reCAPTCHA and reCAPTCHA Mailhide
LICENSE= mit
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

17
www/py-recaptcha/PLIST Normal file
View file

@ -0,0 +1,17 @@
@comment $NetBSD: PLIST,v 1.1 2013/03/05 19:20:20 darcy Exp $
${PYSITELIB}/recaptcha/client/__init__.py
${PYSITELIB}/recaptcha/client/__init__.pyc
${PYSITELIB}/recaptcha/client/__init__.pyo
${PYSITELIB}/recaptcha/client/captcha.py
${PYSITELIB}/recaptcha/client/captcha.pyc
${PYSITELIB}/recaptcha/client/captcha.pyo
${PYSITELIB}/recaptcha/client/mailhide.py
${PYSITELIB}/recaptcha/client/mailhide.pyc
${PYSITELIB}/recaptcha/client/mailhide.pyo
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7-nspkg.pth
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/PKG-INFO
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/SOURCES.txt
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/dependency_links.txt
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/namespace_packages.txt
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/requires.txt
${PYSITELIB}/recaptcha_client-${PKGVERSION}-py2.7.egg-info/top_level.txt

View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1 2013/03/05 19:20:20 darcy Exp $
SHA1 (recaptcha-client-1.0.6.tar.gz) = 661317355af7a2985c9011b6efa026b7178e9917
RMD160 (recaptcha-client-1.0.6.tar.gz) = 7dffe66b7fd37f5be2a7d7b2bf24c3978f46c8e9
Size (recaptcha-client-1.0.6.tar.gz) = 7389 bytes