Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, dev-python/setuptools_trial/
Date: Sat, 18 Mar 2023 16:04:46
Message-Id: 1679155467.b9412b88a6d40b5c43e9e9d1f53624e05c9c3432.soap@gentoo
1 commit: b9412b88a6d40b5c43e9e9d1f53624e05c9c3432
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 16:04:27 2023 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 16:04:27 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9412b88
7
8 dev-python/setuptools_trial: treeclean
9
10 Closes: https://bugs.gentoo.org/895174
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 dev-python/setuptools_trial/Manifest | 1 -
14 dev-python/setuptools_trial/metadata.xml | 23 -----------
15 .../setuptools_trial-0.6.0-r1.ebuild | 46 ----------------------
16 profiles/package.mask | 5 ---
17 4 files changed, 75 deletions(-)
18
19 diff --git a/dev-python/setuptools_trial/Manifest b/dev-python/setuptools_trial/Manifest
20 deleted file mode 100644
21 index 685582c0ba49..000000000000
22 --- a/dev-python/setuptools_trial/Manifest
23 +++ /dev/null
24 @@ -1 +0,0 @@
25 -DIST setuptools_trial-0.6.0.tar.gz 6227 BLAKE2B 2df7276197a5630b8140dce17528b75045ea86e15495146aceafc4428f6ab6493fbe8e2edfded30ae644523455df02f3cb85e8bf8879bd4fafc9a332d9f6bc40 SHA512 9104b98627f57ed53c90d22042346875c5324d7b30e1ec9ba1718b5c59a786915a8fe0a53789a5dbd9318a12b27122661234f5be403365261db6a8728ce39827
26
27 diff --git a/dev-python/setuptools_trial/metadata.xml b/dev-python/setuptools_trial/metadata.xml
28 deleted file mode 100644
29 index 3718ce297d89..000000000000
30 --- a/dev-python/setuptools_trial/metadata.xml
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -<?xml version="1.0" encoding="UTF-8"?>
34 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
35 -<pkgmetadata>
36 - <maintainer type="person">
37 - <email>dolsen@g.o</email>
38 - <name>Brian Dolbec</name>
39 - </maintainer>
40 - <upstream>
41 - <maintainer>
42 - <email>vladimir@××××××.org</email>
43 - <name>Vladimir Rutsky</name>
44 - </maintainer>
45 - <remote-id type="pypi">setuptools_trial</remote-id>
46 - <remote-id type="github">rutsky/setuptools-trial</remote-id>
47 - </upstream>
48 - <longdescription>
49 - This is a plugin for setuptools that integrates Twisted trial. Once
50 - installed, “python ./setup.py trial” will run the package’s unit tests
51 - using Twisted trial. The package can also optionally be configured so
52 - that “python ./setup.py test” will use Twisted trial instead of pyunit
53 - a.k.a. unittest.
54 - </longdescription>
55 -</pkgmetadata>
56
57 diff --git a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild b/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild
58 deleted file mode 100644
59 index e62868fc93b0..000000000000
60 --- a/dev-python/setuptools_trial/setuptools_trial-0.6.0-r1.ebuild
61 +++ /dev/null
62 @@ -1,46 +0,0 @@
63 -# Copyright 1999-2023 Gentoo Authors
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=8
67 -
68 -PYTHON_COMPAT=( python3_{9..10} )
69 -inherit distutils-r1 pypi
70 -
71 -DESCRIPTION="Setuptools plugin that makes unit tests execute with trial instead of pyunit"
72 -HOMEPAGE="https://github.com/rutsky/setuptools-trial https://pypi.org/project/setuptools_trial/"
73 -
74 -LICENSE="BSD"
75 -SLOT="0"
76 -KEYWORDS="~amd64 ~arm64 ~x86"
77 -IUSE="test"
78 -RESTRICT="!test? ( test )"
79 -
80 -RDEPEND="
81 - >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
82 -"
83 -
84 -BDEPEND="test? ( ${RDEPEND} )"
85 -
86 -src_prepare() {
87 - # don't install docs into wrong location
88 - sed -e '/data_files=/d' -i setup.py || die
89 - distutils-r1_src_prepare
90 -}
91 -
92 -python_test() {
93 - distutils_install_for_testing
94 -
95 - # The pkg test suite creates a virtualenv to install to for testing
96 - # The distutils-r1 eclass already does the equivalent for us.
97 - # So just run the same commands they do directly...
98 - pushd "${S}"/tests/dummy_project > /dev/null || die
99 - "${EPYTHON}" -m setup.py trial || \
100 - die "trial tests failed with ${EPYTHON}"
101 - "${EPYTHON}" -m setup.py trial --reporter=text || \
102 - die "trial --reporter tests failed with ${EPYTHON}"
103 - popd > /dev/null || die
104 - pushd "${S}"/tests/alias_project > /dev/null || die
105 - "${EPYTHON}" -m setup.py test || \
106 - die "alias_project tests failed with ${EPYTHON}"
107 - popd > /dev/null || die
108 -}
109
110 diff --git a/profiles/package.mask b/profiles/package.mask
111 index e1f84b583d6c..90fd97817a23 100644
112 --- a/profiles/package.mask
113 +++ b/profiles/package.mask
114 @@ -263,11 +263,6 @@ app-eselect/eselect-opencascade
115 # Removal on 2023-03-21. Bug #895342.
116 dev-python/flask-script
117
118 -# Sam James <sam@g.o> (2023-02-18)
119 -# Last release in 2018, needs porting to Python 3.11, and no reverse
120 -# dependencies. Removal on 2023-03-18. bug #895174.
121 -dev-python/setuptools_trial
122 -
123 # Sam James <sam@g.o> (2023-02-18)
124 # Backport to Python 3.5(!) hence irrelevant for newer versions of Python
125 # where os.scandir() and os.walk() improvements were integrated in the stdlib.