1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Add www/py-recaptcha: a Python plugin for reCAPTCHA and reCAPTCHA Mailhide.

This commit is contained in:
Philip Paeps 2009-03-20 12:14:02 +00:00
parent 6d8ddaf8bf
commit 4101083c2f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230477
4 changed files with 39 additions and 0 deletions

View File

@ -1274,6 +1274,7 @@
SUBDIR += py-qp
SUBDIR += py-qpy
SUBDIR += py-qt4-webkit
SUBDIR += py-recaptcha
SUBDIR += py-restclient
SUBDIR += py-routes
SUBDIR += py-scgi

27
www/py-recaptcha/Makefile Normal file
View File

@ -0,0 +1,27 @@
# New ports collection makefile for: py-recaptcha
# Date created: 20 Mar 2009
# Whom: Philip Paeps <philip@FreeBSD.org>
#
# $FreeBSD$
PORTNAME= recaptcha
PORTVERSION= 1.0.3
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/r/recaptcha-client
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-client-${PORTVERSION}
MAINTAINER= philip@FreeBSD.org
COMMENT= A plugin for reCAPTCHA and reCAPTCHA Mailhide
BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= recaptcha_client
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (recaptcha-client-1.0.3.tar.gz) = 5aaa88d703f1003ecc63a0ced00baad6
SHA256 (recaptcha-client-1.0.3.tar.gz) = 5d111575d93892904906e51817a3cb7d7361d2dfd816f2490d1efe5afe5c5e3e
SIZE (recaptcha-client-1.0.3.tar.gz) = 6623

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