commit:     29c049617b2d40531d53f6840c0da2299891799d
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat Nov 12 10:42:23 2022 +0000
Commit:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Sat Nov 12 17:16:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29c04961

dev-python/praw: add 7.6.1

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 dev-python/praw/Manifest          |  1 +
 dev-python/praw/praw-7.6.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/dev-python/praw/Manifest b/dev-python/praw/Manifest
index 1def1b0cc..478a3bfdb 100644
--- a/dev-python/praw/Manifest
+++ b/dev-python/praw/Manifest
@@ -1 +1,2 @@
 DIST praw-7.6.0.gh.tar.gz 25122812 BLAKE2B 
58010c2d2d223e8f64744453eff1416c5b6edd79cc2e3e6916792c60933b635a3272d7933fa885e6ce64663141eaf5b5e4091f5d7320b52e16c05d97f1747434
 SHA512 
6702936b193542756e1b035fc7b7e2d9c398d44bb1631046af0a06b93833c26cfdae61d58d160e27e1b56b63777eda709e6e6bee2c6e4c76451837a6eead6ac4
+DIST praw-7.6.1.gh.tar.gz 25083372 BLAKE2B 
eab92be89585bbe485b4d51c1c3c15def597b3a5cdb1326cf166931e4be22bea2975c76c48c8b673b30945ec5b559efba84d0310eebbdaa2881a37e30351af31
 SHA512 
91fa6efe0ea56d53ea49df8c1046ff620571d9dc80e6fdc5a5da3651cd24d7553455b62d02db8e37531a7bf34be0fbbc8c9555281b4887b73e9b8758966db55a

diff --git a/dev-python/praw/praw-7.6.1.ebuild 
b/dev-python/praw/praw-7.6.1.ebuild
new file mode 100644
index 000000000..5b20a24a8
--- /dev/null
+++ b/dev-python/praw/praw-7.6.1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Python Reddit API Wrapper"
+HOMEPAGE="https://pypi.org/project/praw/ https://github.com/praw-dev/praw";
+SRC_URI="https://github.com/praw-dev/${PN}/archive/refs/tags/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DOCS=( {AUTHORS,CHANGES,README}.rst SECURITY.md )
+
+RDEPEND="
+       <dev-python/prawcore-3[${PYTHON_USEDEP}]
+       dev-python/websocket-client[${PYTHON_USEDEP}]
+"
+BDEPEND="test? (
+       dev-python/betamax[${PYTHON_USEDEP}]
+       dev-python/betamax-matchers[${PYTHON_USEDEP}]
+)"
+
+distutils_enable_tests pytest
+
+distutils_enable_sphinx docs \
+       dev-python/sphinx_rtd_theme \
+       dev-python/sphinx-rtd-dark-mode
+
+python_prepare_all() {
+       # disable optional dependencies
+       sed "/update_checker/d" -i setup.py || die
+
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       local epytestargs=(
+               # spams deprecation warnings
+               -p no:asyncio
+       )
+       epytest "${epytestargs[@]}"
+}

Reply via email to