Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/service_identity/
Date: Thu, 12 May 2022 16:17:15
Message-Id: 1652372218.798fde3f577e066317fbe7f0c5b56d45d6b02da4.mgorny@gentoo
1 commit: 798fde3f577e066317fbe7f0c5b56d45d6b02da4
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 12 15:32:17 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu May 12 16:16:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=798fde3f
7
8 dev-python/service_identity: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../service_identity-21.1.0-r1.ebuild | 35 ++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-python/service_identity/service_identity-21.1.0-r1.ebuild b/dev-python/service_identity/service_identity-21.1.0-r1.ebuild
16 new file mode 100644
17 index 000000000000..edb14855d9f9
18 --- /dev/null
19 +++ b/dev-python/service_identity/service_identity-21.1.0-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="Service identity verification for pyOpenSSL"
32 +HOMEPAGE="
33 + https://github.com/pyca/service-identity/
34 + https://pypi.org/project/service_identity/
35 +"
36 +SRC_URI="
37 + https://github.com/pyca/service-identity/archive/${PV}.tar.gz
38 + -> ${P}.gh.tar.gz
39 +"
40 +S=${WORKDIR}/${P/_/-}
41 +
42 +LICENSE="MIT"
43 +SLOT="0"
44 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
45 +
46 +# TODO: upstream made pyopenssl optional
47 +RDEPEND="
48 + dev-python/pyasn1[${PYTHON_USEDEP}]
49 + dev-python/pyasn1-modules[${PYTHON_USEDEP}]
50 + >=dev-python/pyopenssl-0.14[${PYTHON_USEDEP}]
51 + >=dev-python/attrs-19.1.0[${PYTHON_USEDEP}]
52 + dev-python/six[${PYTHON_USEDEP}]
53 +"
54 +
55 +distutils_enable_tests pytest