dev-python/manuel: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2024-04-11 19:14:13 +02:00
parent db44ac4668
commit b071db53ee
3 changed files with 0 additions and 63 deletions

View File

@@ -1,2 +1 @@
DIST manuel-1.12.4.tar.gz 45369 BLAKE2B e15f9261854fbad8ee1e1dc8645ec286a212c460a78fff1576b6886d8bf462ffe9a5484338fd9efc2bf053a7689e16b08de55f763ae319e66a363c5c28cf2a60 SHA512 cd65307f2ca94e66d88bc0c7c75702d49f505b358ebb812fd20906036ba10f2d1d11d2d69404b88c5f10b584dea05a988b5dc8ba07210b9d20ebd8a11b701633
DIST manuel-3f4d94d2ace3bdab4acad6896c93f5c96d6bee92.tar.gz 39774 BLAKE2B 7be5bad5ee39358e1b0229c02c86c9492cae09684d8a942b9f5dcf0afe31037f635295019306d404a1fb0b81e40bb523d194cc499a89b32600f1a330ddaf4d2d SHA512 f96fe6c9438b00d7562d64ead32ef84dcc4746281f066e4e7c175b1b274691ccd615c31e1d26fdc25a67e67d03f28b52182652921ab2c9ff365f59aaa475adaf

View File

@@ -1,22 +0,0 @@
https://github.com/benji-york/manuel/pull/32
From d9f12d03e39bb76e4bb3ba43ad51af6d3e9d45c0 Mon Sep 17 00:00:00 2001
From: Matt Jolly <Matt.Jolly@footclan.ninja>
Date: Mon, 6 Jun 2022 22:44:22 +1000
Subject: [PATCH] Replace TextTestResult with TestResult for Py3.11
--- a/src/manuel/index.txt
+++ b/src/manuel/index.txt
@@ -211,10 +211,7 @@ When tests are run this way:
>>> sys.stdout.writeln = lambda s: sys.stdout.write(s+'\n')
>>> suite = loader.loadTestsFromTestCase(MyTest)
- >>> result = suite.run(unittest.TextTestResult(sys.stdout, True, 3))
- test1 (tests.MyTest) ... ok
- test2 (tests.MyTest) ... ok
- test3 (tests.MyTest) ... FAIL
+ >>> result = suite.run(unittest.TestResult(True, 3))
>>> for _, e in result.errors:
... print(e); print

View File

@@ -1,40 +0,0 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
inherit distutils-r1 pypi
DESCRIPTION="Lets you mix and match traditional doctests with custom test syntax"
HOMEPAGE="
https://github.com/benji-york/manuel/
https://pypi.org/project/manuel/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
BDEPEND="
test? (
dev-python/zope-testing[${PYTHON_USEDEP}]
)
"
PATCHES=(
"${FILESDIR}"/${P}-tests-python311.patch
)
distutils_enable_tests setup.py
src_prepare() {
# unused rdep
sed -e "/'setuptools'/d" -i setup.py || die
distutils-r1_src_prepare
}