commit:     1f46d34a1e7cd3c93ea2f0c729be8c89ed72eb81
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 14 08:22:04 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Feb 14 08:32:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f46d34a

dev-python/protobuf-python: Remove old

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/protobuf-python/Manifest                |  5 --
 ...protobuf.pyext._message.PyUnknownFieldRef.patch | 22 --------
 .../protobuf-python/protobuf-python-3.17.0.ebuild  | 65 ----------------------
 .../protobuf-python/protobuf-python-3.17.1.ebuild  | 65 ----------------------
 .../protobuf-python/protobuf-python-3.17.2.ebuild  | 65 ----------------------
 .../protobuf-python/protobuf-python-3.17.3.ebuild  | 65 ----------------------
 .../protobuf-python/protobuf-python-3.18.2.ebuild  | 64 ---------------------
 7 files changed, 351 deletions(-)

diff --git a/dev-python/protobuf-python/Manifest 
b/dev-python/protobuf-python/Manifest
index 018b2ea1f9bf..4bcae58108da 100644
--- a/dev-python/protobuf-python/Manifest
+++ b/dev-python/protobuf-python/Manifest
@@ -1,7 +1,2 @@
-DIST protobuf-3.17.0.tar.gz 5185780 BLAKE2B 
a168619df72cdf097c7ddfd50aca96a2101bf73e7c1c842c020e6ee08a853db8674a86ca999b7706da3dd21d4d3d2159241c93232efc693701962f3a54a382e9
 SHA512 
36ed2de641849ce01531ff1207f62a0748f811519c40622a119a17a1e709864382de81481fb58f374a025948971c48416e7e6de9c00512a78633c7a8a3aa3a36
-DIST protobuf-3.17.1.tar.gz 5192666 BLAKE2B 
7f912db7e0835aaa42628fcf564a5666e2cbfa021bb35638a5eec53c3c457f1e747225dea54f732b7239a1520febca9bc20c824b1938f100796caa3ac2133bc1
 SHA512 
5a18aa3c1dab040dc6d22310a8503241081106acf7ca89079d7b416533d7c2cdd47719dc9023e6bc26969f0f1c796550260a04034a403c69752f6a3a7a651bb8
-DIST protobuf-3.17.2.tar.gz 5192779 BLAKE2B 
97f9561848e70b8d26ebcc7fc4fa8da51c4b8267efbe1d2d386c2785308e7ba7edc05f1b3863c274dc8838866d58b58509606d72c51a22b956d1d528584c4c95
 SHA512 
b3e7ad50ed772668df70a3a20ad1af13a5e82f23b109e4fecd34e6a74947bed300963c9f084907fbfafe28fc18365cde7df1975e2ff9538d2f5a3d2b458bca98
-DIST protobuf-3.17.3.tar.gz 5235236 BLAKE2B 
2495e678c8f9436d4e5a30ccee8b6226125d418ac7ecf7df20b078a1a16c221cbccab7d846dcd56a90220c106617fa75c410a21b62612fedec378cd7e8571350
 SHA512 
b4030b4474cc5fb5a62501200725dd488e6e66e3ced4ed12ab4ee029fcfed305e92ec966adafbdd343afffd186908163849422b95eaa500e7e741ac325d01d12
-DIST protobuf-3.18.2.tar.gz 5272935 BLAKE2B 
f65caa4483d3ff4186f9ea388e2a9ef232ab758cfda846cfb5993df1f991e4574e63a33b175dd00c72f61c0a23ed12d3c62eb658cd397bf43b805c41fb34c47e
 SHA512 
8ca613fdeefcbd93e866fab65effc38aa8508060aa3de0109dbead68f2e27eb22ad0a8aea10c8b4c3e9de181d62185c93b369fb5abf96de02a170f2e5c27e0cd
 DIST protobuf-3.19.1.tar.gz 5291573 BLAKE2B 
a34f1a7cf99ecb6cb8a26bc858de6273bfd26aa9be1e89e48c16cb5df0f1e9576479344c8250017238dbac0d0c4ac33001125b5fc622cb64ed6b91023198b03a
 SHA512 
