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