Browse code

add recaptcha, still needed as long as we use mailman2

Hanno Böck authored on09/02/2020 15:38:38
Showing3 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,3 @@
1
+DIST python-recaptcha-2.0.1.tar.gz 5439 BLAKE2B e985affe7d008f0dda270c9251315cbe381fc2a72514a219f422a1405c41e3d621326cfa32285588d4b5785c0e21251370546847695815b77ede81812d8eddad SHA512 103c0cf65d67fe3e4d4ca5bb0a208ea221642b1a6c11ad1997e3f1cfa56360c81665fc593354f6ea776deea43cbf72c97f3376e2b77fc275332cddee8b3a9739
2
+EBUILD python-recaptcha-2.0.1-r1.ebuild 655 BLAKE2B 86ae7e1ac9ae8ef8859dc4e67b397d1b39ba245f0c7aab2ce629ecb8279e67a93d971e79d79b7396cb1c5d9e014d76f657085bd70c90e5d8f31da7e2acd7099f SHA512 8d90b07d3e06c193f59905cd81fa4776df43e4e60f1a3fe3e5459bf2d6b101df0dccce1245b6988db95991d8d6d6b5e22f4cb32ba11354d9cb867631d3ee26b2
3
+MISC metadata.xml 320 BLAKE2B 09f14b8fe8d79184aac3c0f51099c9875e9c92accc720bfa6252fbceb59ddcdbebc62b8e00a842d4bd3378165327dd96200b805667c18df1725510c4a3db2ca8 SHA512 f8025b47914eff959d322d87070e00597b839a84a0b2d052cc172c34451450fb232a9a5cf4781c6e570ff5fa13c8b29fd9eefb2ffac7147720aa8885f48c4c6b
0 4
new file mode 100644
... ...
@@ -0,0 +1,10 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
+<pkgmetadata>
4
+  <maintainer type="person">
5
+    <email>hanno@gentoo.org</email>
6
+  </maintainer>
7
+  <upstream>
8
+    <remote-id type="github">redhat-infosec/python-recaptcha</remote-id>
9
+  </upstream>
10
+</pkgmetadata>
0 11
new file mode 100644
... ...
@@ -0,0 +1,21 @@
1
+# Copyright 1999-2019 Gentoo Authors
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=6
5
+PYTHON_COMPAT=( python2_7 )
6
+
7
+inherit distutils-r1
8
+
9
+DESCRIPTION="A plugin for reCAPTCHA and reCAPTCHA Mailhide"
10
+HOMEPAGE="https://github.com/redhat-infosec/python-recaptcha"
11
+SRC_URI="https://github.com/redhat-infosec/python-recaptcha/releases/download/v${PV}/${P}.tar.gz"
12
+KEYWORDS="~amd64"
13
+
14
+LICENSE="MIT"
15
+SLOT="0"
16
+
17
+RDEPEND="|| ( dev-python/pycryptodome[${PYTHON_USEDEP}] dev-python/pycrypto[${PYTHON_USEDEP}] )
18
+	dev-python/simplejson[${PYTHON_USEDEP}]
19
+	!dev-python/recaptcha-client"
20
+DEPEND="${RDEPEND}
21
+	dev-python/setuptools[${PYTHON_USEDEP}]"