From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5430815A7D9 for ; Tue, 21 Mar 2023 20:06:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D4551E08A0; Tue, 21 Mar 2023 20:06:32 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9F3F8E08A0 for ; Tue, 21 Mar 2023 20:06:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C749E3411E0 for ; Tue, 21 Mar 2023 20:06:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7AFDB8DA for ; Tue, 21 Mar 2023 20:06:28 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1679429182.a6c7735bc5ff97f69636febecb8de6529ccd9197.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchdog/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/watchdog/Manifest dev-python/watchdog/watchdog-3.0.0.ebuild X-VCS-Directories: dev-python/watchdog/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a6c7735bc5ff97f69636febecb8de6529ccd9197 X-VCS-Branch: master Date: Tue, 21 Mar 2023 20:06:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5f95d663-7bf0-4fd1-9cee-cffdf5b036be X-Archives-Hash: 7000fbc172d33cde3c4d6f88c5b2716e commit: a6c7735bc5ff97f69636febecb8de6529ccd9197 Author: Michał Górny gentoo org> AuthorDate: Tue Mar 21 19:50:40 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Mar 21 20:06:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6c7735b dev-python/watchdog: Bump to 3.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/watchdog/Manifest | 1 + dev-python/watchdog/watchdog-3.0.0.ebuild | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index e832e3dd4d86..b3e6470c3f86 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,3 +1,4 @@ DIST watchdog-2.2.1.gh.tar.gz 101485 BLAKE2B 4ec0a2c14d0dcb8d39ed4dea48c1318474768298b4eade4f7c08f811282ffdbf5871c7d55d71681863c38d1f0603c46aaadda73bf38a20ef263fa3b4cf76c354 SHA512 bbd6e3e3fdc7ee5df21b78241922c0050aeb0c01e394fa7d025465f04f3307d190af4cf6e822826975a3b095fb479dfd103be0675f12782e8899f556797baed4 DIST watchdog-2.3.0.gh.tar.gz 103265 BLAKE2B 0817b64e6fc4b31b922f2f73091cc39f702605fa31041a75312635e5500dfeeeab749f0bfd95f3e27900be8f017c4a1b0c07aab40989a9000d1970a2b1e06c1f SHA512 733d408e74a81ce834075472d7488e8d767f80ef92a2a13cc986c1f5d879b0353f0cb85c1996168ae6b8b82d135bcb26c6c18b51a01a8d75915bdec94acd607d DIST watchdog-2.3.1.tar.gz 123140 BLAKE2B a49307b890b9f69eda760c6285d325fddc7281347740b36d7c840a5e28ef496498420c21424f1553bf1dc0d47a928194720ef1ae542e7c0f6f58085760c2e8f5 SHA512 a492c818fcc8b21ca4052fecafdf6b4d00f441034d73b10464fc9c09a89d539acd8304e591ded96e5d992e2c9455be018373ba4f06a33b047e606c083f9061e8 +DIST watchdog-3.0.0.tar.gz 124593 BLAKE2B bc8135dcbe9b1000fb7befc85ebf62518222b0470676cf94aabbe8f871bb05064a46ae4d11ce34f8030d35268c073fe82757b911e3983a8b683ffbd09227395c SHA512 fa1421b01af99d7fa676c9077b2330ead17c004d9bb9e9edd78d4bbf87cf41624ecd669ca48613d99be2109373bbab4e004b69665d2ca42e082573e4740c13d0 diff --git a/dev-python/watchdog/watchdog-3.0.0.ebuild b/dev-python/watchdog/watchdog-3.0.0.ebuild new file mode 100644 index 000000000000..a40cce8f861b --- /dev/null +++ b/dev-python/watchdog/watchdog-3.0.0.ebuild @@ -0,0 +1,50 @@ +# 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 ) + +inherit distutils-r1 optfeature pypi + +DESCRIPTION="Python API and shell utilities to monitor file system events" +HOMEPAGE=" + https://github.com/gorakhargosh/watchdog/ + https://pypi.org/project/watchdog/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/pyyaml[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + >=dev-python/pytest-timeout-0.3[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + sed -e '/--cov/d' -i setup.cfg || die + default +} + +python_test() { + local EPYTEST_DESELECT=( + # known flaky + tests/test_emitter.py::test_close + # requires root powers via sudo (yes, seriously) + tests/test_inotify_buffer.py::test_unmount_watched_directory_filesystem + ) + + epytest -p no:django +} + +pkg_postinst() { + optfeature "Bash completion" dev-python/argcomplete +}