public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/
Date: Sat, 15 Jun 2024 13:14:40 +0000 (UTC)	[thread overview]
Message-ID: <1718457272.18ab2fc5c7cde5dbd58c4b408e578287b9aea517.mgorny@gentoo> (raw)

commit:     18ab2fc5c7cde5dbd58c4b408e578287b9aea517
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 15 13:11:56 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 15 13:14:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18ab2fc5

dev-python/pyquery: Merge py3.13 revbump back

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/pyquery/pyquery-2.0.0-r1.ebuild | 61 ------------------------------
 dev-python/pyquery/pyquery-2.0.0.ebuild    | 20 +++++-----
 2 files changed, 11 insertions(+), 70 deletions(-)

diff --git a/dev-python/pyquery/pyquery-2.0.0-r1.ebuild b/dev-python/pyquery/pyquery-2.0.0-r1.ebuild
deleted file mode 100644
index 52f4f8a405c6..000000000000
--- a/dev-python/pyquery/pyquery-2.0.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} pypy3 )
-
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="A jQuery-like library for python"
-HOMEPAGE="
-	https://github.com/gawel/pyquery/
-	https://pypi.org/project/pyquery/
-"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-	>=dev-python/lxml-2.1[${PYTHON_USEDEP}]
-	>=dev-python/cssselect-1.2.0[${PYTHON_USEDEP}]
-	>=dev-python/webob-1.1.9[${PYTHON_USEDEP}]
-"
-DEPEND="
-	test? (
-		dev-python/beautifulsoup4[${PYTHON_USEDEP}]
-		dev-python/requests[${PYTHON_USEDEP}]
-		dev-python/webtest[${PYTHON_USEDEP}]
-		dev-python/webob[${PYTHON_USEDEP}]
-	)
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-	local EPYTEST_DESELECT=(
-		# needs network
-		tests/test_pyquery.py::TestWebScrappingEncoding::test_get
-		# known breakage, can't do much about it unless we force old
-		# libxml2 for everyone, sigh
-		# https://github.com/gawel/pyquery/issues/248
-		tests/test_pyquery.py::TestXMLNamespace::test_selector_html
-	)
-	case ${EPYTHON} in
-		python3.1[23])
-			EPYTEST_DESELECT+=(
-				# doctest failing because of changed repr()
-				# https://github.com/gawel/pyquery/issues/249
-				pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict
-			)
-			;;
-	esac
-
-	epytest
-}
-
-pkg_postinst() {
-	optfeature "Support for BeautifulSoup3 as a parser backend" dev-python/beautifulsoup4
-}

diff --git a/dev-python/pyquery/pyquery-2.0.0.ebuild b/dev-python/pyquery/pyquery-2.0.0.ebuild
index a72d907f5f71..53a5466a739b 100644
--- a/dev-python/pyquery/pyquery-2.0.0.ebuild
+++ b/dev-python/pyquery/pyquery-2.0.0.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} pypy3 )
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
 
 inherit distutils-r1 optfeature pypi
 
@@ -43,13 +43,15 @@ python_test() {
 		# https://github.com/gawel/pyquery/issues/248
 		tests/test_pyquery.py::TestXMLNamespace::test_selector_html
 	)
-	if [[ ${EPYTHON} == python3.12 ]]; then
-		EPYTEST_DESELECT+=(
-			# doctest failing because of changed repr()
-			# https://github.com/gawel/pyquery/issues/249
-			pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict
-		)
-	fi
+	case ${EPYTHON} in
+		python3.1[23])
+			EPYTEST_DESELECT+=(
+				# doctest failing because of changed repr()
+				# https://github.com/gawel/pyquery/issues/249
+				pyquery/pyquery.py::pyquery.pyquery.PyQuery.serialize_dict
+			)
+			;;
+	esac
 
 	epytest
 }


             reply	other threads:[~2024-06-15 13:14 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-15 13:14 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 20:33 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyquery/ Michał Górny
2024-09-28 10:52 Michał Górny
2024-09-28 10:48 Arthur Zamarin
2024-08-31  6:55 Michał Górny
2024-08-26 18:54 Arthur Zamarin
2024-08-13 20:41 Michał Górny
2024-07-11 21:39 James Le Cuirot
2024-06-15  8:15 Michał Górny
2023-07-31  7:13 Michał Górny
2023-05-29 15:03 Sam James
2023-02-16 17:22 Arthur Zamarin
2022-12-28 19:11 Arthur Zamarin
2022-06-16 11:24 Michał Górny
2022-06-16  9:33 Jakov Smolić
2022-05-17  7:21 Michał Górny
2022-05-17  7:21 Michał Górny
2021-09-01 12:59 Marek Szuba
2021-05-30 19:45 Michał Górny
2020-12-31  8:54 Michał Górny
2020-12-31  1:20 Sam James
2020-11-28 15:36 Sam James
2020-11-28 15:36 Sam James
2020-11-21 20:54 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-14 13:19 Sam James
2020-07-02 17:05 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-26 18:32 Michał Górny
2020-05-18 10:57 Michał Górny
2020-03-25 15:42 Agostino Sarubbo
2020-03-25 15:27 Agostino Sarubbo
2020-03-25 12:36 Agostino Sarubbo
2020-03-25 12:23 Agostino Sarubbo
2019-06-05  7:28 Agostino Sarubbo
2019-04-28 13:03 Sergei Trofimovich
2019-04-17 12:21 Mikle Kolyada
2019-04-13  7:38 Sergei Trofimovich
2019-03-16 14:01 Mikle Kolyada
2019-03-15 23:19 Mikle Kolyada
2019-03-03  5:45 Mikle Kolyada
2019-03-02 23:42 Thomas Deutschmann
2018-12-31 10:13 Mikle Kolyada
2018-11-09 14:20 Alexey Shvetsov
2017-07-16 17:23 Alexis Ballier
2017-05-19 14:01 Manuel Rüger
2017-05-03  6:15 Michał Górny
2017-02-24 18:02 Markus Meier
2017-02-02 18:43 David Seifert
2017-01-27 13:42 Tobias Klausmann
2017-01-23 16:27 Agostino Sarubbo
2017-01-19 10:59 Agostino Sarubbo
2017-01-18 16:52 Agostino Sarubbo
2016-10-28  1:35 Mike Gilbert
2016-05-11 14:09 Patrick Lauer
2016-03-26  2:07 Matt Thode
2016-02-19 13:02 Patrick Lauer
2015-11-18 15:40 Justin Lecher
2015-10-14 15:52 Justin Lecher
2015-09-25 11:46 Justin Lecher
2015-09-25 10:07 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1718457272.18ab2fc5c7cde5dbd58c4b408e578287b9aea517.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox