dev-python/python-recaptcha: Allow pycryptodome, EAPI 7.
authorHanno <hanno@gentoo.org>
Thu, 1 Aug 2019 10:29:41 +0000 (12:29 +0200)
committerHanno <hanno@gentoo.org>
Thu, 1 Aug 2019 10:29:41 +0000 (12:29 +0200)
Signed-off-by: Hanno Boeck <hanno@gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16

dev-python/python-recaptcha/python-recaptcha-2.0.1-r1.ebuild [new file with mode: 0644]

diff --git a/dev-python/python-recaptcha/python-recaptcha-2.0.1-r1.ebuild b/dev-python/python-recaptcha/python-recaptcha-2.0.1-r1.ebuild
new file mode 100644 (file)
index 0000000..ab63a25
--- /dev/null
@@ -0,0 +1,21 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="A plugin for reCAPTCHA and reCAPTCHA Mailhide"
+HOMEPAGE="https://github.com/redhat-infosec/python-recaptcha"
+SRC_URI="https://github.com/redhat-infosec/python-recaptcha/releases/download/v${PV}/${P}.tar.gz"
+KEYWORDS="~amd64"
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
+       dev-python/simplejson[${PYTHON_USEDEP}]
+       !dev-python/recaptcha-client"
+DEPEND="${RDEPEND}
+       dev-python/setuptools[${PYTHON_USEDEP}]"