1 |
commit: 18d54bf68e35c566384b63e7cdef827cd3f2721b |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 20:04:34 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 20:18:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18d54bf6 |
7 |
|
8 |
dev-python/cbor2: add 5.4.5 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/cbor2/Manifest | 1 + |
13 |
dev-python/cbor2/cbor2-5.4.5.ebuild | 33 +++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 34 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest |
17 |
index f340b77ba2a2..effd07d11997 100644 |
18 |
--- a/dev-python/cbor2/Manifest |
19 |
+++ b/dev-python/cbor2/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST cbor2-5.4.3.tar.gz 86499 BLAKE2B 0303ed49a1c468a3aa13e12a4bebef17479f106bc3f0a92e35c6029ff1bd86aea6a77f557ac0c8acb5e055ec0b56c82e5c95e9417d00715a1fb244bd94d0f60d SHA512 9527bec5a36464bb7dc9a8c0ece3ad72f1c6182272a7edf0526668b264c957b72bc031d2398dc6af38af09bb298219c316da194084fab410bae5f9100b22328b |
22 |
DIST cbor2-5.4.4.tar.gz 86755 BLAKE2B 616a5e3d10f979f7f5923b0226d6ca52392e79bf1c4dcdef6d44143af75b02a91846e1a8f0c571f096f2168908137a5f31995199c13383b4d81cb1f17062b1fd SHA512 f8754423490b8a9643ca3309c99254f6be5e9eeab2163b57631fd2e6fd3f5f5dbd8495e24bbfcf96720f07467797eb3f4e3603822a7d6999f1ee4fa66651f2d7 |
23 |
+DIST cbor2-5.4.5.tar.gz 86800 BLAKE2B 2911cf15d31ec77aab79129719f9fc869392da8383b8a1afbff7e7d9c0d90ad341f66b5b76ae5142eae7036b7446dd54d545a48695de43aaf54e0824e9d8052c SHA512 ee360318c24ab6cdd93162ef78b0ab099990630ebd14c581012b0d86b1a30c9aa1e4b45d285d33da5684f5385db976189e89d32589d68272f79fcd8f7130bf7b |
24 |
|
25 |
diff --git a/dev-python/cbor2/cbor2-5.4.5.ebuild b/dev-python/cbor2/cbor2-5.4.5.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..e59e7bdb4064 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/cbor2/cbor2-5.4.5.ebuild |
30 |
@@ -0,0 +1,33 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/agronholm/cbor2/ |
44 |
+ https://pypi.org/project/cbor2/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
51 |
+ |
52 |
+BDEPEND=" |
53 |
+ >=dev-python/setuptools-61[${PYTHON_USEDEP}] |
54 |
+ >=dev-python/setuptools_scm-6.4[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ # remove pytest-cov dep |
61 |
+ sed -i -e "s/--cov//" pyproject.toml || die |
62 |
+ distutils-r1_python_prepare_all |
63 |
+} |