public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/websockets/
Date: Tue, 30 May 2023 19:00:19 +0000 (UTC)	[thread overview]
Message-ID: <1685473211.d670e14e0f618975e82c487a0fe55edcc941e0be.sam@gentoo> (raw)

commit:     d670e14e0f618975e82c487a0fe55edcc941e0be
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 30 19:00:02 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 30 19:00:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d670e14e

dev-python/websockets: enable py3.12

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/websockets/Manifest                    |  1 +
 dev-python/websockets/websockets-11.0.3-r1.ebuild | 47 +++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/dev-python/websockets/Manifest b/dev-python/websockets/Manifest
index fedc94cd9e1d..da242fd5dba9 100644
--- a/dev-python/websockets/Manifest
+++ b/dev-python/websockets/Manifest
@@ -1,2 +1,3 @@
 DIST websockets-11.0.2.gh.tar.gz 347575 BLAKE2B 1d609298d072dbd986fa2adcac1c8f80720622fdcd44cb8ab079ba812fa7a750cdd4a5b432a74d422ca3ac8e7baef8e38e227569b8681e033f599fa29b19383c SHA512 e397d7b51c3edcc68fd32dbf8fcd46f5c9230c270be46c45a503108690d5513e2626fc4f4f5d271c831570abeeff51bf27c09ea69459b970a41fb64eb84fc87e
+DIST websockets-11.0.3-python3.12.patch.xz 4328 BLAKE2B 6ef94255ef5d95de8015eca14a5110373ab9ffadf4d1c86a892da1aac46caa2755cafeb643a222000a03262c1b1b1aea58132daff36981c00dbb68ce05484058 SHA512 421a6fb5a2a801850ea1fbaf890c11eac0f55ad288185f16f4244f316132591bc5a814636141ba3ada67aeff340f41de61d06c8db87010c858c1b0b02fd9b5ab
 DIST websockets-11.0.3.gh.tar.gz 347652 BLAKE2B b7d796744cb4c7b944e98644dfb9c0e44ba465a6dba71b9e891604f3012b025557dbcd5b7eeae02e71c84350e05b334f99404ddfda814a8984b7a893d3f092f7 SHA512 37a84d7c57da7a3e48870abf992ba96ee454b342610d51c06f7dfc7ee082b7fb51304518c208379c3dbd039eafb1a85444c257fed20b4605a52dc8fc938a4cca

diff --git a/dev-python/websockets/websockets-11.0.3-r1.ebuild b/dev-python/websockets/websockets-11.0.3-r1.ebuild
new file mode 100644
index 000000000000..a6f179e672f2
--- /dev/null
+++ b/dev-python/websockets/websockets-11.0.3-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1
+
+DESCRIPTION="Library for building WebSocket servers and clients in Python"
+HOMEPAGE="
+	https://websockets.readthedocs.io/
+	https://github.com/python-websockets/websockets/
+	https://pypi.org/project/websockets/
+"
+# tests are missing pypi sdist, as of 11.0
+SRC_URI="
+	https://github.com/python-websockets/websockets/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+	https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${PN}-11.0.3-python3.12.patch.xz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="+native-extensions"
+
+distutils_enable_tests pytest
+
+PATCHES=(
+	"${WORKDIR}"/${P}-python3.12.patch
+)
+
+src_configure() {
+	export BUILD_EXTENSION=$(usex native-extensions)
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# very fragile to speed
+		tests/legacy/test_protocol.py::ServerTests::test_local_close_receive_close_frame_timeout
+	)
+
+	epytest tests
+}


             reply	other threads:[~2023-05-30 19:00 UTC|newest]

