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/pyopenssl/
Date: Sun, 21 Jul 2024 18:28:07 +0000 (UTC)	[thread overview]
Message-ID: <1721586463.c01d7b5a8296db91f4b7c182dc913144385ac6bb.mgorny@gentoo> (raw)

commit:     c01d7b5a8296db91f4b7c182dc913144385ac6bb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 17:53:53 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 18:27:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01d7b5a

dev-python/pyopenssl: Bump to 24.2.1

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

 dev-python/pyopenssl/Manifest                |  1 +
 dev-python/pyopenssl/pyopenssl-24.2.1.ebuild | 69 ++++++++++++++++++++++++++++
 2 files changed, 70 insertions(+)

diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest
index 1388b95983dd..c28895177400 100644
--- a/dev-python/pyopenssl/Manifest
+++ b/dev-python/pyopenssl/Manifest
@@ -1 +1,2 @@
 DIST pyOpenSSL-24.1.0.tar.gz 179671 BLAKE2B d49139e9604e854427005adb17cbc8926fa4e10390b36446f9c95dbe81802bb8b97c2e6f1ea8f91dfd74733631292c88536c4f9772647e6d4b449b4d01ed6355 SHA512 acb07025f085d2fe9338e5ce5f65937001b1a8376c41ac532e9b0548668ce05c844e3e28c58efad812a034becf8e24aa9504165ff6af4c3b085cf463fa4d2fb6
+DIST pyopenssl-24.2.1.tar.gz 184323 BLAKE2B 5d077508c45c56b1da886877fb41e18699f932933badb73b271ce6d55fbf985398f5a74187fe65fde79b60768cb1705daf805f6fb8570f66ad3cecf11ad9b1c3 SHA512 4d0cdf71a5ae785644bd466ef094592fbf4ab804de8d153c139a88d3ff9b8cc80d073f3d49d4dc73d8ebf97a867e1560a5308b998f7ef0ccc734dcc56697c831

