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/jwcrypto/
Date: Wed, 09 Jun 2021 20:54:08
Message-Id: 1623272034.ca8bf0a7203adc9157810f8418f6e20e51f81311.mgorny@gentoo
1 commit: ca8bf0a7203adc9157810f8418f6e20e51f81311
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 9 20:18:01 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 9 20:53:54 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca8bf0a7
7
8 dev-python/jwcrypto: Bump to 0.9.1
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jwcrypto/Manifest | 1 +
13 dev-python/jwcrypto/jwcrypto-0.9.1.ebuild | 33 +++++++++++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/jwcrypto/Manifest b/dev-python/jwcrypto/Manifest
17 index bc58a0cf889..4ad2c6f67f9 100644
18 --- a/dev-python/jwcrypto/Manifest
19 +++ b/dev-python/jwcrypto/Manifest
20 @@ -1,2 +1,3 @@
21 DIST jwcrypto-0.8.0.tar.gz 81782 BLAKE2B a3cfb04f099a747c365f870c53d75574cdfaf8b98373f37cc107ebca956b414b7d7cb78f8fcd6d3964528d3bc8a217e5c645bf6e82531e951dfdd9ca03472111 SHA512 784134d27ff7abd31e1069763969513ed45f81fd2c242b7ff7036413c35ef374d535eae0123f5561a8e4eb2630cee40056d1c66454288e1310c4cbedecaac210
22 DIST jwcrypto-0.9.0.tar.gz 83891 BLAKE2B 873f6764d13ea80e8c4e1709fcf4e2a70cb59834521154b35cb94a51ce5cbfa7f4e2d079a3c096b013eef6f3a6adc4935cd3416b22f20b9edce01e95dc1910fb SHA512 6a2670aad8a3db926c4a6e54a62f3b698b717a8bc1726ba8f13e2415f574202e205cab76c79564280dcb2b3b4002a7c03c172d20761c70f76dc007a1ae26dad5
23 +DIST jwcrypto-0.9.1.tar.gz 86363 BLAKE2B d5920b9471870855bc131c171dc5515cc23fb9b94c38b33ce4894bcbe6fb5d0fa87e8b88f6470b8d1c1a1bc158d0dd09f51ace50baab03c8a8df59adc6e7e11d SHA512 245221d5e570918c1db9abdad72a0b03fb3fbdbb4db46ece441cbd75d43246b1b35bfd75e20718b8fa125bcaa85088cd776a7c204dd68e51e63818ae438848eb
24
25 diff --git a/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild b/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild
26 new file mode 100644
27 index 00000000000..99fd185f157
28 --- /dev/null
29 +++ b/dev-python/jwcrypto/jwcrypto-0.9.1.ebuild
30 @@ -0,0 +1,33 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( pypy3 python3_{8..10} )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="Implements JWK,JWS,JWE specifications using python-cryptography"
41 +
42 +HOMEPAGE="https://github.com/latchset/jwcrypto"
43 +SRC_URI="
44 + https://github.com/latchset/jwcrypto/archive/v${PV}.tar.gz
45 + -> ${P}.tar.gz"
46 +
47 +LICENSE="LGPL-3+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~arm64 ~x86"
50 +
51 +RDEPEND="
52 + >=dev-python/cryptography-2.3[${PYTHON_USEDEP}]
53 + dev-python/deprecated[${PYTHON_USEDEP}]
54 + dev-python/six[${PYTHON_USEDEP}]"
55 +
56 +distutils_enable_sphinx docs/source
57 +distutils_enable_tests pytest
58 +
59 +python_prepare_all() {
60 + # Do not install doc in non-standard paths
61 + sed -i "\|data_files = \[('share/doc/jwcrypto|d" setup.py || die
62 + distutils-r1_python_prepare_all
63 +}