commit: 2eceba36b9e8a1efe209471ceb2d8569885e39ee
Author: David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Thu Aug 28 10:48:26 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Thu Aug 28 10:48:26 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2eceba36
dev-python/grpc-stubs: treeclean
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
dev-python/grpc-stubs/Manifest | 1 -
...grpc-stubs-1.53.0.3-die-on-missing-import.patch | 12 -------
dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild | 40 ----------------------
dev-python/grpc-stubs/metadata.xml | 12 -------
profiles/package.mask | 6 ----
5 files changed, 71 deletions(-)
diff --git a/dev-python/grpc-stubs/Manifest b/dev-python/grpc-stubs/Manifest
deleted file mode 100644
index 563d498fc0..0000000000
--- a/dev-python/grpc-stubs/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST grpc-stubs-1.53.0.3.gh.tar.gz 14667 BLAKE2B
58f1ff46f6e4ad96fafa7583158e8a3be1ac5fc991f50dde34899fad919fbfb46afe5da8846aa7ef98cdc4de34609ee93a06d137630d505460d34ecaa3a47837
SHA512
dbcf9882b4ad986bcf17ed613c233cfd889d46340b91534d9ef33a11e1ce25db5e81a747c57b55a1e174012c81da94d29769706a1b3932ca13b020506235ccbd
diff --git
a/dev-python/grpc-stubs/files/grpc-stubs-1.53.0.3-die-on-missing-import.patch
b/dev-python/grpc-stubs/files/grpc-stubs-1.53.0.3-die-on-missing-import.patch
deleted file mode 100644
index 7b7a8e9f0b..0000000000
---
a/dev-python/grpc-stubs/files/grpc-stubs-1.53.0.3-die-on-missing-import.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Tests should fail if mypy fails to find the stubs that are to be tested.
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -1,7 +1,7 @@
- [mypy]
- check_untyped_defs = True
- ignore_errors = False
--ignore_missing_imports = True
-+ignore_missing_imports = False
- strict_optional = True
- no_error_summary = True
- no_color_output = True
diff --git a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
b/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
deleted file mode 100644
index 510b7365ce..0000000000
--- a/dev-python/grpc-stubs/grpc-stubs-1.53.0.3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 2023-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{11..12} )
-inherit distutils-r1
-
-DESCRIPTION="gRPC typing stubs for Python"
-HOMEPAGE="
- https://pypi.org/project/grpc-stubs/
- https://github.com/shabbyrobe/grpc-stubs/
-"
-
-SRC_URI="https://github.com/shabbyrobe/grpc-stubs/archive/refs/tags/${PV}.tar.gz
- -> ${P}.gh.tar.gz"
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-RDEPEND="dev-python/types-protobuf[${PYTHON_USEDEP}]"
-BDEPEND="test? (
- dev-python/pytest-mypy-plugins[${PYTHON_USEDEP}]
- ${RDEPEND}
- )"
-
-distutils_enable_tests pytest
-
-PATCHES="${FILESDIR}/"${P}-die-on-missing-import.patch
-
-python_test() {
- # Gentoo's PEP 517 mode runs tests in a venv-like environment.
- # Pytest-mypy-plugins checks the PATH for mypy, we provide a venv-aware
- # variant.
- printf "#!/bin/bash\n $(which python) -m mypy \$@" > \
- "${BUILD_DIR}"/install/usr/bin/mypy || die
- chmod +x "${BUILD_DIR}"/install/usr/bin/mypy || die
- epytest --mypy-ini-file=setup.cfg
- rm "${BUILD_DIR}"/install/usr/bin/mypy || die
-}
diff --git a/dev-python/grpc-stubs/metadata.xml
b/dev-python/grpc-stubs/metadata.xml
deleted file mode 100644
index 9a74fffccb..0000000000
--- a/dev-python/grpc-stubs/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>[email protected]</email>
- <name>Lucio Sauer</name>
- </maintainer>
- <upstream>
- <remote-id type="github">shabbyrobe/grpc-stubs</remote-id>
- <remote-id type="pypi">grpc-stubs</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/profiles/package.mask b/profiles/package.mask
index 843060d25c..66875d92a4 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -55,12 +55,6 @@ sys-kernel/usermode-kernel
# Removal on 2025-08-29, Bug #960098
gui-apps/paperde
-# Lucio Sauer <[email protected]> (2025-07-28)
-# Outdated downstream and archived upstream; no revdeps.
-# Superseded by types-grpcio* on PyPi.
-# Removal on 2025-08-28
-dev-python/grpc-stubs
-
# Anna (cybertailor) Vyalkova <[email protected]> (2025-07-27)
# Vulnerable to a cross-site scripting attack.
# https://github.com/TecharoHQ/anubis/security/advisories/GHSA-jhjj-2g64-px7c