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/hpack/
Date: Tue, 18 May 2021 11:40:08 +0000 (UTC)	[thread overview]
Message-ID: <1621337997.fec9eef953e725bef4f7304266ae0ef46c1a0ff8.mgorny@gentoo> (raw)

commit:     fec9eef953e725bef4f7304266ae0ef46c1a0ff8
Author:     Ekaterina Vaartis <vaartis <AT> kotobank <DOT> ch>
AuthorDate: Sun May 16 09:11:17 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue May 18 11:39:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fec9eef9

dev-python/hpack: Bump 3.0.0 to python 3.10

Signed-off-by: Ekaterina Vaartis <vaartis <AT> kotobank.ch>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/hpack/hpack-3.0.0.ebuild | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/dev-python/hpack/hpack-3.0.0.ebuild b/dev-python/hpack/hpack-3.0.0.ebuild
index b52fcbda705..99cf18dfe91 100644
--- a/dev-python/hpack/hpack-3.0.0.ebuild
+++ b/dev-python/hpack/hpack-3.0.0.ebuild
@@ -1,42 +1,40 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-PYTHON_COMPAT=( python3_{7,8,9})
+EAPI=7
+PYTHON_COMPAT=( python3_{7..10} )
 
 inherit distutils-r1
 
 DESCRIPTION="Pure-Python HPACK header compression"
-HOMEPAGE="https://python-hyper.org/hpack/en/latest/ https://pypi.org/project/hpack/"
+HOMEPAGE="
+	https://python-hyper.org/hpack/en/latest/
+	https://pypi.org/project/hpack/"
 SRC_URI="https://github.com/python-hyper/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
-RDEPEND=""
 # dev-python/pytest-relaxed causes tests to fail
-DEPEND="${RDEPEND}
+BDEPEND="
 	test? (
-		>=dev-python/pytest-2.9.2[${PYTHON_USEDEP}]
 		>=dev-python/hypothesis-3.4.2[${PYTHON_USEDEP}]
 		!!dev-python/pytest-relaxed[${PYTHON_USEDEP}]
 	)
 "
 
+distutils_enable_tests pytest
+
 PATCHES=(
 	"${FILESDIR}"/hpack-3.0.0-hypothesis-healthcheck.patch
 )
 
-python_prepare_all() {
-	# Remove a test that is not part of the mainstream tests
-	# Also, it's data directory is not included in the release
-	rm test/test_hpack_integration.py || die
-	distutils-r1_python_prepare_all
-}
-
 python_test() {
-	pytest -vv hpack test || die "Tests fail with ${EPYTHON}"
+	local deselect=(
+		# relies on outdated exception strings
+		test/test_table.py::TestHeaderTable::test_get_by_index_out_of_range
+	)
+
+	epytest hpack test ${deselect[@]/#/--deselect }
 }


             reply	other threads:[~2021-05-18 11:40 UTC|newest]

Thread overview: 66+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18 11:40 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-15 11:30 [gentoo-commits] repo/gentoo:master commit in: dev-python/hpack/ Michał Górny
2025-02-08 11:45 Michał Górny
2025-02-08 11:17 Arthur Zamarin
2025-01-23  5:39 Michał Górny
2024-05-11 11:05 Michał Górny
2024-05-11 11:05 Michał Górny
2024-04-17 21:02 Conrad Kostecki
2023-05-26 20:46 Arthur Zamarin
2023-03-16 18:13 Michał Górny
2022-05-12 16:17 Michał Górny
2022-05-12 16:17 Michał Górny
2022-03-15 14:10 Michał Górny
2022-03-15 11:36 Jakov Smolić
2022-02-02  9:27 Michał Górny
2022-02-02  9:27 Michał Górny
2022-01-27 23:41 James Le Cuirot
2022-01-27 22:56 James Le Cuirot
2021-05-09 11:35 Michał Górny
2020-09-30 23:52 Sam James
2020-09-30  8:10 Michał Górny
2020-09-28 13:53 Göktürk Yüksek
2020-08-31  7:26 Michał Górny
2020-08-04 12:01 Michał Górny
2020-05-27  7:52 Michał Górny
2020-02-18  8:59 Sergei Trofimovich
2020-02-13 13:03 Agostino Sarubbo
2020-02-11 11:30 Agostino Sarubbo
2020-02-11 10:58 Agostino Sarubbo
2020-02-11 10:55 Agostino Sarubbo
2020-02-11  9:52 Agostino Sarubbo
2020-02-11  9:43 Agostino Sarubbo
2020-02-11  8:36 Agostino Sarubbo
2019-12-02  2:48 Aaron Bauman
2019-11-21 21:25 Michał Górny
2019-11-21 21:25 Michał Górny
2019-01-29 13:31 Mikle Kolyada
2019-01-17 20:45 Mikle Kolyada
2018-08-20 18:17 Sergei Trofimovich
2018-07-16 19:57 Michał Górny
2018-07-15  8:37 Michał Górny
2018-07-14 22:44 Michał Górny
2018-07-14 22:44 Michał Górny
2018-05-04 15:17 Mart Raudsepp
2018-04-06  5:23 Matt Turner
2018-03-30 18:08 Sergei Trofimovich
2018-02-22 17:02 Michał Górny
2018-02-22 17:02 Michał Górny
2017-12-13 22:15 Sergei Trofimovich
2017-12-13 22:15 Sergei Trofimovich
2017-10-28 22:34 Sergei Trofimovich
2017-09-28 13:42 Michael Palimaka
2017-07-02 15:02 Sergei Trofimovich
2017-07-02 15:02 Sergei Trofimovich
2017-06-28 13:19 Agostino Sarubbo
2017-06-26 20:18 Tobias Klausmann
2017-06-09 18:19 Brian Dolbec
2017-05-26 10:16 Tobias Klausmann
2017-03-22 19:48 Markus Meier
2017-03-12 12:30 Anthony G. Basile
2017-02-19  8:40 Markus Meier
2017-02-12 22:20 Zac Medico
2017-01-25  6:39 Jeroen Roovers
2017-01-24 15:08 Brian Dolbec
2016-10-22  1:26 Brian Dolbec
2016-10-07 18:11 Brian Dolbec

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=1621337997.fec9eef953e725bef4f7304266ae0ef46c1a0ff8.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