commit:     d7bb3b71aa143159008af5f5f55aa2e84e4606ee
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 12 07:38:41 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Sep 12 07:39:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7bb3b71

dev-python/pretty-yaml: Remove old

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

 dev-python/pretty-yaml/Manifest                    |  1 -
 .../files/pretty-yaml-20.4.0-fix-py3.10.patch      | 28 -----------------
 dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild   | 36 ----------------------
 3 files changed, 65 deletions(-)

diff --git a/dev-python/pretty-yaml/Manifest b/dev-python/pretty-yaml/Manifest
index 8b03cf8cce4..bf4fe7454e9 100644
--- a/dev-python/pretty-yaml/Manifest
+++ b/dev-python/pretty-yaml/Manifest
@@ -1,2 +1 @@
-DIST pyaml-20.4.0.tar.gz 21176 BLAKE2B 
0aac0250d610d7b2ef042e251142de4520e7db96073d46bde0dcb37ad43d9c278cbdfc7ab247b4d41c7c30e893306aa47b25a584a2aa4c157d66203b8e140895
 SHA512 
432fd215e034beafc07270a6aa8b726d5a16ef8946a95c1db9a34b4f492bbe2089dffbb1ce856d3e8153ec18ac943973a23e3aa9283d53ee0b2e7ba5dcd3d317
 DIST pyaml-21.8.3.tar.gz 20269 BLAKE2B 
8b829ce374efe13007bb924393a8cde26914cc443999906b7bb4db610b614964170a80b8dd381eeaa9137026c60d98140b3b0d601a6af816c32d1ce9708e33be
 SHA512 
69b1181511f7d3ac1263b710fa49b18a162e096e28414d83300bc2e9038222363cef995a0d3248387560e7066973736f9cee06b67042ee957427b4790c269653

diff --git a/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch 
b/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch
deleted file mode 100644
index c2cd44152d1..00000000000
--- a/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 707e14bd714e91dc53295393e2c8eea257aced5a Mon Sep 17 00:00:00 2001
-From: Louis Sautier <[email protected]>
-Date: Sun, 8 Aug 2021 13:44:52 +0200
-Subject: [PATCH] Fix tests for Python 3.10: abstract base classes have moved
-
-As mentioned in the documentation:
-"Deprecated since version 3.3, will be removed in version 3.10: Moved
-Collections Abstract Base Classes to the collections.abc module. For
-backwards compatibility, they continue to be visible in this module through
-Python 3.9."
----
- pyaml/tests/dump.py | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/pyaml/tests/dump.py b/pyaml/tests/dump.py
-index 882a8e8..e1a93ba 100644
---- a/pyaml/tests/dump.py
-+++ b/pyaml/tests/dump.py
-@@ -2,7 +2,8 @@
- from __future__ import unicode_literals, print_function
- 
- import itertools as it, operator as op, functools as ft
--from collections import Mapping, OrderedDict, namedtuple
-+from collections import OrderedDict, namedtuple
-+from collections.abc import Mapping
- import os, sys, io, yaml, unittest
- 
- if sys.version_info.major > 2: unicode = str

diff --git a/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild 
b/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild
deleted file mode 100644
index f592bf0fbda..00000000000
--- a/dev-python/pretty-yaml/pretty-yaml-20.4.0.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-MY_P=pyaml-${PV}
-DESCRIPTION="PyYAML-based module to produce pretty and readable 
YAML-serialized data"
-HOMEPAGE="https://github.com/mk-fg/pretty-yaml";
-SRC_URI="mirror://pypi/${PN:0:1}/${MY_P%-*}/${MY_P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="WTFPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]"
-BDEPEND="
-       test? (
-               ${RDEPEND}
-               dev-python/unidecode[${PYTHON_USEDEP}]
-       )"
-
-PATCHES=(
-       # https://github.com/mk-fg/pretty-yaml/pull/38
-       "${FILESDIR}/${P}-fix-py3.10.patch"
-)
-
-python_test() {
-       "${EPYTHON}" pyaml/tests/dump.py -v ||
-               die "tests failed under ${EPYTHON}"
-}

Reply via email to