summaryrefslogtreecommitdiff
path: root/dev-python/browser-cookie3
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/browser-cookie3')
-rw-r--r--dev-python/browser-cookie3/Manifest2
-rw-r--r--dev-python/browser-cookie3/browser-cookie3-0.18.0.ebuild34
2 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/browser-cookie3/Manifest b/dev-python/browser-cookie3/Manifest
index 97c1de06f64a..96a05bf2e7dc 100644
--- a/dev-python/browser-cookie3/Manifest
+++ b/dev-python/browser-cookie3/Manifest
@@ -1,3 +1,5 @@
DIST browser-cookie3-0.17.1.tar.gz 15882 BLAKE2B 76dbe885a21bc904eb53a2c9360f998d6b5d63b06b8025330d8960e07b630f13946f543a48cd9f3a24498e857e6245171fd7805bc403bae437caebd7209519bf SHA512 cf677a6cb8db32144dbced235fcd581743d997bcac77fe89a0d7c0b6400ff92d078cd04159f7819a8358128155cd105d44d4cde06cb345514e43d33dba931240
+DIST browser-cookie3-0.18.0.tar.gz 15607 BLAKE2B 51d815d2231331e48681dcb90f4499f2b701c8a1058e83d7591465e6cfbcdc9a6b9f6bcd569eca7b3468541cea12b02840fceacaba4545ea0f704dcfc054c755 SHA512 7686fc7c943a09f039e42454ccd184cd0540ece1095469149c363f907f3f50f232b6a5f1a2a14f923963d5b46320293ad42b3bdd1089e26b1a17f52960f4f7de
EBUILD browser-cookie3-0.17.1.ebuild 764 BLAKE2B 3719e453a4535c6b42d518b26ebe109c03a88925af1a3c5647076776be8ab81ac75189d411e61f083b08cb0f922f6f911f732e615455ac0951e67037fda74782 SHA512 83f5a6cdc5d72cc47c8c66d63219ebd659562154f465b7459126a3df6861dc8cb02d087b7486f5edc0c97ff04fc89e919f5bd967ebcbcc3418a08804facf6c13
+EBUILD browser-cookie3-0.18.0.ebuild 784 BLAKE2B b155aaf7466e97e4347aba6a71d219a86ca6aa1243352f8be5d20cb88e51f8c75edb4b8ae8b91af60fd4dd9568e1b90c0bb1ea5ea9fa974955f91072649dd1e8 SHA512 2f4bbd3b6aab7891494584c9a2a9373b36fdc2c6584f285388256d4fa63bb29ea0ae6a36f338823b8e1e25d2b5e12e7f9034259d93231bd020e9dc9ae2e0a09f
MISC metadata.xml 516 BLAKE2B cec8305c1ded26acbcbf08fa45b6247b05d20a20ea3c9463066b9a442bd8513489d51ee61325620e75e1e0b30a27c785506382285c9533d4bfb7f23344a5c297 SHA512 52157186448dcbe5d4644c518f6b8a3ebf602e0fe4ad700cc20dcac920c02f1dd2acc86ba24a63029d9a5952f025c7d5eef79821de726b42e849cd41e1155737
diff --git a/dev-python/browser-cookie3/browser-cookie3-0.18.0.ebuild b/dev-python/browser-cookie3/browser-cookie3-0.18.0.ebuild
new file mode 100644
index 000000000000..5d5225ac0edd
--- /dev/null
+++ b/dev-python/browser-cookie3/browser-cookie3-0.18.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{9..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Loads cookies from your browser into a cookiejar object"
+HOMEPAGE="
+ https://github.com/borisbabic/browser_cookie3/
+ https://pypi.org/project/browser-cookie3/
+"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ dev-python/lz4[${PYTHON_USEDEP}]
+ dev-python/pycryptodome[${PYTHON_USEDEP}]
+"
+
+python_prepare_all() {
+ # make cryptodome-friendly
+ sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die
+ sed -i -e 's:Cryptodome:Crypto:g' __init__.py || die
+
+ distutils-r1_python_prepare_all
+}