commit:     a6f7c526734704b1791d4fb4ab3a944e7fa027a3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 29 14:51:33 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 14:52:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6f7c526

dev-python/nose: Remove last-rited pkg

Closes: https://bugs.gentoo.org/822414
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nose/Manifest                    |  1 -
 dev-python/nose/metadata.xml                | 13 -------
 dev-python/nose/nose-1.3.7_p20221026.ebuild | 58 -----------------------------
 profiles/arch/m68k/package.use.mask         |  1 -
 profiles/package.deprecated                 |  8 ----
 profiles/package.mask                       |  8 ----
 6 files changed, 89 deletions(-)

diff --git a/dev-python/nose/Manifest b/dev-python/nose/Manifest
deleted file mode 100644
index f3e9898480d9..000000000000
--- a/dev-python/nose/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST nose-1.3.7_p20221026.gh.tar.gz 325421 BLAKE2B 
3762e1703a6a9c90d1569d21efa9ba100f52a8b3660022694133a763d995e19a6eef2398f5013b4827e4c334a2d5e3cd14a9704a50cd822c2d554a0ed6008f2c
 SHA512 
3cb97b58525bee0cf88328ba865dc039bf3b76c56b4b42dd9dcf68f7b7585a91fb7e9b0c419668eccc0e242b2bcbb77eb197a0954ee9ad50051ef3af1a81dac3

diff --git a/dev-python/nose/metadata.xml b/dev-python/nose/metadata.xml
deleted file mode 100644
index 554766d8e7d1..000000000000
--- a/dev-python/nose/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <maintainer type="project">
-    <email>[email protected]</email>
-    <name>Python</name>
-  </maintainer>
-  <stabilize-allarches/>
-  <upstream>
-    <remote-id type="pypi">nose</remote-id>
-    <remote-id type="github">nose-devs/nose</remote-id>
-  </upstream>
-</pkgmetadata>

diff --git a/dev-python/nose/nose-1.3.7_p20221026.ebuild 
b/dev-python/nose/nose-1.3.7_p20221026.ebuild
deleted file mode 100644
index de12a5102c63..000000000000
--- a/dev-python/nose/nose-1.3.7_p20221026.ebuild
+++ /dev/null
@@ -1,58 +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_{9..11} pypy3 )
-PYTHON_REQ_USE="threads(+)"
-
-inherit distutils-r1
-
-EGIT_COMMIT="8def1b4dcf2ef6b4a34bffdfacea0018a78b06b6"
-DESCRIPTION="Unittest extension with automatic test suite discovery and easy 
test authoring"
-HOMEPAGE="
-       https://pypi.org/project/nose/
-       https://nose.readthedocs.io/en/latest/
-       https://github.com/nose-devs/nose
-"
-SRC_URI="
-       https://github.com/arthurzam/nose/archive/${EGIT_COMMIT}.tar.gz
-               -> ${P}.gh.tar.gz
-"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 
~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos 
~x64-solaris"
-IUSE="examples test"
-RESTRICT="!test? ( test )"
-
-BDEPEND="
-       test? (
-               $(python_gen_cond_dep '
-                       !hppa? ( dev-python/coverage[${PYTHON_USEDEP}] )
-               ' python3_{8..10} pypy3)
-               $(python_gen_cond_dep '
-                       dev-python/twisted[${PYTHON_USEDEP}]
-               ' python3_{8..10})
-       )
-"
-
-src_prepare() {
-       # failing to find configuration file
-       sed -e 's/test_cover_options_config_file/_&/' \
-               -i unit_tests/test_cover_plugin.py || die
-
-       distutils-r1_src_prepare
-}
-
-python_test() {
-       "${EPYTHON}" -m nose -v -a "!network" ||
-               die "Tests fail with ${EPYTHON}"
-}
-
-src_install() {
-       distutils-r1_src_install
-       use examples && dodoc -r examples
-}

diff --git a/profiles/arch/m68k/package.use.mask 
b/profiles/arch/m68k/package.use.mask
index 3815aedb321e..9be2feccdf89 100644
--- a/profiles/arch/m68k/package.use.mask
+++ b/profiles/arch/m68k/package.use.mask
@@ -75,7 +75,6 @@ dev-python/distlib test
 dev-python/fonttools test
 dev-python/hatchling test
 dev-python/isort test
-dev-python/nose test
 dev-python/numpydoc test
 dev-python/objgraph test
 dev-python/pip-run test

diff --git a/profiles/package.deprecated b/profiles/package.deprecated
index e5d25c1ecdb5..db4bc1db6ddd 100644
--- a/profiles/package.deprecated
+++ b/profiles/package.deprecated
@@ -107,14 +107,6 @@ sys-apps/edac-utils
 # to packages not supporting Python 2 anymore.
 dev-python/future
 
-# Michał Górny <[email protected]> (2022-10-17)
-# Nosetests are no longer maintained (since 2015!), are completely
-# broken with Python 3.11, and we were already patching it to make it
-# work with prior Python versions.  If your package still needs it
-# (sic!), then either port it to use a maintained test framework (pytest
-# preferably) or last rite it.
-dev-python/nose
-
 # Matt Turner <[email protected]> (2022-10-02)
 # Dummy packages, now merged into app-accessibility/at-spi2-core.
 # When possible, replace dependencies on these packages with a dependency on

diff --git a/profiles/package.mask b/profiles/package.mask
index f242f83466de..9c0a936af421 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -693,14 +693,6 @@ sci-libs/mpir
 ~sys-auth/polkit-qt-0.200.0
 >=sys-libs/snapd-glib-1.64-r100
 
-# Michał Górny <[email protected]> (2024-02-28)
-# Nosetests have been abandoned in 2015.  Upstream (while technically
-# still around) has refused to accept any patches since, and we have
-# already had to fork it, to keep it somewhat working.  All
-# the remaining reverse dependencies were finally ported or last rited.
-# Removal on 2024-03-29.  Bug #822414.
-dev-python/nose
-
 # Sam James <[email protected]> (2024-02-18)
 # Lots of changes, including a port to a new build system. Needs lots of 
testing.
 =sys-apps/gentoo-functions-1*

Reply via email to