commit:     62779cca90e2c121c721a850b438d5ec106a9aba
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Feb 24 23:27:09 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 23:27:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=62779cca

dev-python/praw: enable py3.11

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

 dev-python/praw/Manifest          |  1 -
 dev-python/praw/praw-7.6.0.ebuild | 54 ---------------------------------------
 dev-python/praw/praw-7.6.1.ebuild |  9 ++++---
 3 files changed, 6 insertions(+), 58 deletions(-)

diff --git a/dev-python/praw/Manifest b/dev-python/praw/Manifest
index 478a3bfdb..84397917c 100644
--- a/dev-python/praw/Manifest
+++ b/dev-python/praw/Manifest
@@ -1,2 +1 @@
-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.0.ebuild 
b/dev-python/praw/praw-7.6.0.ebuild
deleted file mode 100644
index a971ea5b3..000000000
--- a/dev-python/praw/praw-7.6.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# 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}]
-)"
-
-# TODO: remove in next release
-EPYTEST_DESELECT=(
-       tests/unit/test_deprecations.py
-       tests/unit/util/test_deprecate_args.py
-       
tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning
-       
tests/unit/models/reddit/test_submission.py::TestSubmission::test_comment_sort_warning__disabled
-)
-
-distutils_enable_sphinx docs dev-python/sphinx-rtd-theme
-
-distutils_enable_tests pytest
-
-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[@]}"
-}

diff --git a/dev-python/praw/praw-7.6.1.ebuild 
b/dev-python/praw/praw-7.6.1.ebuild
index 91824ad07..c9855fbad 100644
--- a/dev-python/praw/praw-7.6.1.ebuild
+++ b/dev-python/praw/praw-7.6.1.ebuild
@@ -1,14 +1,17 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_USE_PEP517=setuptools
 inherit distutils-r1
 
 DESCRIPTION="Python Reddit API Wrapper"
-HOMEPAGE="https://pypi.org/project/praw/ https://github.com/praw-dev/praw";
+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"

Reply via email to