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 1CACD15808B for ; Mon, 21 Mar 2022 20:40:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B0BB1E08F6; Mon, 21 Mar 2022 20:39:59 +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 94AEDE08F6 for ; Mon, 21 Mar 2022 20:39:59 +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 976F734314B for ; Mon, 21 Mar 2022 20:39:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21A8932E for ; Mon, 21 Mar 2022 20:39:57 +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: <1647895186.48140cf2c0adc1c12f492f21f4fe18d58cf77f1f.arthurzam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchgod/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/watchgod/Manifest dev-python/watchgod/watchgod-0.8.1.ebuild X-VCS-Directories: dev-python/watchgod/ X-VCS-Committer: arthurzam X-VCS-Committer-Name: Arthur Zamarin X-VCS-Revision: 48140cf2c0adc1c12f492f21f4fe18d58cf77f1f X-VCS-Branch: master Date: Mon, 21 Mar 2022 20:39:57 +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: f014e03d-ce9b-4377-a913-39d867646f02 X-Archives-Hash: dcdbc94aad9bcc12facecd344eb27b9d commit: 48140cf2c0adc1c12f492f21f4fe18d58cf77f1f Author: Arthur Zamarin gentoo org> AuthorDate: Mon Mar 21 20:19:52 2022 +0000 Commit: Arthur Zamarin gentoo org> CommitDate: Mon Mar 21 20:39:46 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48140cf2 dev-python/watchgod: add 0.8.1 Signed-off-by: Arthur Zamarin gentoo.org> dev-python/watchgod/Manifest | 1 + dev-python/watchgod/watchgod-0.8.1.ebuild | 48 +++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/watchgod/Manifest b/dev-python/watchgod/Manifest index 32c66307294b..1a53095d71cc 100644 --- a/dev-python/watchgod/Manifest +++ b/dev-python/watchgod/Manifest @@ -1,2 +1,3 @@ DIST watchgod-0.7.gh.tar.gz 14362 BLAKE2B 0c16b7ef2a7e1d0ca2c9d27b1503a9710662364318d5021e916aabf90c8f917b0bf69559a545658f839953832edc579b0014a0736b3b155f097d1d29c2e4b4f7 SHA512 afa225b30cf796ce95861c61fbe8eb22ed72011522de53d53c41148311793db10e41b66e9eb1237c4372f142edaec992de79715c568e435ddb1695666be1cdd8 +DIST watchgod-0.8.1.gh.tar.gz 15414 BLAKE2B 237b03a08b053f6979b884a02818b8651ce7415dbd08a848c2d754361c3f9aaf315db2b352a8f159f6245f2db92ea2f5485daacfb8924edcc361049f307467bb SHA512 a30ac1093df1e26ce78bbc09f5b1155cd5a9becad13da54ab3009012a5630404bb94695474be05133ad3e57c1727743efc408235a19a25f276265d752f0624cc DIST watchgod-0.8.gh.tar.gz 15354 BLAKE2B 1325f452593e54e8cc40eca0fc9867aff0c93d89de767b9512508fee02efe94e43284b30c316b2cce31a15acc2ee9ff19ca7f9cc6fb46cfffdb0458e502d85ca SHA512 0e86d9dd3eba0cd3aaeccc009ebdba8528ba23d63ad19ff789dffda075b4a01c32be0dfabf38f15e7966bc09e7fb5ae3a94a9dd89a55358a95622aaf5cad0947 diff --git a/dev-python/watchgod/watchgod-0.8.1.ebuild b/dev-python/watchgod/watchgod-0.8.1.ebuild new file mode 100644 index 000000000000..d75856fbbcf3 --- /dev/null +++ b/dev-python/watchgod/watchgod-0.8.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="Simple, modern file watching and code reload in Python" +HOMEPAGE=" + https://pypi.org/project/watchgod/ + https://github.com/samuelcolvin/watchgod/ +" +SRC_URI=" + https://github.com/samuelcolvin/watchgod/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + =dev-python/anyio-3*[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-toolbox[${PYTHON_USEDEP}] + dev-python/trio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # flaky test on slow systems, https://github.com/samuelcolvin/watchgod/issues/84 + tests/test_watch.py::test_awatch_log +) + +src_prepare() { + # increase timeout + sed -e '/sleep/s/0.01/1.0/' -i tests/test_watch.py || die + + distutils-r1_src_prepare +}