1 |
commit: 38452cdb12a7c2027359db891c0122d84f4964bf |
2 |
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Mon May 30 19:06:08 2022 +0000 |
4 |
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
5 |
CommitDate: Mon May 30 19:25:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=38452cdb |
7 |
|
8 |
dev-python/praw: add 7.6.0 |
9 |
|
10 |
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/praw/Manifest | 1 + |
13 |
dev-python/praw/praw-7.6.0.ebuild | 42 +++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 43 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/praw/Manifest b/dev-python/praw/Manifest |
17 |
index e341506c6..78b6d99cc 100644 |
18 |
--- a/dev-python/praw/Manifest |
19 |
+++ b/dev-python/praw/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST praw-7.5.0.tar.gz 24818192 BLAKE2B f65c65ce03df146386537c3a0d1ae188f8627b71f51b5497544723495922a4db5c0f16f971e54158e3da8101fe56d6c3f599676002ae4248d6db1b7ba691a2a4 SHA512 df2da306819df8387c9ad018b0ea886390c065e4d0af1b1b22ae2bfed3d4f612ce2ac2a029c7cee92ea90ca30cc13c7a6640373fd621dc70dd2ac175bea1b4ee |
22 |
+DIST praw-7.6.0.tar.gz 25122812 BLAKE2B 58010c2d2d223e8f64744453eff1416c5b6edd79cc2e3e6916792c60933b635a3272d7933fa885e6ce64663141eaf5b5e4091f5d7320b52e16c05d97f1747434 SHA512 6702936b193542756e1b035fc7b7e2d9c398d44bb1631046af0a06b93833c26cfdae61d58d160e27e1b56b63777eda709e6e6bee2c6e4c76451837a6eead6ac4 |
23 |
|
24 |
diff --git a/dev-python/praw/praw-7.6.0.ebuild b/dev-python/praw/praw-7.6.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000..52c36126f |
27 |
--- /dev/null |
28 |
+++ b/dev-python/praw/praw-7.6.0.ebuild |
29 |
@@ -0,0 +1,42 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python3_{8..10} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Python Reddit API Wrapper" |
39 |
+HOMEPAGE="https://pypi.org/project/praw/ https://github.com/praw-dev/praw" |
40 |
+SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="BSD-2" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md ) |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ <dev-python/prawcore-3[${PYTHON_USEDEP}] |
50 |
+ dev-python/websocket-client[${PYTHON_USEDEP}] |
51 |
+" |
52 |
+BDEPEND="test? ( |
53 |
+ dev-python/betamax[${PYTHON_USEDEP}] |
54 |
+ dev-python/betamax-matchers[${PYTHON_USEDEP}] |
55 |
+)" |
56 |
+ |
57 |
+distutils_enable_sphinx docs dev-python/sphinx_rtd_theme |
58 |
+ |
59 |
+distutils_enable_tests pytest |
60 |
+ |
61 |
+python_prepare_all() { |
62 |
+ # disable optional dependencies |
63 |
+ sed "/update_checker/d" -i setup.py || die |
64 |
+ |
65 |
+ distutils-r1_python_prepare_all |
66 |
+} |
67 |
+ |
68 |
+python_test() { |
69 |
+ # spams deprecation warnings |
70 |
+ epytest -p no:asyncio |
71 |
+} |