commit: 05a49a7aac4cc1273251bb9b51248de17e1a4290
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 13:27:39 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 1 13:27:39 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05a49a7a
dev-python/cbor2: Bump to 5.4.2_p1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/cbor2/Manifest | 1 +
dev-python/cbor2/cbor2-5.4.2_p1.ebuild | 37 ++++++++++++++++++++++++++++++++++
2 files changed, 38 insertions(+)
diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest
index ef261c2ddc02..b24eb1c4f4a3 100644
--- a/dev-python/cbor2/Manifest
+++ b/dev-python/cbor2/Manifest
@@ -1 +1,2 @@
+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
diff --git a/dev-python/cbor2/cbor2-5.4.2_p1.ebuild
b/dev-python/cbor2/cbor2-5.4.2_p1.ebuild
new file mode 100644
index 000000000000..6c289191ab71
--- /dev/null
+++ b/dev-python/cbor2/cbor2-5.4.2_p1.ebuild
@@ -0,0 +1,37 @@
+# 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
+
+MY_P=${P/_p/.post}
+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}/${MY_P}.tar.gz"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+
+BDEPEND="
+ dev-python/setuptools_scm[${PYTHON_USEDEP}]
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+ # remove pytest-cov dep
+ sed -e "s/pytest-cov//" \
+ -e "s/--cov //" \
+ -i setup.cfg || die
+
+ distutils-r1_python_prepare_all
+}