1 |
commit: 16d67f8b2e426c6b6a1ec2df7e061d8dda4a2e10 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 14 20:49:40 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 14 21:13:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16d67f8b |
7 |
|
8 |
dev-python/cbor2: Bump to 5.4.2 |
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.2.ebuild | 29 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 30 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest |
17 |
index ab3c710c96e..2700d1f1355 100644 |
18 |
--- a/dev-python/cbor2/Manifest |
19 |
+++ b/dev-python/cbor2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cbor2-5.4.1.tar.gz 85777 BLAKE2B 7e81436c066dc245038fea6c5c8fb25ad87aae4c8b0a4d3e8ffa1a262dd4b08c6b0d8a79214dc13c87dc4ab6902b7762847b75f217a83769ef97783e2a25a6f4 SHA512 40aa8ad631eb6ba9a59a70fea4c6871057401550d7b4b59846e06b8a068458957beac9de1b811c8a9ca377ac06120efefb527e9a280defb55eb5767110ccb62c |
22 |
+DIST cbor2-5.4.2.tar.gz 85847 BLAKE2B 1ad8b7bf54343ad7e969c797a444653e9cf501139facb98f92727be4d31148acedff29885e99c1535a44bcc9add4e4a1890c8f4605c2b82c9975821ee029d7bb SHA512 86e79ae19120dc39e79aa410b1e75df1d82b40c0523865989310f2d7214bfd824bf86ba158b2f695542ef2f34c76c8c4d5b28dbbb9815ee923444b00e86940d4 |
23 |
|
24 |
diff --git a/dev-python/cbor2/cbor2-5.4.2.ebuild b/dev-python/cbor2/cbor2-5.4.2.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..62a624ad620 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cbor2/cbor2-5.4.2.ebuild |
29 |
@@ -0,0 +1,29 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+PYTHON_COMPAT=( python3_{8..10} ) |
35 |
+ |
36 |
+inherit distutils-r1 |
37 |
+ |
38 |
+DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support" |
39 |
+HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/" |
40 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
45 |
+ |
46 |
+BDEPEND=" |
47 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+python_prepare_all() { |
52 |
+ # remove pytest-cov dep |
53 |
+ sed -e "s/pytest-cov//" \ |
54 |
+ -e "s/--cov //" \ |
55 |
+ -i setup.cfg || die |
56 |
+ |
57 |
+ distutils-r1_python_prepare_all |
58 |
+} |