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 93CB9158030 for ; Tue, 28 Feb 2023 18:16:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1115E0729; Tue, 28 Feb 2023 18:16:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 BCDCEE0729 for ; Tue, 28 Feb 2023 18:16:41 +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 07D9833BE6B for ; Tue, 28 Feb 2023 18:16:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D8BD08CD for ; Tue, 28 Feb 2023 18:16:37 +0000 (UTC) From: "Arthur Zamarin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arthur Zamarin" Message-ID: <1677608187.6fa99985c44b430ce097c96d7dcad1d0e4a268af.arthurzam@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-2.3.1.ebuild X-VCS-Directories: dev-python/watchdog/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 6fa99985c44b430ce097c96d7dcad1d0e4a268af X-VCS-Branch: master Date: Tue, 28 Feb 2023 18:16:37 +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: c91bd374-07fa-4ae6-bab7-5a34dbddf40c X-Archives-Hash: 59ba57fb1c2babf70a0d4f401f0573d8 commit: 6fa99985c44b430ce097c96d7dcad1d0e4a268af Author: Arthur Zamarin gentoo org> AuthorDate: Tue Feb 28 18:15:50 2023 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Tue Feb 28 18:16:27 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fa99985 dev-python/watchdog: add 2.3.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/watchdog/Manifest | 1 + dev-python/watchdog/watchdog-2.3.1.ebuild | 50 +++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index b90d67731b2f..e832e3dd4d86 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/dev-python/watchdog/watchdog-2.3.1.ebuild b/dev-python/watchdog/watchdog-2.3.1.ebuild new file mode 100644 index 000000000000..a40cce8f861b --- /dev/null +++ b/dev-python/watchdog/watchdog-2.3.1.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 +}