Thread overview: 162+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-30 19:00 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-13 15:17 [gentoo-commits] repo/gentoo:master commit in: dev-python/websockets/ Sam James
2025-03-24 16:25 Arthur Zamarin
2025-03-22 12:45 Arthur Zamarin
2025-03-06  3:31 Michał Górny
2025-03-06  3:31 Michał Górny
2025-02-23  2:00 Sam James
2025-02-17 20:47 Michał Górny
2025-02-16 18:44 Michał Górny
2025-02-08 18:04 Sam James
2025-02-08 13:55 Arthur Zamarin
2025-02-08 13:55 Arthur Zamarin
2025-02-08 12:04 Arthur Zamarin
2025-02-08 11:39 Arthur Zamarin
2025-02-08 10:47 Arthur Zamarin
2025-01-20  5:34 Michał Górny
2025-01-20  5:34 Michał Górny
2024-11-30 13:37 Sam James
2024-11-30 12:13 Jakov Smolić
2024-11-30 12:04 Arthur Zamarin
2024-11-30 11:40 Michał Górny
2024-11-30 11:40 Michał Górny
2024-11-14  4:39 Michał Górny
2024-11-10  3:24 Michał Górny
2024-10-13 12:17 Sam James
2024-10-12 14:57 Sam James
2024-10-12 14:57 Sam James
2024-10-10 12:20 Arthur Zamarin
2024-10-08 18:52 Arthur Zamarin
2024-10-08 18:52 Arthur Zamarin
2024-10-05 12:51 Sam James
2024-10-05  8:22 Arthur Zamarin
2024-09-22  2:28 Michał Górny
2024-08-29  4:52 Michał Górny
2024-05-11 17:36 Michał Górny
2023-11-29  7:44 Michał Górny
2023-11-29  6:15 Arthur Zamarin
2023-11-29  6:14 Arthur Zamarin
2023-11-29  6:14 Arthur Zamarin
2023-11-23 19:53 Sam James
2023-11-22 12:12 Arthur Zamarin
2023-11-22 11:56 Sam James
2023-11-22 11:11 Sam James
2023-11-22 11:06 Michał Górny
2023-10-22  6:55 Michał Górny
2023-10-18 15:56 Michał Górny
2023-10-18 10:18 Sam James
2023-10-18 10:18 Sam James
2023-10-18 10:18 Sam James
2023-10-18 10:18 Sam James
2023-10-18 10:18 Sam James
2023-10-14 18:17 Arthur Zamarin
2023-10-14 16:59 Arthur Zamarin
2023-10-14 16:53 Arthur Zamarin
2023-10-14 16:52 Arthur Zamarin
2023-10-02 15:41 Sam James
2023-10-02 15:41 Sam James
2023-09-01 12:16 Sam James
2023-08-04 20:20 Arthur Zamarin
2023-07-15 13:15 Arthur Zamarin
2023-07-03 18:55 Michał Górny
2023-06-10  4:20 Sam James
2023-06-09 18:02 Arthur Zamarin
2023-05-10 19:24 Michał Górny
2023-05-10 17:23 Arthur Zamarin
2023-05-10 17:22 Arthur Zamarin
2023-05-08  4:36 Michał Górny
2023-05-05 13:24 Arthur Zamarin
2023-05-05  9:39 Arthur Zamarin
2023-05-05  8:02 Arthur Zamarin
2023-05-05  7:42 Sam James
2023-05-05  7:36 Arthur Zamarin
2023-05-05  6:56 Arthur Zamarin
2023-04-29  5:48 Michał Górny
2023-04-07  4:19 Michał Górny
2023-04-03  2:57 Michał Górny
2023-02-13  3:22 Matt Turner
2022-12-02 11:55 Arthur Zamarin
2022-11-25 19:11 Sam James
2022-11-25 14:01 Arthur Zamarin
2022-11-25 14:00 Arthur Zamarin
2022-11-25 13:57 Arthur Zamarin
2022-11-25 13:52 Arthur Zamarin
2022-11-25 13:50 Arthur Zamarin
2022-11-25 13:47 Arthur Zamarin
2022-10-26  4:03 Michał Górny
2022-06-05 10:35 Michał Górny
2022-06-05  9:08 Sam James
2022-05-31 11:05 Jakov Smolić
2022-05-31 11:05 Jakov Smolić
2022-05-31  8:54 Agostino Sarubbo
2022-05-31  8:51 Agostino Sarubbo
2022-05-31  8:01 Jakov Smolić
2022-05-31  7:56 Jakov Smolić
2022-05-31  7:56 Jakov Smolić
2022-05-11 12:56 Jakov Smolić
2022-05-01  1:52 WANG Xuerui
2022-04-18  8:19 Michał Górny
2022-04-08 14:34 Arthur Zamarin
2022-04-08 14:23 Arthur Zamarin
2022-04-08 14:23 Arthur Zamarin
2022-04-08 11:09 Michał Górny
2022-04-08 11:09 Michał Górny
2022-04-02 14:19 Arthur Zamarin
2022-03-28  6:51 Agostino Sarubbo
2022-03-27  6:27 Agostino Sarubbo
2022-03-26 19:45 Sam James
2022-03-26 19:15 Arthur Zamarin
2022-03-26 17:42 Arthur Zamarin
2022-03-26 16:52 Arthur Zamarin
2022-02-21  9:15 Michał Górny
2021-12-16  7:44 Agostino Sarubbo
2021-12-15 17:26 Arthur Zamarin
2021-12-15 17:08 Arthur Zamarin
2021-12-15 17:08 Arthur Zamarin
2021-12-15 16:59 Arthur Zamarin
2021-12-15 16:56 Arthur Zamarin
2021-12-15 16:50 Jakov Smolić
2021-12-15 16:49 Arthur Zamarin
2021-12-03 20:47 Arthur Zamarin
2021-12-03 16:41 Michał Górny
2021-11-18  9:09 Sam James
2021-11-15  8:34 Michał Górny
2021-11-13 21:09 Jakov Smolić
2021-11-13 19:50 Sam James
2021-10-31 18:03 Sam James
2021-10-30  7:52 James Le Cuirot
2021-10-20  0:11 Sam James
2021-10-16  1:14 Sam James
2021-10-15 22:43 Sam James
2021-09-25  7:45 Michał Górny
2021-09-25  5:18 Agostino Sarubbo
2021-09-18 12:30 Agostino Sarubbo
2021-09-18  4:25 Sam James
2021-09-17 14:14 Agostino Sarubbo
2021-09-17  9:19 Agostino Sarubbo
2021-09-16 18:56 Sam James
2021-09-16  6:29 Sam James
2021-08-24 21:02 Marek Szuba
2021-08-05 18:53 Louis Sautier
2021-07-27  5:37 Michał Górny
2021-07-26  2:14 Sam James
2021-07-26  2:14 Sam James
2021-06-17 15:56 Sergei Trofimovich
2021-05-30 10:08 Michał Górny
2021-05-30  5:15 Sam James
2021-05-29  8:41 Agostino Sarubbo
2021-05-28  7:35 Agostino Sarubbo
2021-05-27 23:18 Michał Górny
2021-05-18 17:28 Sam James
2021-05-15 21:18 Michał Górny
2021-05-03  9:16 Michał Górny
2021-05-02 15:12 Michał Górny
2021-05-02 15:12 Michał Górny
2021-02-18 16:46 Rick Farina
2021-02-18  8:20 Sam James
2021-02-15  2:19 Rick Farina
2020-12-21 22:39 Sam James
2020-12-20 17:24 Sam James
2020-12-20 16:50 Sam James
2020-09-30 21:20 James Le Cuirot
2020-04-25 15:49 James Le Cuirot

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=1685473211.d670e14e0f618975e82c487a0fe55edcc941e0be.sam@gentoo \
    --to=sam@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