public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopenssl/
Date: Fri, 24 Mar 2023 19:06:03 +0000 (UTC)	[thread overview]
Message-ID: <1679684754.89251753288c35587f2ea44d996c87575019e788.arthurzam@gentoo> (raw)

commit:     89251753288c35587f2ea44d996c87575019e788
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 19:00:12 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 19:05:54 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89251753

dev-python/pyopenssl: add 23.1.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/pyopenssl/Manifest                |  1 +
 dev-python/pyopenssl/pyopenssl-23.1.0.ebuild | 66 ++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/pyopenssl/Manifest b/dev-python/pyopenssl/Manifest
index fdfdbedfa7ec..55d7225ab86a 100644
--- a/dev-python/pyopenssl/Manifest
+++ b/dev-python/pyopenssl/Manifest
@@ -1 +1,2 @@
 DIST pyOpenSSL-23.0.0.tar.gz 182375 BLAKE2B 8a902ecd7e771dcd281dda184569fef53c7f7d1a801f5cea663ff95014717786ceaaa999b6f67fe710ade253335c856c3964a96705afd6ddb93679856d57d7cd SHA512 68c42de58305461606d9fb932a7711775cfcf1a7c5dbe900b2c7ba18eab546d4c37fcd3dd82ab2c18b15eb07bef126534473b5b29f8af4f46e0147d45ac9e64b
+DIST pyOpenSSL-23.1.0.tar.gz 182977 BLAKE2B 75bb5cf215d17a39d2f11a8948c015766d291ae4c4a9d81f03bc634a0d2abbff78d963d382f858f5609cde3e153fa709ee52c9bcccf0fed35f5f00a18cf4b5e0 SHA512 b46b9a4de7ca584f5711089f1a056c479e65e06b9a0868263aa51b3f724d81342cc89fe06c9eb6e8d44fb87e93c7face9643577145d57608ef6162a5be18127b

diff --git a/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild b/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild
new file mode 100644
index 000000000000..0e095e2b825a
--- /dev/null
+++ b/dev-python/pyopenssl/pyopenssl-23.1.0.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+PYPI_NO_NORMALIZE=1
+PYPI_PN=pyOpenSSL
+
+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 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	<dev-python/cryptography-41[${PYTHON_USEDEP}]
+	>=dev-python/cryptography-38.0.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		$(python_gen_cond_dep '
+			dev-python/cffi[${PYTHON_USEDEP}]
+		' 'python*')
+		dev-python/flaky[${PYTHON_USEDEP}]
+		dev-python/pretend[${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
+
+	distutils-r1_src_test
+}


             reply	other threads:[~2023-03-24 19:06 UTC|newest]

Thread overview: 201+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-24 19:06 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-19 17:53 [gentoo-commits] repo/gentoo:master commit in: dev-python/pyopenssl/ 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-07-21 18:28 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-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=1679684754.89251753288c35587f2ea44d996c87575019e788.arthurzam@gentoo \
    --to=arthurzam@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