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 59CE5158090 for ; Mon, 16 May 2022 07:56:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88E45E08E0; Mon, 16 May 2022 07:56:08 +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 72DC2E08E0 for ; Mon, 16 May 2022 07:56:08 +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 9E36D3412A6 for ; Mon, 16 May 2022 07:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 34EA5477 for ; Mon, 16 May 2022 07:56:03 +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: <1652687759.c776acea474b282074e789d70228d6a155c1d2f5.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-2.1.8.ebuild X-VCS-Directories: dev-python/watchdog/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c776acea474b282074e789d70228d6a155c1d2f5 X-VCS-Branch: master Date: Mon, 16 May 2022 07:56:03 +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: 1a00beb6-1127-4dee-9ebc-db47bb879ee8 X-Archives-Hash: cb141004c286e3a036c0c44859b300dc commit: c776acea474b282074e789d70228d6a155c1d2f5 Author: Michał Górny gentoo org> AuthorDate: Mon May 16 06:54:02 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon May 16 07:55:59 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c776acea dev-python/watchdog: Bump to 2.1.8 Signed-off-by: Michał Górny gentoo.org> dev-python/watchdog/Manifest | 1 + dev-python/watchdog/watchdog-2.1.8.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index b60d94a748e2..8a10e642c248 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1 +1,2 @@ DIST watchdog-2.1.7.gh.tar.gz 100442 BLAKE2B 21247e1790077eb1eb2f1dc2bb8ddebc1b7f6a2c503238c52c660246fee8c1d3483119184a62114efb81c44665321d4e3aa18ffd73b3244a44c4c6df5204c834 SHA512 f69265aac6e8a840d230c15cfe88c803f043cb540785446113617c0fd1a3c5dce8a885a376bbadc75372a718800948dd4b00c618e18e033d510b8e2bc2bbb36b +DIST watchdog-2.1.8.gh.tar.gz 101828 BLAKE2B ca14534af888154652951abb7e5f7f1bae1f2e072f113a034638f6384fc9b9044ab99191c6dc0ce38d7ded3dc6629a7aba1e1765f85ec5410706bd669411b929 SHA512 3182cb28701403e799c3850e5cd44acf6dc1aa7e98b1c4bb22b21de98fa4372c74a041e2f3be8d10ae77fe00018e460b98ce2fa5b0779edb84d15f952c407030 diff --git a/dev-python/watchdog/watchdog-2.1.8.ebuild b/dev-python/watchdog/watchdog-2.1.8.ebuild new file mode 100644 index 000000000000..0ea71e3c1a55 --- /dev/null +++ b/dev-python/watchdog/watchdog-2.1.8.ebuild @@ -0,0 +1,52 @@ +# 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 optfeature + +DESCRIPTION="Python API and shell utilities to monitor file system events" +HOMEPAGE=" + https://github.com/gorakhargosh/watchdog/ + https://pypi.org/project/watchdog/ +" +SRC_URI=" + https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +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 -i -e '/--cov/d' setup.cfg || die + default +} + +python_test() { + local EPYTEST_DESELECT=( + # 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 +}