1 |
commit: 05a49a7aac4cc1273251bb9b51248de17e1a4290 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 1 13:27:39 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 1 13:27:39 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a49a7a |
7 |
|
8 |
dev-python/cbor2: Bump to 5.4.2_p1 |
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_p1.ebuild | 37 ++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest |
17 |
index ef261c2ddc02..b24eb1c4f4a3 100644 |
18 |
--- a/dev-python/cbor2/Manifest |
19 |
+++ b/dev-python/cbor2/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST cbor2-5.4.2.post1.tar.gz 85858 BLAKE2B 6d82ba6b99828615a3f93d8958f759fdc838a7c324ebbe82cda7d46ab8a450db95b626eac83df24d874725f99a141864d97e1077cdc9f2b177cc3d5019eab429 SHA512 48db9e58bf2209d19a89756d60e3d91c652edb6a0b0325aecde0250869c674b1759122aaab45c59d4ff8bffdca4a64a142871f5a88af66f238361d9d586cf78e |
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_p1.ebuild b/dev-python/cbor2/cbor2-5.4.2_p1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..6c289191ab71 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/cbor2/cbor2-5.4.2_p1.ebuild |
29 |
@@ -0,0 +1,37 @@ |
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..10} ) |
37 |
+ |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+MY_P=${P/_p/.post} |
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}/${MY_P}.tar.gz" |
47 |
+S=${WORKDIR}/${MY_P} |
48 |
+ |
49 |
+LICENSE="MIT" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" |
52 |
+ |
53 |
+BDEPEND=" |
54 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
55 |
+" |
56 |
+ |
57 |
+distutils_enable_tests pytest |
58 |
+ |
59 |
+python_prepare_all() { |
60 |
+ # remove pytest-cov dep |
61 |
+ sed -e "s/pytest-cov//" \ |
62 |
+ -e "s/--cov //" \ |
63 |
+ -i setup.cfg || die |
64 |
+ |
65 |
+ distutils-r1_python_prepare_all |
66 |
+} |