commit:     37b929c9966a080e1fbd0d04d61b9e283bd28384
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 19:31:52 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 19:33:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37b929c9

dev-python/terminaltables: treeclean

Closes: https://bugs.gentoo.org/948333 (pkgremoved)
Closes: https://bugs.gentoo.org/906843 (pkgremoved)
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/terminaltables/Manifest                 |  1 -
 .../files/terminaltables-3.1.0-stdout.patch        | 23 ----------
 dev-python/terminaltables/metadata.xml             | 12 -----
 .../terminaltables/terminaltables-3.1.10-r1.ebuild | 52 ----------------------
 .../terminaltables/terminaltables-9999.ebuild      | 40 -----------------
 profiles/package.mask                              |  6 ---
 6 files changed, 134 deletions(-)

diff --git a/dev-python/terminaltables/Manifest 
b/dev-python/terminaltables/Manifest
deleted file mode 100644
index e7d4a8b1e4e0..000000000000
--- a/dev-python/terminaltables/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST terminaltables-3.1.10.gh.tar.gz 282122 BLAKE2B 
53d5ecde38370f5b05d3eaae4b618ada6991214feadc7e826467dafede5baaf8292e47e6b2be903eb8ae6d46e3066314fe7950d7330056cd3053e0d643ad1a9e
 SHA512 
84fa403cee4206b6b19de0206d89535bd2965a0796e1890dd9b0a9c6593c5f41d0d24b88ee9db426067c777712a4e810d67d4d0246496239a7a96b53a24e8174

diff --git a/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch 
b/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch
deleted file mode 100644
index e463ff66f93b..000000000000
--- a/dev-python/terminaltables/files/terminaltables-3.1.0-stdout.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From 9cb9d0ef11fac861e46776fb18cef309df28c234 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <[email protected]>
-Date: Thu, 30 Jul 2020 07:59:05 +0200
-Subject: [PATCH] Fix writing binary data to sys.stdout
-
----
- terminaltables/terminal_io.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/terminaltables/terminal_io.py b/terminaltables/terminal_io.py
-index 8b8c10d..310263c 100644
---- a/terminaltables/terminal_io.py
-+++ b/terminaltables/terminal_io.py
-@@ -94,5 +94,5 @@ def set_terminal_title(title, kernel32=None):
-             return kernel32.SetConsoleTitleW(title) != 0
- 
-     # Linux/OSX.
--    sys.stdout.write(b'\033]0;' + title_bytes + b'\007')
-+    sys.stdout.buffer.write(b'\033]0;' + title_bytes + b'\007')
-     return True
--- 
-2.28.0
-

diff --git a/dev-python/terminaltables/metadata.xml 
b/dev-python/terminaltables/metadata.xml
deleted file mode 100644
index 2506f3e8e71c..000000000000
--- a/dev-python/terminaltables/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="project">
-               <email>[email protected]</email>
-       </maintainer>
-       <stabilize-allarches/>
-       <upstream>
-               <remote-id 
type="github">matthewdeanmartin/terminaltables</remote-id>
-               <remote-id type="pypi">terminaltables</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild 
b/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
deleted file mode 100644
index 728d259c1a31..000000000000
--- a/dev-python/terminaltables/terminaltables-3.1.10-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1
-
-DESCRIPTION="Generate simple tables in terminals from a nested list of strings"
-HOMEPAGE="
-       https://robpol86.github.io/terminaltables/
-       https://github.com/matthewdeanmartin/terminaltables/
-       https://pypi.org/project/terminaltables/
-"
-SRC_URI="
-       
https://github.com/matthewdeanmartin/terminaltables/archive/v${PV}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
-
-BDEPEND="
-       test? (
-               dev-python/colorama[${PYTHON_USEDEP}]
-               dev-python/colorclass[${PYTHON_USEDEP}]
-               dev-python/termcolor[${PYTHON_USEDEP}]
-       )"
-
-distutils_enable_tests pytest
-
-PATCHES=(
-       "${FILESDIR}"/terminaltables-3.1.0-stdout.patch
-)
-
-src_prepare() {
-       sed -e '/requires/s:poetry:&-core:' \
-               -e '/backend/s:poetry:&.core:' \
-               -i pyproject.toml || die
-
-       distutils-r1_src_prepare
-}
-
-python_test() {
-       # We override FORCE_COLOR otherwise termcolor
-       # would pick it up from env. and give unexpected
-       # output for tests.
-       FORCE_COLOR=1 epytest
-}

diff --git a/dev-python/terminaltables/terminaltables-9999.ebuild 
b/dev-python/terminaltables/terminaltables-9999.ebuild
deleted file mode 100644
index ff444cb98746..000000000000
--- a/dev-python/terminaltables/terminaltables-9999.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=poetry
-PYTHON_COMPAT=( python3_{10..13} )
-
-inherit distutils-r1 git-r3
-
-DESCRIPTION="Generate simple tables in terminals from a nested list of strings"
-HOMEPAGE="https://robpol86.github.io/terminaltables/";
-EGIT_REPO_URI="https://github.com/matthewdeanmartin/${PN}.git";
-
-LICENSE="MIT"
-SLOT="0"
-
-BDEPEND="
-       test? (
-               dev-python/colorama[${PYTHON_USEDEP}]
-               dev-python/colorclass[${PYTHON_USEDEP}]
-               dev-python/termcolor[${PYTHON_USEDEP}]
-       )"
-
-distutils_enable_tests pytest
-
-src_prepare() {
-       sed -e '/requires/s:poetry:&-core:' \
-               -e '/backend/s:poetry:&.core:' \
-               -i pyproject.toml || die
-
-       distutils-r1_src_prepare
-}
-
-python_test() {
-       # We override FORCE_COLOR otherwise termcolor
-       # would pick it up from env. and give unexpected
-       # output for tests.
-       FORCE_COLOR=1 epytest
-}

diff --git a/profiles/package.mask b/profiles/package.mask
index 9110b3ef8129..9d0a0e6fc344 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -287,12 +287,6 @@ dev-java/saslprep
 # Removal on 2025-02-17. Bug #896044
 sys-cluster/k3s
 
-# Michał Górny <[email protected]> (2025-01-18)
-# Superseded by dev-python/terminaltables3, the only revdep switched
-# over.
-# Removal on 2025-02-17.  Bug #948333.
-dev-python/terminaltables
-
 # Conrad Kostecki <[email protected]> (2025-01-09)
 # New version, which dropps support for legacy devices.
 # Will be unmasked, when split to legacy-branch is done.

Reply via email to