Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cbor2/
Date: Thu, 08 Jul 2021 07:06:44
Message-Id: 1625727630.6b02164d1d135900c4fc3a259686d1dff9983e24.mgorny@gentoo
1 commit: 6b02164d1d135900c4fc3a259686d1dff9983e24
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 8 07:00:30 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 8 07:00:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b02164d
7
8 dev-python/cbor2: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cbor2/Manifest | 2 --
13 dev-python/cbor2/cbor2-5.2.0.ebuild | 40 ----------------------------------
14 dev-python/cbor2/cbor2-5.3.0.ebuild | 43 -------------------------------------
15 3 files changed, 85 deletions(-)
16
17 diff --git a/dev-python/cbor2/Manifest b/dev-python/cbor2/Manifest
18 index 036d939cb6a..cd798c9fe13 100644
19 --- a/dev-python/cbor2/Manifest
20 +++ b/dev-python/cbor2/Manifest
21 @@ -1,3 +1 @@
22 -DIST cbor2-5.2.0.tar.gz 81467 BLAKE2B ac35cf682f15eba2c2bff81f562fe2f22906ab8da39c04cbf65f403eeacb5e640e200b15a8cca0d7eede1d0106cd8674640b3093d166a4414a2d42452a374322 SHA512 101aed37c3921ace2f4a5fbb9964ddd2ec2ffcd23fb1a9f838b2f8925f17ffaf5eb39a40b5426e176f0c97a2ba1d3a045e96ceb53312b283101900eddacc6af4
23 -DIST cbor2-5.3.0.tar.gz 81162 BLAKE2B 41bb0f74998260e2612dbd1990970554b906eaca40e52c21fd90d026ce0aad706830b98f10a226bdc23b819d3f1c52f93f25892a1de04f2a673b4d150a5c47fa SHA512 05eacace46c4b2f7025f12613ae6a755aa7fab14f15d0131d4d856ec5c37bea547d3c4a8afdde28c8653139be741f47351de5460df7dd3ec662325c8d1e2f3fd
24 DIST cbor2-5.4.0.tar.gz 84850 BLAKE2B f615667fbf0a823606d55e36de42af6ff4cdc0f039e540750ec2663ba660bf11f26b75ed21ffa61ba6de05fcb6eb76982757321430506a4cfde11c1487cc788c SHA512 9fb110ebadbd803af94bbe5b6f35bf6d28dd2c30609d1bacca08dfa01efb07e670fee72aa29010ef6c64051eda6e772d3ada0fd64c444ccc0e94061483131c60
25
26 diff --git a/dev-python/cbor2/cbor2-5.2.0.ebuild b/dev-python/cbor2/cbor2-5.2.0.ebuild
27 deleted file mode 100644
28 index ee466b902b5..00000000000
29 --- a/dev-python/cbor2/cbor2-5.2.0.ebuild
30 +++ /dev/null
31 @@ -1,40 +0,0 @@
32 -# Copyright 1999-2021 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{7..9} )
37 -
38 -inherit distutils-r1
39 -
40 -DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support"
41 -HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/"
42 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
43 -
44 -LICENSE="MIT"
45 -SLOT="0"
46 -KEYWORDS="amd64 arm arm64 x86"
47 -
48 -distutils_enable_tests pytest
49 -
50 -python_prepare_all() {
51 - # remove pytest-cov dep
52 - sed -e "s/pytest-cov//" \
53 - -e "s/--cov //" \
54 - -i setup.cfg || die
55 -
56 - distutils-r1_python_prepare_all
57 -}
58 -
59 -python_test() {
60 - local deselect=()
61 -
62 - if use arm || use x86; then
63 - # https://github.com/agronholm/cbor2/issues/99
64 - deselect+=(
65 - tests/test_decoder.py::test_huge_truncated_bytes
66 - tests/test_decoder.py::test_huge_truncated_string
67 - )
68 - fi
69 -
70 - epytest ${deselect[@]/#/--deselect }
71 -}
72
73 diff --git a/dev-python/cbor2/cbor2-5.3.0.ebuild b/dev-python/cbor2/cbor2-5.3.0.ebuild
74 deleted file mode 100644
75 index 08eedaa0341..00000000000
76 --- a/dev-python/cbor2/cbor2-5.3.0.ebuild
77 +++ /dev/null
78 @@ -1,43 +0,0 @@
79 -# Copyright 1999-2021 Gentoo Authors
80 -# Distributed under the terms of the GNU General Public License v2
81 -
82 -EAPI=7
83 -PYTHON_COMPAT=( python3_{7..10} )
84 -
85 -inherit distutils-r1
86 -
87 -DESCRIPTION="Pure Python CBOR (de)serializer with extensive tag support"
88 -HOMEPAGE="https://github.com/agronholm/cbor2 https://pypi.org/project/cbor2/"
89 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
90 -
91 -LICENSE="MIT"
92 -SLOT="0"
93 -KEYWORDS="~amd64 ~arm ~arm64 ~x86"
94 -
95 -BDEPEND="
96 - dev-python/setuptools_scm[${PYTHON_USEDEP}]"
97 -
98 -distutils_enable_tests pytest
99 -
100 -python_prepare_all() {
101 - # remove pytest-cov dep
102 - sed -e "s/pytest-cov//" \
103 - -e "s/--cov //" \
104 - -i setup.cfg || die
105 -
106 - distutils-r1_python_prepare_all
107 -}
108 -
109 -python_test() {
110 - local deselect=()
111 -
112 - if use arm || use x86; then
113 - # https://github.com/agronholm/cbor2/issues/99
114 - deselect+=(
115 - tests/test_decoder.py::test_huge_truncated_bytes
116 - tests/test_decoder.py::test_huge_truncated_string
117 - )
118 - fi
119 -
120 - epytest ${deselect[@]/#/--deselect }
121 -}