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 A59F8158086 for ; Thu, 4 Nov 2021 05:49:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CA2F0E0928; Thu, 4 Nov 2021 05:49:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A6270E0928 for ; Thu, 4 Nov 2021 05:49:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9E50E342B11 for ; Thu, 4 Nov 2021 05:49:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F5C483 for ; Thu, 4 Nov 2021 05:49:46 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1636004978.c8aee683dc0018b1327d8a9c850f3977882e30b3.sam@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.6.ebuild X-VCS-Directories: dev-python/watchdog/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c8aee683dc0018b1327d8a9c850f3977882e30b3 X-VCS-Branch: master Date: Thu, 4 Nov 2021 05:49:46 +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: ee78973e-a7b3-45ed-8a6f-9aa98ac27d2d X-Archives-Hash: 22270b0fbc0d23c1fd430980d29e2691 commit: c8aee683dc0018b1327d8a9c850f3977882e30b3 Author: Sam James gentoo org> AuthorDate: Thu Nov 4 05:46:33 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Nov 4 05:49:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8aee683 dev-python/watchdog: add 2.1.6 Signed-off-by: Sam James gentoo.org> dev-python/watchdog/Manifest | 1 + dev-python/watchdog/watchdog-2.1.6.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-python/watchdog/Manifest b/dev-python/watchdog/Manifest index 4c1bf4c6793..9fa4d035eeb 100644 --- a/dev-python/watchdog/Manifest +++ b/dev-python/watchdog/Manifest @@ -1,2 +1,3 @@ DIST watchdog-1.0.2.tar.gz 91796 BLAKE2B 001cbe82ff8aff0c4e56e4d1f02519047580cccb48466566ad7c9c1f462f90a9a036cf90846eb38ec4fb24ff1df2a1ddfec20b3f0587afdc1f938ada1bb0b1ef SHA512 e87a0955ce822daabd7d030804876698f98ed2aad58486e26a94585763655302063f091b653abd385ea99642361b6253d8e051d96019b243a77b078ba86b0d6e DIST watchdog-2.1.5.tar.gz 98791 BLAKE2B b7663e5aa8918321d570c842abf7c70647712d2045f3cc06ccdff86e305fecc5b95c93048aae9f0a7b2629c2c4f10911ef21077a570b9fb0c3eb03e9597f555f SHA512 850feaf4f5d61b8c8f1521464853df65b72af80c86c63fa87769d17f2bc464112daf3e09a8d83e30474d398315ce854e5a45703c5eabad8b0f5f98f6840d2590 +DIST watchdog-2.1.6.tar.gz 99756 BLAKE2B 5ea08660c28f77be02b261a22e6fbfdfaaa59f79af1eecb396fda2e56ab4b5b290dc2c791b31a6841ac6d96c7974d51e846ce0232e9de6728f6031685685e761 SHA512 810ee2c40d92102815685c6e06bee403dfb85df7c8de5f1b7066b27cef2a8e25f506f8d9cc0ff0ec3213b889a7844138692fd9d1ab0c40d0aa2097c55e85f531 diff --git a/dev-python/watchdog/watchdog-2.1.6.ebuild b/dev-python/watchdog/watchdog-2.1.6.ebuild new file mode 100644 index 00000000000..d1da5d18157 --- /dev/null +++ b/dev-python/watchdog/watchdog-2.1.6.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 optfeature + +DESCRIPTION="Python API and shell utilities to monitor file system events" +HOMEPAGE="https://github.com/gorakhargosh/watchdog" +SRC_URI="https://github.com/gorakhargosh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND="dev-python/pyyaml[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + 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 deselect=() + + [[ ${EPYTHON} == pypy3 ]] && deselect+=( + tests/test_inotify_buffer.py::test_move_internal_batch + ) + + epytest -p no:django ${deselect[@]/#/--deselect } +} + +pkg_postinst() { + optfeature "Bash completion" dev-python/argcomplete +}