1 |
commit: 4d8d5fed759811fee93af913cd27f427e5e60508 |
2 |
Author: Christopher Byrne <salah.coronya <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 21 23:06:02 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 5 13:07:43 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d8d5fed |
7 |
|
8 |
dev-python/tpm2-pytss: add 1.2.0 |
9 |
|
10 |
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com> |
11 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
12 |
|
13 |
dev-python/tpm2-pytss/Manifest | 1 + |
14 |
dev-python/tpm2-pytss/tpm2-pytss-1.2.0.ebuild | 38 +++++++++++++++++++++++++++ |
15 |
2 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/tpm2-pytss/Manifest b/dev-python/tpm2-pytss/Manifest |
18 |
index e64e0fbfbc18..4f8086d66abe 100644 |
19 |
--- a/dev-python/tpm2-pytss/Manifest |
20 |
+++ b/dev-python/tpm2-pytss/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST tpm2-pytss-1.1.0.tar.gz 162559 BLAKE2B 2c9b34c323b96b3a8ded82a04accac9647d7f0b1cf05d269ed4bdf225d785fd8454dee82f054a5085f9d49d0feabacc8c5b72a7ee8af7bc9da8473d5689501b5 SHA512 71da9e005a3f645c0528a96bb96bafde9c262c5778646a19841af6323edaf889ede7267317ea96b7d44c7901d7bea04ca15fd1b5c86d61d33e49b34f5d0e2e94 |
23 |
+DIST tpm2-pytss-1.2.0.tar.gz 178555 BLAKE2B 782f7d8194d2a9395213f39e5a17414ae2ab49f961b01c496fd54803a43f6846434a1d69a3993d16b6b51c2578f6f5e1a0d883be791cf6fb29ae23012b2090cf SHA512 688223d05a2ed5f3a5aeec47c77a02c10d40d4f23a97622e76acbf8f86b14ac2a92482869c5e04de395edb96b1e1b142c5ff53c7dbc97673ead531e4d6138184 |
24 |
|
25 |
diff --git a/dev-python/tpm2-pytss/tpm2-pytss-1.2.0.ebuild b/dev-python/tpm2-pytss/tpm2-pytss-1.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..b805c0e64531 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/tpm2-pytss/tpm2-pytss-1.2.0.ebuild |
30 |
@@ -0,0 +1,38 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Python bindings for TSS" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.org/project/tpm2-pytss |
42 |
+ https://github.com/tpm2-software/tpm2-pytss |
43 |
+" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="BSD-2" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64" |
49 |
+ |
50 |
+IUSE="+fapi test" |
51 |
+ |
52 |
+RDEPEND="app-crypt/tpm2-tss:=[fapi=] |
53 |
+ fapi? ( >=app-crypt/tpm2-tss-3.0.3:= ) |
54 |
+ dev-python/cffi[${PYTHON_USEDEP}] |
55 |
+ dev-python/asn1crypto[${PYTHON_USEDEP}] |
56 |
+ dev-python/cryptography[${PYTHON_USEDEP}] |
57 |
+ dev-python/pycparser[${PYTHON_USEDEP}] |
58 |
+ dev-python/pyyaml[${PYTHON_USEDEP}]" |
59 |
+ |
60 |
+DEPEND="${RDEPEND} |
61 |
+ test? ( app-crypt/swtpm )" |
62 |
+ |
63 |
+BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] |
64 |
+ dev-python/pkgconfig[${PYTHON_USEDEP}]" |
65 |
+ |
66 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
67 |
+ |
68 |
+distutils_enable_tests pytest |