f1271f5159a7be363a5f60ce4921dfea68a8468d66808330bacaeaa1cb7f652d045ab080b5d82816a6fd4e6d7d7fe79aaa6c8d66d81692721d36ce3bbf619f31
 DIST protobuf-3.19.3.tar.gz 5293258 BLAKE2B 
c05b70ffca97f7166ea6a511a36907eed125edf1ebf17f908718221d9b851be84dfb2b1b39973f2faf35f6ade630e6ba4f9e8b91b8fbc922c5db97079323ee6e
 SHA512 
1c003e7cbc8eae6a038f46e688b401ee202ba47f502561e909df79770f6e8b7daf3dc1ccc727e31bfb5b52cd04cb4fef7d2d2a28d650c13f396872ad4aa076c6

diff --git 
a/dev-python/protobuf-python/files/protobuf-python-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch
 
b/dev-python/protobuf-python/files/protobuf-python-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch
deleted file mode 100644
index 68318320b909..000000000000
--- 
a/dev-python/protobuf-python/files/protobuf-python-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-https://github.com/protocolbuffers/protobuf/issues/6205
-https://github.com/protocolbuffers/protobuf/pull/7016
-
---- /python/google/protobuf/pyext/unknown_fields.cc
-+++ /python/google/protobuf/pyext/unknown_fields.cc
-@@ -277,13 +277,13 @@
-   PyObject* data = NULL;
-   switch (field->type()) {
-     case UnknownField::TYPE_VARINT:
--      data = PyInt_FromLong(field->varint());
-+      data = PyLong_FromUnsignedLongLong(field->varint());
-       break;
-     case UnknownField::TYPE_FIXED32:
--      data = PyInt_FromLong(field->fixed32());
-+      data = PyLong_FromUnsignedLong(field->fixed32());
-       break;
-     case UnknownField::TYPE_FIXED64:
--      data = PyInt_FromLong(field->fixed64());
-+      data = PyLong_FromUnsignedLongLong(field->fixed64());
-       break;
-     case UnknownField::TYPE_LENGTH_DELIMITED:
-       data = PyBytes_FromStringAndSize(field->length_delimited().data(),

diff --git a/dev-python/protobuf-python/protobuf-python-3.17.0.ebuild 
b/dev-python/protobuf-python/protobuf-python-3.17.0.ebuild
deleted file mode 100644
index 383ab9947049..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.17.0.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2008-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS="bdepend"
-
-inherit distutils-r1
-
-if [[ "${PV}" == "9999" ]]; then
-       inherit git-r3
-
-       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
-       EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Python bindings"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
-       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-BDEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}
-       dev-python/namespace-google[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}"
-RDEPEND="${BDEPEND}"
-
-S="${WORKDIR}/protobuf-${PV}/python"
-
-if [[ "${PV}" == "9999" ]]; then
-       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
-fi
-
-python_prepare_all() {
-       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
-       eapply 
"${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
-       eapply_user
-       popd > /dev/null || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       mydistutilsargs=(--cpp_implementation)
-}
-
-python_test() {
-       esetup.py test
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${ED}" -name "*.pth" -type f -delete || die
-}

diff --git a/dev-python/protobuf-python/protobuf-python-3.17.1.ebuild 
b/dev-python/protobuf-python/protobuf-python-3.17.1.ebuild
deleted file mode 100644
index 383ab9947049..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.17.1.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2008-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS="bdepend"
-
-inherit distutils-r1
-
-if [[ "${PV}" == "9999" ]]; then
-       inherit git-r3
-
-       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
-       EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Python bindings"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
-       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-BDEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}
-       dev-python/namespace-google[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}"
-RDEPEND="${BDEPEND}"
-
-S="${WORKDIR}/protobuf-${PV}/python"
-
-if [[ "${PV}" == "9999" ]]; then
-       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
-fi
-
-python_prepare_all() {
-       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
-       eapply 
"${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
-       eapply_user
-       popd > /dev/null || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       mydistutilsargs=(--cpp_implementation)
-}
-
-python_test() {
-       esetup.py test
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${ED}" -name "*.pth" -type f -delete || die
-}

