summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarcy <darcy@pkgsrc.org>2013-03-05 19:20:20 +0000
committerdarcy <darcy@pkgsrc.org>2013-03-05 19:20:20 +0000
commitb098042e7f4f6a1e29a2259d069ef4a5e55ca8bc (patch)
tree5c643ad766922bf22ab9a93e475cdad9f11b3408
parentbc20a8cefd0ddd911d014680ac981cc8c069119f (diff)
downloadpkgsrc-b098042e7f4f6a1e29a2259d069ef4a5e55ca8bc.tar.gz
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.
-rw-r--r--doc/CHANGES-20133
-rw-r--r--www/py-recaptcha/DESCR8
-rw-r--r--www/py-recaptcha/Makefile14
-rw-r--r--www/py-recaptcha/PLIST17
-rw-r--r--www/py-recaptcha/distinfo5
5 files changed, 46 insertions, 1 deletions
diff --git a/doc/CHANGES-2013 b/doc/CHANGES-2013
index 3d62be4f397..d27784f4bbf 100644
--- a/doc/CHANGES-2013
+++ b/doc/CHANGES-2013
@@ -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]
diff --git a/www/py-recaptcha/DESCR b/www/py-recaptcha/DESCR
new file mode 100644
index 00000000000..9a6e80e185a
--- /dev/null
+++ b/www/py-recaptcha/DESCR
@@ -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
diff --git a/www/py-recaptcha/Makefile b/www/py-recaptcha/Makefile
new file mode 100644
index 00000000000..e06dc510f51
--- /dev/null
+++ b/www/py-recaptcha/Makefile
@@ -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"
diff --git a/www/py-recaptcha/PLIST b/www/py-recaptcha/PLIST
new file mode 100644
index 00000000000..6cc5a8ce991
--- /dev/null
+++ b/www/py-recaptcha/PLIST
@@ -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
diff --git a/www/py-recaptcha/distinfo b/www/py-recaptcha/distinfo
new file mode 100644
index 00000000000..6ebfda9ca5c
--- /dev/null
+++ b/www/py-recaptcha/distinfo
@@ -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