Gentoo Archives: gentoo-commits

From: Yixun Lan <dlan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/protobuf-python/
Date: Sat, 29 Jan 2022 15:20:20
Message-Id: 1643469512.1e69de9ab349c1aa4bf636fc531fc409dd2c3aa6.dlan@gentoo
1 commit: 1e69de9ab349c1aa4bf636fc531fc409dd2c3aa6
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Mon Jan 10 12:00:00 2022 +0000
4 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 15:18:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e69de9a
7
8 dev-python/protobuf-python: Delete old version (3.16.0).
9
10 Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
11 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>
12
13 dev-python/protobuf-python/Manifest | 1 -
14 .../protobuf-python/protobuf-python-3.16.0.ebuild | 65 ----------------------
15 2 files changed, 66 deletions(-)
16
17 diff --git a/dev-python/protobuf-python/Manifest b/dev-python/protobuf-python/Manifest
18 index a486c4d26a37..018b2ea1f9bf 100644
19 --- a/dev-python/protobuf-python/Manifest
20 +++ b/dev-python/protobuf-python/Manifest
21 @@ -1,4 +1,3 @@
22 -DIST protobuf-3.16.0.tar.gz 5299781 BLAKE2B 9ace02a6038c31b7393671fb2ccd6a4866a3f8b7d87d2bc8371f49d65b9180f10792ca2430a83449dfa7d785a1244dac23c20756414c9d1e7c7e871a8038b123 SHA512 0191e5a6a23d03f691e883e259f6d06a0ac8eef427455bc7d1cc70b6f0ed260e4ad8f360c836fd4bdc95ec0ca314c887cbf7acbcda60e03cdfe69e4cd275bff5
23 DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9 SHA512 36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
24 DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1 SHA512 5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
25 DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95 SHA512 b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98
26
27 diff --git a/dev-python/protobuf-python/protobuf-python-3.16.0.ebuild b/dev-python/protobuf-python/protobuf-python-3.16.0.ebuild
28 deleted file mode 100644
29 index fbe4535581f8..000000000000
30 --- a/dev-python/protobuf-python/protobuf-python-3.16.0.ebuild
31 +++ /dev/null
32 @@ -1,65 +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=( python3_{8..10} )
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/27"
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 -
70 -S="${WORKDIR}/protobuf-${PV}/python"
71 -
72 -if [[ "${PV}" == "9999" ]]; then
73 - EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
74 -fi
75 -
76 -python_prepare_all() {
77 - pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
78 - eapply "${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
79 - eapply_user
80 - popd > /dev/null || die
81 -
82 - distutils-r1_python_prepare_all
83 -}
84 -
85 -python_configure_all() {
86 - mydistutilsargs=(--cpp_implementation)
87 -}
88 -
89 -python_test() {
90 - esetup.py test
91 -}
92 -
93 -python_install_all() {
94 - distutils-r1_python_install_all
95 -
96 - find "${ED}" -name "*.pth" -type f -delete || die
97 -}