diff --git a/dev-python/protobuf-python/protobuf-python-3.17.2.ebuild 
b/dev-python/protobuf-python/protobuf-python-3.17.2.ebuild
deleted file mode 100644
index 383ab9947049..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.17.2.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2008-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS="bdepend"
-
-inherit distutils-r1
-
-if [[ "${PV}" == "9999" ]]; then
-       inherit git-r3
-
-       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
-       EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Python bindings"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
-       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/28"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 
~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-BDEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}
-       dev-python/namespace-google[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}"
-RDEPEND="${BDEPEND}"
-
-S="${WORKDIR}/protobuf-${PV}/python"
-
-if [[ "${PV}" == "9999" ]]; then
-       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
-fi
-
-python_prepare_all() {
-       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
-       eapply 
"${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
-       eapply_user
-       popd > /dev/null || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       mydistutilsargs=(--cpp_implementation)
-}
-
-python_test() {
-       esetup.py test
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${ED}" -name "*.pth" -type f -delete || die
-}

diff --git a/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild 
b/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild
deleted file mode 100644
index 3d9369545d71..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.17.3.ebuild
+++ /dev/null
@@ -1,65 +0,0 @@
-# Copyright 2008-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_SETUPTOOLS="bdepend"
-
-inherit distutils-r1
-
-if [[ "${PV}" == "9999" ]]; then
-       inherit git-r3
-
-       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
-       EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Python bindings"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
-       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/28"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~sparc 
x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-BDEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}
-       dev-python/namespace-google[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}"
-RDEPEND="${BDEPEND}"
-
-S="${WORKDIR}/protobuf-${PV}/python"
-
-if [[ "${PV}" == "9999" ]]; then
-       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
-fi
-
-python_prepare_all() {
-       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
-       eapply 
"${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
-       eapply_user
-       popd > /dev/null || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       mydistutilsargs=(--cpp_implementation)
-}
-
-python_test() {
-       esetup.py test
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${ED}" -name "*.pth" -type f -delete || die
-}

diff --git a/dev-python/protobuf-python/protobuf-python-3.18.2.ebuild 
b/dev-python/protobuf-python/protobuf-python-3.18.2.ebuild
deleted file mode 100644
index 4e76735372f8..000000000000
--- a/dev-python/protobuf-python/protobuf-python-3.18.2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 2008-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-if [[ "${PV}" == "9999" ]]; then
-       inherit git-r3
-
-       EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf";
-       EGIT_SUBMODULES=()
-fi
-
-DESCRIPTION="Google's Protocol Buffers - Python bindings"
-HOMEPAGE="https://developers.google.com/protocol-buffers/ 
https://github.com/protocolbuffers/protobuf";
-if [[ "${PV}" == "9999" ]]; then
-       SRC_URI=""
-else
-       
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> 
protobuf-${PV}.tar.gz"
-fi
-
-LICENSE="BSD"
-SLOT="0/29"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 -hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv 
~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
-IUSE=""
-
-BDEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}
-       dev-python/namespace-google[${PYTHON_USEDEP}]
-       dev-python/six[${PYTHON_USEDEP}]"
-DEPEND="${PYTHON_DEPS}
-       ~dev-libs/protobuf-${PV}"
-RDEPEND="${BDEPEND}"
-
-S="${WORKDIR}/protobuf-${PV}/python"
-
-if [[ "${PV}" == "9999" ]]; then
-       EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
-fi
-
-python_prepare_all() {
-       pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
-       eapply 
"${FILESDIR}/${PN}-3.13.0-google.protobuf.pyext._message.PyUnknownFieldRef.patch"
-       eapply_user
-       popd > /dev/null || die
-
-       distutils-r1_python_prepare_all
-}
-
-python_configure_all() {
-       mydistutilsargs=(--cpp_implementation)
-}
-
-python_test() {
-       esetup.py test
-}
-
-python_install_all() {
-       distutils-r1_python_install_all
-
-       find "${ED}" -name "*.pth" -type f -delete || die
-}

Reply via email to