1 |
commit: a6ae8fb19322b1356f1af8fafce32f013842a87e |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Sep 7 06:14:19 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Sep 7 06:37:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ae8fb1 |
7 |
|
8 |
dev-python/trustme: Bump to 0.5.2 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/trustme/Manifest | 1 + |
13 |
dev-python/trustme/trustme-0.5.2.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/trustme/Manifest b/dev-python/trustme/Manifest |
17 |
index 1b65b757f34..81546b7913b 100644 |
18 |
--- a/dev-python/trustme/Manifest |
19 |
+++ b/dev-python/trustme/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST trustme-0.5.0.tar.gz 21232 BLAKE2B 3804fe4e9b7049da0bab926bb1180af6bbb8f882cfb16109bed040ca50c85e7b83b5468c3388dd8478ee9fc6478523bba98c39b74cb76c86a72761a26685122e SHA512 7ce5041b8d3687fa462fe93e55b2f83549ab805cec4a2a94c9178a02af557cf8900fe6c05bae0bf100eb36181952fb2bc31cb1d4d6ad6ed2fd2b0706d569518f |
22 |
+DIST trustme-0.5.2.tar.gz 21819 BLAKE2B 68516eee909851f16c092cff580b1267e57aad5641014c7e1ff5da98fc328e1e392cf0e08d1965be062f2be1c16de735ddeff2dfbb2f20b1bb34498a1b048861 SHA512 32ab33a82752228aad200203b7b217f9b9da970067330a273c9ff5c13c8ae15ef20c39e61fc9cd748b7030691ef4b003f279a50374f59b7743c4c90aeca56a22 |
23 |
|
24 |
diff --git a/dev-python/trustme/trustme-0.5.2.ebuild b/dev-python/trustme/trustme-0.5.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..ee3f8b30629 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/trustme/trustme-0.5.2.ebuild |
29 |
@@ -0,0 +1,33 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} ) |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="#1 quality TLS certs while you wait, for the discerning tester" |
39 |
+HOMEPAGE="https://github.com/python-trio/trustme" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="|| ( Apache-2.0 MIT )" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
45 |
+IUSE="test" |
46 |
+RESTRICT="!test? ( test )" |
47 |
+ |
48 |
+RDEPEND="dev-python/cryptography[${PYTHON_USEDEP}] |
49 |
+ dev-python/idna[${PYTHON_USEDEP}] |
50 |
+ $(python_gen_cond_dep '>=dev-python/ipaddress-1.0.16[${PYTHON_USEDEP}]' -2 )" |
51 |
+DEPEND="${RDEPEND} |
52 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ test? ( |
54 |
+ dev-python/pytest[${PYTHON_USEDEP}] |
55 |
+ dev-python/pyopenssl[${PYTHON_USEDEP}] |
56 |
+ dev-python/service_identity[${PYTHON_USEDEP}] |
57 |
+ $(python_gen_cond_dep 'dev-python/futures[${PYTHON_USEDEP}]' -2 ) |
58 |
+ )" |
59 |
+ |
60 |
+python_test() { |
61 |
+ pytest -vv || die "Tests failed under ${EPYTHON}" |
62 |
+} |