Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/3to2/, profiles/
Date: Thu, 30 Jun 2022 22:25:16
Message-Id: 1656627767.a50fd93acb5ba9da483dca2f212015718677dc7b.sam@gentoo
1 commit: a50fd93acb5ba9da483dca2f212015718677dc7b
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 22:22:39 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 22:22:47 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a50fd93a
7
8 dev-python/3to2: treeclean
9
10 Bug: https://bugs.gentoo.org/747982
11 Bug: https://bugs.gentoo.org/845681
12 Signed-off-by: Sam James <sam <AT> gentoo.org>
13
14 dev-python/3to2/3to2-1.1.1-r1.ebuild | 34 ----------------------------------
15 dev-python/3to2/Manifest | 1 -
16 dev-python/3to2/metadata.xml | 16 ----------------
17 profiles/package.mask | 5 -----
18 4 files changed, 56 deletions(-)
19
20 diff --git a/dev-python/3to2/3to2-1.1.1-r1.ebuild b/dev-python/3to2/3to2-1.1.1-r1.ebuild
21 deleted file mode 100644
22 index 20e717ffd3f9..000000000000
23 --- a/dev-python/3to2/3to2-1.1.1-r1.ebuild
24 +++ /dev/null
25 @@ -1,34 +0,0 @@
26 -# Copyright 1999-2020 Gentoo Authors
27 -# Distributed under the terms of the GNU General Public License v2
28 -
29 -EAPI=7
30 -
31 -PYTHON_COMPAT=( python3_{7..9} )
32 -inherit distutils-r1
33 -
34 -DESCRIPTION="Tool to refactor valid 3.x syntax into valid 2.x syntax"
35 -HOMEPAGE="https://pypi.org/project/3to2/"
36 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip"
37 -
38 -LICENSE="Apache-1.1"
39 -SLOT="0"
40 -KEYWORDS="amd64 x86"
41 -IUSE=""
42 -
43 -BDEPEND="app-arch/unzip"
44 -
45 -python_prepare_all() {
46 - # https://bitbucket.org/amentajo/lib3to2/issues/50/testsuite-fails-with-new-python-35
47 - # Remove failing test
48 - sed -i -e "/test_argument_unpacking/a \\ return"\
49 - lib3to2/tests/test_print.py || die
50 - sed -i -e "s/Exception, err/Exception as err/" lib3to2/build.py || die
51 -
52 - distutils-r1_python_prepare_all
53 -}
54 -
55 -python_test() {
56 - cd "${BUILD_DIR}"/lib || die
57 - # the standard test runner fails to properly return failure
58 - "${EPYTHON}" -m unittest discover -v || die "Tests fail with ${EPYTHON}"
59 -}
60
61 diff --git a/dev-python/3to2/Manifest b/dev-python/3to2/Manifest
62 deleted file mode 100644
63 index f41d02261223..000000000000
64 --- a/dev-python/3to2/Manifest
65 +++ /dev/null
66 @@ -1 +0,0 @@
67 -DIST 3to2-1.1.1.zip 78779 BLAKE2B 441e74bd06017c84bd382c32513d84f42b8bc35f46aeb62ec1e3f5b9876573e0a76f6e04f4ca529175761af6f29e10ee0c4d4114ff0bcafb066d2d6344b1d885 SHA512 7580f174409420556f89ae78eba07cc95b95aee9d062586d0862bd41980ae31bf4ac82a43855e160eec745fcdd3b4aff614f68e77da1bfc5f9f404413cab1492
68
69 diff --git a/dev-python/3to2/metadata.xml b/dev-python/3to2/metadata.xml
70 deleted file mode 100644
71 index eddb181dfe01..000000000000
72 --- a/dev-python/3to2/metadata.xml
73 +++ /dev/null
74 @@ -1,16 +0,0 @@
75 -<?xml version="1.0" encoding="UTF-8"?>
76 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
77 -<pkgmetadata>
78 - <maintainer type="person">
79 - <email>chutzpah@g.o</email>
80 - <name>Patrick McLean</name>
81 - </maintainer>
82 - <maintainer type="project">
83 - <email>python@g.o</email>
84 - <name>Python</name>
85 - </maintainer>
86 - <stabilize-allarches/>
87 - <upstream>
88 - <remote-id type="pypi">3to2</remote-id>
89 - </upstream>
90 -</pkgmetadata>
91
92 diff --git a/profiles/package.mask b/profiles/package.mask
93 index 0438deb8c9e6..0982dd85b65b 100644
94 --- a/profiles/package.mask
95 +++ b/profiles/package.mask
96 @@ -258,11 +258,6 @@ dev-util/distro-info-data
97 # and doesn't support Python 3.10. Bugs #845819, #798384. Removal on 2022-06-30.
98 dev-python/pypcap
99
100 -# Sam James <sam@g.o> (2022-05-30)
101 -# Obsolete, no new releases since 2015, doesn't support Python 3.10.
102 -# Bugs #845681, #747982. Removal on 2022-06-30.
103 -dev-python/3to2
104 -
105 # Matt Turner <mattst88@g.o> (2022-05-30)
106 # libwacom-2 broke ABI compatibility; reverse dependencies need to be updated.
107 # Bug #848501