Gentoo Archives: gentoo-commits

From: Anna Vyalkova <cyber+gentoo@×××××.in>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pure-protobuf/
Date: Fri, 21 Jan 2022 16:43:15
Message-Id: 1642783069.f1b14cce989b6312d386f31f8b70e996df779074.cybertailor@gentoo
1 commit: f1b14cce989b6312d386f31f8b70e996df779074
2 Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
3 AuthorDate: Fri Jan 21 16:37:49 2022 +0000
4 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
5 CommitDate: Fri Jan 21 16:37:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f1b14cce
7
8 dev-python/pure-protobuf: version bump to 2.1.0
9
10 Closes: https://bugs.gentoo.org/831699
11 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
12
13 dev-python/pure-protobuf/Manifest | 3 +--
14 .../pure-protobuf/pure-protobuf-2.0.0-r1.ebuild | 25 ----------------------
15 ...buf-2.0.1.ebuild => pure-protobuf-2.1.0.ebuild} | 8 ++++---
16 3 files changed, 6 insertions(+), 30 deletions(-)
17
18 diff --git a/dev-python/pure-protobuf/Manifest b/dev-python/pure-protobuf/Manifest
19 index bad8050e5..193cc9705 100644
20 --- a/dev-python/pure-protobuf/Manifest
21 +++ b/dev-python/pure-protobuf/Manifest
22 @@ -1,2 +1 @@
23 -DIST pure-protobuf-2.0.0.tar.gz 17576 BLAKE2B 49979559b3c08eb9abdddfa80e78ca4d953347a005b042d5b69aa4c6caef185c358408b1bf54d9161c0cadf69422b1ed033c74b324e947328c55f8b6ec4fd050 SHA512 a8d5211f34d0d6fab28d8b54fb3bb87d41a13b61a01f6f79f47fc1c0eafaf1ab17ddfd323c1035fcd4794b7b23823f48f38af3aa485835683f824cdd4689b098
24 -DIST pure-protobuf-2.0.1.tar.gz 15205 BLAKE2B 976fd1db77d8fcbc07c3bbdd277989c33b31186b67e773a3ea0bdce703f5aa2bf77938aa13a252672f2b710ccc9df084031a6f6855791b7465d3b5623bd33fed SHA512 75b6c735715e69240ad24e38f6692a181e9382daa4eeb9b3747873c5edbd16cee0ceaa1a773402129b8a60d7741411cf703bc7a8dd26b4433e60925a1380d3f1
25 +DIST pure-protobuf-2.1.0.tar.gz 15566 BLAKE2B 9e07c5dc70c928bfb20504c58f60cdea51dbc45a41134cf95056829b1aec3b5f1f4e684d101332c5764349fda863aa11301c6eab99eb4c34b74a43161640ba8b SHA512 7c76eaf866a7cdddc886a583883f4aec502c4edb1952902b8a6a259b10d0577adc94874e1e1dfc0378690791872248d878e0448925ab68468bd71a194dc100fc
26
27 diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild
28 deleted file mode 100644
29 index 6a8ddac5f..000000000
30 --- a/dev-python/pure-protobuf/pure-protobuf-2.0.0-r1.ebuild
31 +++ /dev/null
32 @@ -1,25 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -PYTHON_COMPAT=( python3_8 )
39 -
40 -inherit distutils-r1
41 -
42 -DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python"
43 -HOMEPAGE="
44 - https://github.com/eigenein/protobuf
45 - https://pypi.org/project/pure-protobuf/
46 -"
47 -SRC_URI="https://github.com/eigenein/protobuf/archive/${PV}.tar.gz -> ${P}.tar.gz"
48 -
49 -LICENSE="MIT"
50 -SLOT="0"
51 -KEYWORDS="~amd64"
52 -
53 -S="${WORKDIR}/protobuf-${PV}"
54 -
55 -distutils_enable_tests pytest
56 -
57 -PATCHES="${FILESDIR}/${PN}-do-not-install-tests.patch"
58
59 diff --git a/dev-python/pure-protobuf/pure-protobuf-2.0.1.ebuild b/dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild
60 similarity index 80%
61 rename from dev-python/pure-protobuf/pure-protobuf-2.0.1.ebuild
62 rename to dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild
63 index a1d047dab..a40af5b53 100644
64 --- a/dev-python/pure-protobuf/pure-protobuf-2.0.1.ebuild
65 +++ b/dev-python/pure-protobuf/pure-protobuf-2.1.0.ebuild
66 @@ -1,10 +1,10 @@
67 -# Copyright 1999-2021 Gentoo Authors
68 +# Copyright 1999-2022 Gentoo Authors
69 # Distributed under the terms of the GNU General Public License v2
70
71 EAPI=8
72
73 PYTHON_COMPAT=( python3_{8..10} )
74 -
75 +DISTUTILS_USE_PEP517=setuptools
76 inherit distutils-r1
77
78 DESCRIPTION="Python implementation of Protocol Buffers data types with dataclasses support"
79 @@ -13,10 +13,12 @@ HOMEPAGE="
80 https://pypi.org/project/pure-protobuf/
81 "
82 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
83 -S="${WORKDIR}/protobuf-${PV}"
84
85 LICENSE="MIT"
86 SLOT="0"
87 KEYWORDS="~amd64"
88
89 +# ModuleNotFoundError
90 +RESTRICT="test"
91 +
92 distutils_enable_tests pytest