commit:     90f819dd9bbdcd275fae71e8b9005713e276b901
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 19 09:04:54 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 19 09:27:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f819dd

dev-python/python-daemon: Remove old

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

 dev-python/python-daemon/Manifest                  |  1 -
 .../files/python-daemon-2.3.0-fix-py3.10.patch     | 28 --------------
 .../python-daemon/python-daemon-2.3.0-r2.ebuild    | 43 ----------------------
 3 files changed, 72 deletions(-)

diff --git a/dev-python/python-daemon/Manifest 
b/dev-python/python-daemon/Manifest
index 3e6801efb6fb..2d825d7ddf5b 100644
--- a/dev-python/python-daemon/Manifest
+++ b/dev-python/python-daemon/Manifest
@@ -1,2 +1 @@
-DIST python-daemon-2.3.0.tar.gz 82831 BLAKE2B 
6e7fa082a513827283f46044347dfd445633db0d1781a33aa1bc5b14c340da784310ae6bd07d6cf3673cd05cb14a9d090ab51857d26cca52d09bc8c3b195360f
 SHA512 
30bb70821aae720d09032c8c666524fa9a1a486314ffff73eb161231a1f2b954914295b4ad41f9c8529bc045fb6d0f89256bc59f8979a4f8a6698e9bd4d7441a
 DIST python-daemon-2.3.1.tar.gz 82856 BLAKE2B 
d1ede5fde50f179b0bf3e3ed89bd988469bae1f57667ab601d44452706a84264f55fc9beb89226e5fb1bb6d92f88fc2a5c2497628de16990407a0e01cfbacd84
 SHA512 
128fd8ac125eac613936668bb555635c8cec576d5c23513210f0956983c70720dd93906adeee581b192b57480a3df93dc1e08f6f7b62e38b2404fa00aba4805a

diff --git 
a/dev-python/python-daemon/files/python-daemon-2.3.0-fix-py3.10.patch 
b/dev-python/python-daemon/files/python-daemon-2.3.0-fix-py3.10.patch
deleted file mode 100644
index 4fd082dc8f77..000000000000
--- a/dev-python/python-daemon/files/python-daemon-2.3.0-fix-py3.10.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-https://pagure.io/python-daemon/c/0c67a3c6407fbf4483ccfc94a7a0d78cf3379296
-
-From: Miro Hrončok <m...@hroncok.cz>
-Date: Sep 29 2021 10:05:27 +0000
-Subject: Remove incorrect double-patch of objects in test cases.
-
-The specific test cases relying on the patches, already are decorated
-to patch the specific attributes needed. We don't need a general patch
-of the attributes in the test case setup.
-
-Signed-off-by: Ben Finney <ben+pyt...@benfinney.id.au>
-
---- a/test/test_pidfile.py
-+++ b/test/test_pidfile.py
-@@ -367,12 +367,6 @@ class TimeoutPIDLockFile_TestCase(scaffold.TestCase):
-         pidlockfile_scenarios = make_pidlockfile_scenarios()
-         self.pidlockfile_scenario = pidlockfile_scenarios['simple']
- 
--        for func_name in ['__init__', 'acquire']:
--            func_patcher = unittest.mock.patch.object(
--                    lockfile.pidlockfile.PIDLockFile, func_name)
--            func_patcher.start()
--            self.addCleanup(func_patcher.stop)
--
-         self.scenario = {
-                 'pidfile_path': self.pidlockfile_scenario['pidfile_path'],
-                 'acquire_timeout': self.getUniqueInteger(),
-

diff --git a/dev-python/python-daemon/python-daemon-2.3.0-r2.ebuild 
b/dev-python/python-daemon/python-daemon-2.3.0-r2.ebuild
deleted file mode 100644
index 31025d91ad90..000000000000
--- a/dev-python/python-daemon/python-daemon-2.3.0-r2.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..11} pypy3 )
-
-inherit distutils-r1
-
-DESCRIPTION="Library to implement a well-behaved Unix daemon process"
-HOMEPAGE="https://pypi.org/project/python-daemon/";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="PSF-2"
-SLOT="0"
-KEYWORDS="amd64 arm x86"
-
-RDEPEND="
-       dev-python/lockfile[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-       dev-python/docutils[${PYTHON_USEDEP}]
-       dev-python/twine[${PYTHON_USEDEP}]
-       test? (
-               dev-python/testtools[${PYTHON_USEDEP}]
-               dev-python/testscenarios[${PYTHON_USEDEP}]
-       )
-"
-
-PATCHES=(
-       "${FILESDIR}/${P}-fix-py3.10.patch"
-)
-
-distutils_enable_tests unittest
-
-src_prepare() {
-       # fix for >=testtools-2.5.0
-       sed -e 's/testtools.helpers.safe_hasattr/hasattr/' \
-               -i test/test_metadata.py || die
-       distutils-r1_src_prepare
-}

Reply via email to