dev-python/curtsies: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-21 10:10:41 +02:00
parent 2c7cb472b4
commit d2db6f23de
4 changed files with 0 additions and 100 deletions

View File

@@ -1,2 +1 @@
DIST curtsies-0.4.2.tar.gz 53559 BLAKE2B b1e6a0b736615c890a35fba0dae2914e51123976c884d253e61e2e4f04cff9398fa9668387b9503a064aa76664c339d5be000e8e172c23a82cafbf3b7523beb3 SHA512 0740b50001a65da7afcb634d99ab03612be0c379035bc15f591a70dc006b46476d38a1c4b107ff17a12d696ce127027c3e13763dfd16dc223628a27611e071e3
DIST curtsies-0.4.3.tar.gz 53401 BLAKE2B 4c5f7bf6041b3585dcb9288d36e9bf7d6ec2354dc115fe696124df354529a33bff3702071ca56bad8fec0222b6d1b8023d1e16027257af29fdc47862c1d1f44f SHA512 db157b9f32a13b8086df1909c363ff669fcb6053bb205e0b9ede3aa21a4afbe9f4e08371ede9bbb6af31cdf1cd96166938a35af04e695b6c0a7d01a12d6ce158

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Curses-like terminal wrapper, with colored strings"
HOMEPAGE="
https://github.com/bpython/curtsies/
https://pypi.org/project/curtsies/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/blessed-1.5[${PYTHON_USEDEP}]
dev-python/cwcwidth[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pyte[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
src_prepare() {
local PATCHES=(
# https://github.com/bpython/curtsies/pull/186
"${FILESDIR}/${P}-py314.patch"
)
distutils-r1_src_prepare
rm setup.py || die
}

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Curses-like terminal wrapper, with colored strings"
HOMEPAGE="
https://github.com/bpython/curtsies/
https://pypi.org/project/curtsies/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm64 ~riscv x86 ~amd64-linux ~x86-linux"
RDEPEND="
>=dev-python/blessed-1.5[${PYTHON_USEDEP}]
dev-python/cwcwidth[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/pyte[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -1,28 +0,0 @@
From 8ff589184cdc0a2face9bd3430757f672292462c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny@gentoo.org>
Date: Sat, 31 May 2025 19:22:56 +0200
Subject: [PATCH] Use standard setuptools `attr:` feature, fixing Python 3.14
compat
Use the standard setuptools `attr:` feature to obtain the version
via setuptools' built-in AST parser rather than writing a custom AST
parser in `setup.py`. This fixes compatibility with Python 3.14,
since the custom parser is not compatible with the new `ast.Constant`
type.
---
setup.cfg | 1 +
setup.py | 16 ----------------
2 files changed, 1 insertion(+), 16 deletions(-)
delete mode 100644 setup.py
diff --git a/setup.cfg b/setup.cfg
index 10332bd..ae01e92 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,5 +1,6 @@
[metadata]
name = curtsies
+version = attr: curtsies.__version__
description = Curses-like terminal wrapper, with colored strings!
long_description = file: README.md,
long_description_content_type = text/markdown