1 |
commit: 90f819dd9bbdcd275fae71e8b9005713e276b901 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 19 09:04:54 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 19 09:27:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90f819dd |
7 |
|
8 |
dev-python/python-daemon: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/python-daemon/Manifest | 1 - |
13 |
.../files/python-daemon-2.3.0-fix-py3.10.patch | 28 -------------- |
14 |
.../python-daemon/python-daemon-2.3.0-r2.ebuild | 43 ---------------------- |
15 |
3 files changed, 72 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/python-daemon/Manifest b/dev-python/python-daemon/Manifest |
18 |
index 3e6801efb6fb..2d825d7ddf5b 100644 |
19 |
--- a/dev-python/python-daemon/Manifest |
20 |
+++ b/dev-python/python-daemon/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST python-daemon-2.3.0.tar.gz 82831 BLAKE2B 6e7fa082a513827283f46044347dfd445633db0d1781a33aa1bc5b14c340da784310ae6bd07d6cf3673cd05cb14a9d090ab51857d26cca52d09bc8c3b195360f SHA512 30bb70821aae720d09032c8c666524fa9a1a486314ffff73eb161231a1f2b954914295b4ad41f9c8529bc045fb6d0f89256bc59f8979a4f8a6698e9bd4d7441a |
23 |
DIST python-daemon-2.3.1.tar.gz 82856 BLAKE2B d1ede5fde50f179b0bf3e3ed89bd988469bae1f57667ab601d44452706a84264f55fc9beb89226e5fb1bb6d92f88fc2a5c2497628de16990407a0e01cfbacd84 SHA512 128fd8ac125eac613936668bb555635c8cec576d5c23513210f0956983c70720dd93906adeee581b192b57480a3df93dc1e08f6f7b62e38b2404fa00aba4805a |
24 |
|
25 |
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 |
26 |
deleted file mode 100644 |
27 |
index 4fd082dc8f77..000000000000 |
28 |
--- a/dev-python/python-daemon/files/python-daemon-2.3.0-fix-py3.10.patch |
29 |
+++ /dev/null |
30 |
@@ -1,28 +0,0 @@ |
31 |
-https://pagure.io/python-daemon/c/0c67a3c6407fbf4483ccfc94a7a0d78cf3379296 |
32 |
- |
33 |
-From: Miro Hrončok <miro@×××××××.cz> |
34 |
-Date: Sep 29 2021 10:05:27 +0000 |
35 |
-Subject: Remove incorrect double-patch of objects in test cases. |
36 |
- |
37 |
-The specific test cases relying on the patches, already are decorated |
38 |
-to patch the specific attributes needed. We don't need a general patch |
39 |
-of the attributes in the test case setup. |
40 |
- |
41 |
-Signed-off-by: Ben Finney <ben+python@××××××××××××.au> |
42 |
- |
43 |
---- a/test/test_pidfile.py |
44 |
-+++ b/test/test_pidfile.py |
45 |
-@@ -367,12 +367,6 @@ class TimeoutPIDLockFile_TestCase(scaffold.TestCase): |
46 |
- pidlockfile_scenarios = make_pidlockfile_scenarios() |
47 |
- self.pidlockfile_scenario = pidlockfile_scenarios['simple'] |
48 |
- |
49 |
-- for func_name in ['__init__', 'acquire']: |
50 |
-- func_patcher = unittest.mock.patch.object( |
51 |
-- lockfile.pidlockfile.PIDLockFile, func_name) |
52 |
-- func_patcher.start() |
53 |
-- self.addCleanup(func_patcher.stop) |
54 |
-- |
55 |
- self.scenario = { |
56 |
- 'pidfile_path': self.pidlockfile_scenario['pidfile_path'], |
57 |
- 'acquire_timeout': self.getUniqueInteger(), |
58 |
- |
59 |
|
60 |
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 |
61 |
deleted file mode 100644 |
62 |
index 31025d91ad90..000000000000 |
63 |
--- a/dev-python/python-daemon/python-daemon-2.3.0-r2.ebuild |
64 |
+++ /dev/null |
65 |
@@ -1,43 +0,0 @@ |
66 |
-# Copyright 1999-2022 Gentoo Authors |
67 |
-# Distributed under the terms of the GNU General Public License v2 |
68 |
- |
69 |
-EAPI=8 |
70 |
- |
71 |
-DISTUTILS_USE_PEP517=setuptools |
72 |
-PYTHON_COMPAT=( python3_{8..11} pypy3 ) |
73 |
- |
74 |
-inherit distutils-r1 |
75 |
- |
76 |
-DESCRIPTION="Library to implement a well-behaved Unix daemon process" |
77 |
-HOMEPAGE="https://pypi.org/project/python-daemon/" |
78 |
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
79 |
- |
80 |
-LICENSE="PSF-2" |
81 |
-SLOT="0" |
82 |
-KEYWORDS="amd64 arm x86" |
83 |
- |
84 |
-RDEPEND=" |
85 |
- dev-python/lockfile[${PYTHON_USEDEP}] |
86 |
-" |
87 |
- |
88 |
-BDEPEND=" |
89 |
- dev-python/docutils[${PYTHON_USEDEP}] |
90 |
- dev-python/twine[${PYTHON_USEDEP}] |
91 |
- test? ( |
92 |
- dev-python/testtools[${PYTHON_USEDEP}] |
93 |
- dev-python/testscenarios[${PYTHON_USEDEP}] |
94 |
- ) |
95 |
-" |
96 |
- |
97 |
-PATCHES=( |
98 |
- "${FILESDIR}/${P}-fix-py3.10.patch" |
99 |
-) |
100 |
- |
101 |
-distutils_enable_tests unittest |
102 |
- |
103 |
-src_prepare() { |
104 |
- # fix for >=testtools-2.5.0 |
105 |
- sed -e 's/testtools.helpers.safe_hasattr/hasattr/' \ |
106 |
- -i test/test_metadata.py || die |
107 |
- distutils-r1_src_prepare |
108 |
-} |