diff --git a/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild b/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild
new file mode 100644
index 000000000000..5d469c334d3d
--- /dev/null
+++ b/dev-python/pyopenssl/pyopenssl-24.2.1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=pyOpenSSL
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 toolchain-funcs pypi
+
+DESCRIPTION="Python interface to the OpenSSL library"
+HOMEPAGE="
+	https://www.pyopenssl.org/
+	https://github.com/pyca/pyopenssl/
+	https://pypi.org/project/pyOpenSSL/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	<dev-python/cryptography-44[${PYTHON_USEDEP}]
+	>=dev-python/cryptography-41.0.5[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/cffi[${PYTHON_USEDEP}]
+		' 'python*')
+		dev-python/pretend[${PYTHON_USEDEP}]
+		dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_sphinx doc \
+	dev-python/sphinx-rtd-theme
+distutils_enable_tests pytest
+
+src_test() {
+	local -x TZ=UTC
+	local EPYTEST_DESELECT=(
+		tests/test_ssl.py::TestContext::test_set_default_verify_paths
+	)
+
+	# test for 32-bit time_t
+	"$(tc-getCC)" ${CFLAGS} ${CPPFLAGS} -c -x c - -o /dev/null <<-EOF &>/dev/null
+		#include <sys/types.h>
+		int test[sizeof(time_t) >= 8 ? 1 : -1];
+	EOF
+
+	if [[ ${?} -eq 0 ]]; then
+		einfo "time_t is at least 64-bit long"
+	else
+		einfo "time_t is smaller than 64 bits, will skip broken tests"
+		EPYTEST_DESELECT+=(
+			tests/test_crypto.py::TestX509StoreContext::test_verify_with_time
+		)
+	fi
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	distutils-r1_src_test
+}
+
+python_test() {
+	epytest -p rerunfailures
+}


             reply	other threads:[~2024-07-21 18:28 UTC|newest]

Thread overview: 207+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-21 18:28 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-16 14:46 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopenssl/ Michał Górny
2025-02-01 12:17 Arthur Zamarin
2025-02-01  9:51 Arthur Zamarin
2025-02-01  9:51 Arthur Zamarin
2025-01-12 18:39 Michał Górny
2024-12-21 11:17 Michał Górny
2024-10-19 17:53 Michał Górny
2024-08-12 18:53 Michał Górny
2024-08-12 17:18 Arthur Zamarin
2024-08-10 15:41 Michał Górny
2024-08-10  8:35 Michał Górny
2024-08-10  8:17 Michał Górny
2024-08-10  7:25 Michał Górny
2024-08-10  6:43 Michał Górny
2024-08-10  6:26 Michał Górny
2024-05-11  6:54 Michał Górny
2024-05-02  1:37 Michał Górny
2024-05-01 23:18 Ionen Wolkens
2024-05-01 23:18 Ionen Wolkens
2024-05-01 23:18 Ionen Wolkens
2024-05-01 23:18 Ionen Wolkens
2024-04-20  9:18 Michał Górny
2024-04-17  6:54 Sam James
2024-03-30 14:53 Michał Górny
2024-03-10  3:35 Michał Górny
2024-02-24  8:49 Michał Górny
2024-02-24  2:44 Ionen Wolkens
2024-02-08 17:10 Arthur Zamarin
2024-02-08 15:28 Michał Górny
2024-02-08 15:28 Michał Górny
2024-02-08 14:43 Michał Górny
2024-02-08 14:43 Michał Górny
2024-01-23  4:39 Michał Górny
2023-12-16 16:59 Michał Górny
2023-12-15 15:50 Arthur Zamarin
2023-12-15 12:41 Arthur Zamarin
2023-12-15 11:36 Arthur Zamarin
2023-12-15 11:30 Arthur Zamarin
2023-12-15 11:02 Arthur Zamarin
2023-12-15 10:50 Arthur Zamarin
2023-10-26 12:19 Michał Górny
2023-08-25  8:46 Michał Górny
2023-08-25  4:52 Arthur Zamarin
2023-08-02 17:11 Arthur Zamarin
2023-07-20 10:16 WANG Xuerui
2023-07-09 19:36 Arthur Zamarin
2023-07-09 18:30 Arthur Zamarin
2023-07-09 17:08 Arthur Zamarin
2023-07-09 16:51 Arthur Zamarin
2023-07-09 16:51 Arthur Zamarin
2023-06-08  8:51 Michał Górny
2023-05-27 13:21 Michał Górny
2023-04-25 15:00 Michał Górny
2023-04-25 11:36 Arthur Zamarin
2023-04-25  0:31 Sam James
2023-04-25  0:31 Sam James
2023-04-25  0:31 Sam James
2023-04-25  0:31 Sam James
2023-04-25  0:31 Sam James
2023-04-24 23:20 Sam James
2023-03-28  5:19 Michał Górny
2023-03-25 17:19 Michał Górny
2023-03-24 19:06 Arthur Zamarin
2023-02-07  9:26 Michał Górny
2023-02-07  2:53 Sam James
2023-02-03 16:56 Arthur Zamarin
2023-02-03 16:56 Sam James
2023-02-03 16:56 Sam James
2023-02-03 16:56 Sam James
2023-02-03 16:55 Sam James
2023-02-03 16:55 Sam James
2023-01-02 14:54 Michał Górny
2022-11-04  8:38 Michał Górny
2022-11-04  8:16 Agostino Sarubbo
2022-11-03 21:06 Arthur Zamarin
2022-11-03 21:06 Arthur Zamarin
2022-11-03 21:01 Arthur Zamarin
2022-11-03 19:47 Arthur Zamarin
2022-11-03 19:35 Arthur Zamarin
2022-11-03 19:28 Sam James
2022-09-26 11:21 Michał Górny
2022-07-29 13:39 Michał Górny
2022-07-29 10:37 Arthur Zamarin
2022-07-04  6:57 Michał Górny
2022-07-02 12:21 Arthur Zamarin
2022-06-30 18:16 Arthur Zamarin
2022-06-01  8:12 Agostino Sarubbo
2022-06-01  8:11 Agostino Sarubbo
2022-06-01  8:10 Agostino Sarubbo
2022-06-01  8:09 Agostino Sarubbo
2022-05-31 22:08 Sam James
2022-05-31 22:08 Sam James
2022-05-27 19:55 Michał Górny
2022-05-27 11:02 Jakov Smolić
2022-05-27  9:49 Jakov Smolić
2022-05-27  9:25 Jakov Smolić
2022-05-27  9:21 Jakov Smolić
2022-05-27  9:18 Jakov Smolić
2022-05-27  9:18 Jakov Smolić
2022-05-27  9:12 Jakov Smolić
2022-05-27  9:07 Jakov Smolić
2022-05-12 16:17 Michał Górny
2022-05-12 16:17 Michał Górny
2022-04-27 11:44 Arthur Zamarin
2022-04-27 11:44 Arthur Zamarin
2022-04-27 11:44 Arthur Zamarin
2022-04-27 11:44 Arthur Zamarin
2022-04-22 17:31 Arthur Zamarin
2022-04-22  8:46 Jakov Smolić
2022-04-21 19:56 Michał Górny
2022-04-15  6:43 Sam James
2022-02-07  9:35 Sam James
2021-11-28 14:42 Michał Górny
2021-05-20 20:11 Michał Górny
2021-05-15 21:36 Michał Górny
2021-05-15 19:07 Sam James
2021-05-10  6:58 Agostino Sarubbo
2021-05-02 22:09 Sergei Trofimovich
2021-04-30 23:43 Sam James
2021-04-12 14:08 Michał Górny
2021-01-21 21:09 Sam James
2021-01-19  7:04 Sergei Trofimovich
2021-01-19  2:20 Sam James
2021-01-19  2:20 Sam James
2021-01-18 16:52 Sam James
2021-01-11 17:34 Sergei Trofimovich
2021-01-10 14:30 Sam James
2021-01-08 12:20 Sam James
2021-01-05 21:03 Sam James
2020-12-16 10:09 Michał Górny
2020-11-28  8:43 Michał Górny
2020-09-20 13:11 Michał Górny
2020-05-25 19:48 Michał Górny
2020-04-22  8:15 Michał Górny
2020-04-11 11:21 Mart Raudsepp
2020-04-05 19:01 Sergei Trofimovich
2020-03-18 11:13 Agostino Sarubbo
2020-03-18 11:11 Agostino Sarubbo
2020-03-18 11:04 Agostino Sarubbo
2020-03-18 11:00 Agostino Sarubbo
2020-03-18  9:56 Agostino Sarubbo
2020-03-18  9:51 Agostino Sarubbo
2020-03-18  9:49 Agostino Sarubbo
2020-03-18  9:46 Agostino Sarubbo
2020-03-18  7:27 Michał Górny
2019-11-25 12:35 Michał Górny
2019-11-21 13:03 Michał Górny
2019-11-19  7:02 Michał Górny
2019-11-19  7:02 Michał Górny
2019-06-12 17:08 Michael Haubenwallner
2019-05-11 19:06 Matthew Thode
2019-02-22 19:40 Craig Andrews
2018-12-30  9:22 Tim Harder
2018-11-19 21:15 Fabian Groffen
2018-06-27  8:19 Fabian Groffen
2018-06-26 18:26 Fabian Groffen
2018-06-21 12:11 Fabian Groffen
2018-05-30 19:52 Mike Frysinger
2018-05-15  1:47 Aaron Bauman
2018-04-22 20:19 Matt Turner
2018-04-16 21:06 Sergei Trofimovich
2018-04-15  9:20 Sergei Trofimovich
2018-04-15  5:37 Matt Turner
2018-04-14 16:53 Sergei Trofimovich
2018-03-31 18:58 Matt Thode
2018-03-31  5:02 Matt Turner
2018-03-31  2:41 Matt Thode
2018-03-14 21:45 Sergei Trofimovich
2018-02-22  6:22 Michał Górny
2018-02-19  0:54 Matt Thode
2018-01-23 20:18 Michał Górny
2017-11-27 17:53 Mike Gilbert
2017-11-26 18:15 Tim Harder
2017-10-08 16:53 Tim Harder
2017-09-30  1:03 Matt Thode
2017-09-22  7:34 Sergei Trofimovich
2017-09-10 11:49 Sergei Trofimovich
2017-08-01 20:06 Michał Górny
2017-08-01 18:52 Brian Dolbec
2017-05-19 13:37 Michael Weber
2017-05-15  9:47 Lars Wendler
2017-05-03 11:02 Michał Górny
2017-02-19 17:46 Mike Gilbert
2017-01-23  6:24 Jeroen Roovers
2017-01-15 20:22 Markus Meier
2017-01-08  9:52 Aaron Bauman
2017-01-06 14:33 Tobias Klausmann
2016-11-30 18:05 Michał Górny
2016-11-30 18:05 Michał Górny
2016-10-25 20:27 Lars Wendler
2016-10-24 11:30 Lars Wendler
2016-10-24 11:30 Lars Wendler
2016-09-05 21:50 Manuel Rüger
2016-06-21  2:47 Mike Frysinger
2016-05-13  1:15 Mike Frysinger
2016-03-20 10:19 Dirkjan Ochtman
2016-03-19 11:35 Agostino Sarubbo
2016-02-03 20:53 Markus Meier
2016-02-02 16:46 Tobias Klausmann
2016-01-24 17:35 Agostino Sarubbo
2016-01-24  8:23 Jeroen Roovers
2016-01-24  8:16 Jeroen Roovers
2015-11-11 17:27 Justin Lecher
2015-10-18 16:48 Mikle Kolyada
2015-10-11  7:05 Justin Lecher
2015-08-26 14:47 Manuel Rüger

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=1721586463.c01d7b5a8296db91f4b7c182dc913144385ac6bb.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