1 |
commit: 52234a10fe6797ef46769e6726a8c492729d04a2 |
2 |
Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 14 21:24:07 2023 +0000 |
4 |
Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 14 22:07:06 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52234a10 |
7 |
|
8 |
dev-python/browser-cookie3: add 0.17.1 |
9 |
|
10 |
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org> |
11 |
|
12 |
dev-python/browser-cookie3/Manifest | 1 + |
13 |
.../browser-cookie3/browser-cookie3-0.17.1.ebuild | 30 ++++++++++++++++++++++ |
14 |
2 files changed, 31 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/browser-cookie3/Manifest b/dev-python/browser-cookie3/Manifest |
17 |
index 5cfca6d0eaa2..21c332e78b30 100644 |
18 |
--- a/dev-python/browser-cookie3/Manifest |
19 |
+++ b/dev-python/browser-cookie3/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST browser-cookie3-0.17.0.tar.gz 14926 BLAKE2B 9be2310f0250ea1f20a1b3ee2ef252f8d6fe0100e63f6cc63a22b1ea28ae138c71e383ce0e84955a3399cc7b88079669c97a1577033dfe360f77ac7304e08b53 SHA512 db9a734c3fd76d770d2f0ef8f821ba4e38880e883e8b19a9953b9edf9df9e5eeea053f3005b596caa9f5d54e7e17f4a7b2db056c2c17616d6d5702853e0f3fae |
22 |
+DIST browser-cookie3-0.17.1.tar.gz 15882 BLAKE2B 76dbe885a21bc904eb53a2c9360f998d6b5d63b06b8025330d8960e07b630f13946f543a48cd9f3a24498e857e6245171fd7805bc403bae437caebd7209519bf SHA512 cf677a6cb8db32144dbced235fcd581743d997bcac77fe89a0d7c0b6400ff92d078cd04159f7819a8358128155cd105d44d4cde06cb345514e43d33dba931240 |
23 |
|
24 |
diff --git a/dev-python/browser-cookie3/browser-cookie3-0.17.1.ebuild b/dev-python/browser-cookie3/browser-cookie3-0.17.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..aef18db017d7 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/browser-cookie3/browser-cookie3-0.17.1.ebuild |
29 |
@@ -0,0 +1,30 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYPI_NO_NORMALIZE=1 |
37 |
+PYTHON_COMPAT=( python3_{9..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 pypi |
40 |
+ |
41 |
+DESCRIPTION="Loads cookies from your browser into a cookiejar object" |
42 |
+HOMEPAGE="https://github.com/borisbabic/browser_cookie3/" |
43 |
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="LGPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+ |
49 |
+RDEPEND="dev-python/lz4[${PYTHON_USEDEP}] |
50 |
+ dev-python/pycryptodome[${PYTHON_USEDEP}]" |
51 |
+DEPEND="${RDEPEND}" |
52 |
+ |
53 |
+python_prepare_all() { |
54 |
+ # make cryptodome-friendly |
55 |
+ sed -i -e 's:pycryptodomex:pycryptodome:' setup.py || die |
56 |
+ sed -i -e 's:Cryptodome:Crypto:g' __init__.py || die |
57 |
+ |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |