Gentoo Archives: gentoo-commits

From: Mike Gilbert <floppym@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/protobuf-python/
Date: Sun, 06 Jun 2021 17:04:51
Message-Id: 1622999080.61e507501c9921a9c62e4220f4e5c8f6143f4d4a.floppym@gentoo
1 commit: 61e507501c9921a9c62e4220f4e5c8f6143f4d4a
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Sat Jun 5 02:00:00 2021 +0000
4 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 6 17:04:40 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61e50750
7
8 dev-python/protobuf-python: Delete old version (3.14.0).
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
12
13 dev-python/protobuf-python/Manifest | 1 -
14 .../protobuf-python/protobuf-python-3.14.0.ebuild | 66 ----------------------
15 2 files changed, 67 deletions(-)
16
17 diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest
18 index db2b1f99008..a4051caa640 100644
19 --- a/dev-python/protobuf-python/Manifest
20 +++ b/dev-python/protobuf-python/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST protobuf-3.14.0.tar.gz 5319779 BLAKE2B cea083eea4d7fec441536effdfe2bf1811913154b0cc0da2f14f4edeb0efb200236da102c36700e24fab73fd9883aa90576ad64603a7f175ebf5cef0dc29aae5 SHA512 9dabba81119cb6196ef5de382a1032c57f6e69038f4dce0156f8671b98e51bb5095915fb6d05bb5a8ad8b17b559e652e1e9a392dd30c7ed8dcf1d986c137be11
23 DIST protobuf-3.15.0.tar.gz 5284848 BLAKE2B 6c1135499dd73b6d1764f47ded6415f8073841bccf5d5626e751fc159b67a6103d71a84096f563053c34c9e4235504238fcdc86ebb757d38b2f4bc1674d08674 SHA512 f52dfbfabdff3306d26ec05cbba7cd47bf3db8b08f4fb27e2cbd5a594de57f0a7ab2212dcea2055a9adfddc94ae4df2d0b1caea311ead75bb850ef8458b1b74a
24 DIST protobuf-3.15.1.tar.gz 5284851 BLAKE2B 5e3f487ba1c3f6a3d2d87f2421f9b07aa4618df0853b05364d7f29e93d8e7dc4c3ece08ba3b7cd0bf69d0faaa32ccc952218a8df7575b74aa6216977f2b2219b SHA512 24efeec969ee72833c377e6287e3b06a431d54d9b3be50635685f6903534f15c2957d78cdbf4bcc6482732ecdbc735dc894c0b9095486419b8d11d6df6169180
25 DIST protobuf-3.15.2.tar.gz 5284455 BLAKE2B 433ac18774395174798d110e4eaae95c44bc8be89cfae85648497f8531cf19513f4c7745a6afc27d6d49a07e7e1fb4faeff73530fa082665727095e837f11940 SHA512 34e82ece83f47249fd5398a955e4f0a32d0722abcaa4e90c741bdc5106a0bd92088babe3d10d818dd89e2e9254cecbb68ae0c182ea408d4f1e2d70318e7baf37
26
27 diff --git a/dev-python/protobuf-python/protobuf-python-3.14.0.ebuild b/dev-python/protobuf-python/protobuf-python-3.14.0.ebuild
28 deleted file mode 100644
29 index b2ac1bf9e13..00000000000
30 --- a/dev-python/protobuf-python/protobuf-python-3.14.0.ebuild
31 +++ /dev/null
32 @@ -1,66 +0,0 @@
33 -# Copyright 2008-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -PYTHON_COMPAT=(python{3_7,3_8,3_9})
38 -DISTUTILS_USE_SETUPTOOLS="bdepend"
39 -
40 -inherit distutils-r1
41 -
42 -if [[ "${PV}" == "9999" ]]; then
43 - inherit git-r3
44 -
45 - EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf"
46 - EGIT_SUBMODULES=()
47 -fi
48 -
49 -DESCRIPTION="Google's Protocol Buffers - Python bindings"
50 -HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
51 -if [[ "${PV}" == "9999" ]]; then
52 - SRC_URI=""
53 -else
54 - SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz"
55 -fi
56 -
57 -LICENSE="BSD"
58 -SLOT="0/25"
59 -KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x64-macos"
60 -IUSE=""
61 -
62 -BDEPEND="${PYTHON_DEPS}
63 - ~dev-libs/protobuf-${PV}
64 - dev-python/namespace-google[${PYTHON_USEDEP}]
65 - dev-python/six[${PYTHON_USEDEP}]"
66 -DEPEND="${PYTHON_DEPS}
67 - ~dev-libs/protobuf-${PV}"
68 -RDEPEND="${BDEPEND}
69 - !<dev-libs/protobuf-3[python(-)]"
70 -
71 -S="${WORKDIR}/protobuf-${PV}/python"
72 -
73 -if [[ "${PV}" == "9999" ]]; then
74 - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
75 -fi
76 -
77 -python_prepare_all() {
78 - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
79 - eapply "${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
80 - eapply_user
81 - popd > /dev/null || die
82 -
83 - distutils-r1_python_prepare_all
84 -}
85 -
86 -python_configure_all() {
87 - mydistutilsargs=(--cpp_implementation)
88 -}
89 -
90 -python_test() {
91 - esetup.py test
92 -}
93 -
94 -python_install_all() {
95 - distutils-r1_python_install_all
96 -
97 - find "${D}" -name "*.pth" -type f -delete || die
98 -}