Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchgod/
Date: Sun, 05 Jun 2022 10:35:52
Message-Id: 1654425343.7be207e97326d35d9ed3adfff723041a53af0edf.mgorny@gentoo
1 commit: 7be207e97326d35d9ed3adfff723041a53af0edf
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jun 5 10:04:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Jun 5 10:35:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7be207e9
7
8 dev-python/watchgod: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/watchgod/Manifest | 1 -
13 dev-python/watchgod/watchgod-0.8.1.ebuild | 57 -------------------------------
14 2 files changed, 58 deletions(-)
15
16 diff --git a/dev-python/watchgod/Manifest b/dev-python/watchgod/Manifest
17 index ea262ed90e45..5d3210f07978 100644
18 --- a/dev-python/watchgod/Manifest
19 +++ b/dev-python/watchgod/Manifest
20 @@ -1,2 +1 @@
21 -DIST watchfiles-0.8.1.gh.tar.gz 15405 BLAKE2B ea5d6d59b930f00d6b4b8d6236a38dbb2463866246f1ff4cda828a99a7383fac9c47b131417d8f375a105733c7567f32895759a8dc4503f5671b524977e282ed SHA512 2f611786d267ceae5d6e9094400f5dc6eb59a008f047a511b58b329762e63bbcd83a56cc95cca54c8480b1702c160548baa30549e907e6b85c8bf176ba339fb6
22 DIST watchfiles-0.8.2.gh.tar.gz 15515 BLAKE2B 97c17737c6970c8b799707547cef760c307cd000d09cf3a338e47c0735d537e0321643066eab592f7f7e6ccc25272ea1e7e0bbc02f6274864f7cc39a177b83ba SHA512 a44b831352ace03c450781bc815b1813c44c386d666a9b724b562ff69228705651bfc23e81b7344d0f79c62577d4f910b323c734298e2a609f85bbc4a0f0498e
23
24 diff --git a/dev-python/watchgod/watchgod-0.8.1.ebuild b/dev-python/watchgod/watchgod-0.8.1.ebuild
25 deleted file mode 100644
26 index 2efec4c90eb0..000000000000
27 --- a/dev-python/watchgod/watchgod-0.8.1.ebuild
28 +++ /dev/null
29 @@ -1,57 +0,0 @@
30 -# Copyright 2021-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -DISTUTILS_USE_PEP517=setuptools
36 -PYTHON_COMPAT=( pypy3 python3_{8..10} )
37 -
38 -inherit distutils-r1
39 -
40 -MY_P=watchfiles-${PV}
41 -DESCRIPTION="Simple, modern file watching and code reload in Python"
42 -HOMEPAGE="
43 - https://pypi.org/project/watchgod/
44 - https://github.com/samuelcolvin/watchfiles/
45 -"
46 -SRC_URI="
47 - https://github.com/samuelcolvin/watchfiles/archive/v${PV}.tar.gz
48 - -> ${MY_P}.gh.tar.gz
49 -"
50 -S=${WORKDIR}/${MY_P}
51 -
52 -LICENSE="MIT"
53 -SLOT="0"
54 -KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
55 -
56 -RDEPEND="
57 - =dev-python/anyio-3*[${PYTHON_USEDEP}]
58 -"
59 -BDEPEND="
60 - test? (
61 - dev-python/pytest-asyncio[${PYTHON_USEDEP}]
62 - dev-python/pytest-mock[${PYTHON_USEDEP}]
63 - dev-python/pytest-toolbox[${PYTHON_USEDEP}]
64 - dev-python/trio[${PYTHON_USEDEP}]
65 - )
66 -"
67 -
68 -distutils_enable_tests pytest
69 -
70 -src_prepare() {
71 - # increase timeout
72 - sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die
73 -
74 - distutils-r1_src_prepare
75 -}
76 -
77 -python_test() {
78 - local EPYTEST_DESELECT=(
79 - # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84
80 - tests/test_watch.py::test_awatch_log
81 - )
82 - [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
83 - tests/test_watch.py::test_does_not_exist
84 - )
85 - epytest
86 -}