commit:     881d8a7cbcd240694e1843bebd090d5905e79887
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May  4 07:36:09 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May  4 08:19:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=881d8a7c

dev-python/cbor2: Bump to 5.4.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/cbor2/Manifest           |  1 +
 dev-python/cbor2/cbor2-5.4.3.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest
index b24eb1c4f4a3..93bcea519c9c 100644
--- a/dev-python/cbor2/Manifest
+++ b/dev-python/cbor2/Manifest
@@ -1,2 +1,3 @@
 DIST cbor2-5.4.2.post1.tar.gz 85858 BLAKE2B 
6d82ba6b99828615a3f93d8958f759fdc838a7c324ebbe82cda7d46ab8a450db95b626eac83df24d874725f99a141864d97e1077cdc9f2b177cc3d5019eab429
 SHA512 
48db9e58bf2209d19a89756d60e3d91c652edb6a0b0325aecde0250869c674b1759122aaab45c59d4ff8bffdca4a64a142871f5a88af66f238361d9d586cf78e
 DIST cbor2-5.4.2.tar.gz 85847 BLAKE2B 
1ad8b7bf54343ad7e969c797a444653e9cf501139facb98f92727be4d31148acedff29885e99c1535a44bcc9add4e4a1890c8f4605c2b82c9975821ee029d7bb
 SHA512 
86e79ae19120dc39e79aa410b1e75df1d82b40c0523865989310f2d7214bfd824bf86ba158b2f695542ef2f34c76c8c4d5b28dbbb9815ee923444b00e86940d4
+DIST cbor2-5.4.3.tar.gz 86499 BLAKE2B 
0303ed49a1c468a3aa13e12a4bebef17479f106bc3f0a92e35c6029ff1bd86aea6a77f557ac0c8acb5e055ec0b56c82e5c95e9417d00715a1fb244bd94d0f60d
 SHA512 
9527bec5a36464bb7dc9a8c0ece3ad72f1c6182272a7edf0526668b264c957b72bc031d2398dc6af38af09bb298219c316da194084fab410bae5f9100b22328b

diff --git a/dev-python/cbor2/cbor2-5.4.3.ebuild 
b/dev-python/cbor2/cbor2-5.4.3.ebuild
new file mode 100644
index 000000000000..8a4cc0a2d0bb
--- /dev/null
+++ b/dev-python/cbor2/cbor2-5.4.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support"
+HOMEPAGE="
+       https://github.com/agronholm/cbor2/
+       https://pypi.org/project/cbor2/
+"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+BDEPEND="
+       >=dev-python/setuptools-61[${PYTHON_USEDEP}]
+       >=dev-python/setuptools_scm-6.4[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+       # remove pytest-cov dep
+       sed -i -e "s/--cov//" pyproject.toml || die
+       distutils-r1_python_prepare_all
+}

Reply via email to