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 7B60C1581C1 for ; Sun, 14 Jul 2024 03:23:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 67C2EE2B04; Sun, 14 Jul 2024 03:23:35 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A5857E2B04 for ; Sun, 14 Jul 2024 03:23:34 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 519F834106C for ; Sun, 14 Jul 2024 03:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98F5E1E21 for ; Sun, 14 Jul 2024 03:23:31 +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: <1720926928.cc5bfbbee347c46037d1cd8159c134bd857903b6.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/portalocker/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/portalocker/Manifest dev-python/portalocker/portalocker-2.10.1.ebuild X-VCS-Directories: dev-python/portalocker/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cc5bfbbee347c46037d1cd8159c134bd857903b6 X-VCS-Branch: master Date: Sun, 14 Jul 2024 03:23:31 +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: b47e002a-36bb-41ab-9a12-d887113a1696 X-Archives-Hash: 9e502b42342c108362e82d4276c0ca89 commit: cc5bfbbee347c46037d1cd8159c134bd857903b6 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 14 03:15:28 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 14 03:15:28 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc5bfbbe dev-python/portalocker: Bump to 2.10.1 Signed-off-by: Michał Górny gentoo.org> dev-python/portalocker/Manifest | 1 + dev-python/portalocker/portalocker-2.10.1.ebuild | 45 ++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/portalocker/Manifest b/dev-python/portalocker/Manifest index 659490fb5de7..38ebd4207f9f 100644 --- a/dev-python/portalocker/Manifest +++ b/dev-python/portalocker/Manifest @@ -1 +1,2 @@ DIST portalocker-2.10.0.gh.tar.gz 34084 BLAKE2B 9efb130859002a4a6bb4c18b2fad293b6cfe3344402b7442be4d4d1b17ff837ff45a39ebb5e50db09ce2dcc7c902b72fa9d9f64625e772be1150d5659f2eafaa SHA512 79b60472ca589e6e696203f829eae2d66c11fca4ee2c7280aad91395f2cc2db6a1c7ae131d7a4945b2a2455ad62829a8a3163c628a74ec46a0f1564ea27d50e7 +DIST portalocker-2.10.1.gh.tar.gz 34084 BLAKE2B c4b8b0f42e25c28dd73f73459f2425a355c1be7fb6d9e601c8f829b76a421b66981c96d948513a92b0d9746f0d4b4c9423eb671e160629d421b6720bb3c81883 SHA512 cdb5db6eab2974a8fef5628656b9e66bd1907d3010e28071c5a308d52a7ad28f838f3cb90e8bc258b2f258b8b999438e90972751e4d29b1769056db4f9ab9f8b diff --git a/dev-python/portalocker/portalocker-2.10.1.ebuild b/dev-python/portalocker/portalocker-2.10.1.ebuild new file mode 100644 index 000000000000..1981e8b48083 --- /dev/null +++ b/dev-python/portalocker/portalocker-2.10.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 optfeature + +DESCRIPTION="A library for Python file locking" +HOMEPAGE=" + https://github.com/WoLpH/portalocker/ + https://portalocker.readthedocs.io/ + https://pypi.org/project/portalocker/ +" +SRC_URI=" + https://github.com/WoLpH/${PN}/archive/v${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + test? ( + dev-python/redis[${PYTHON_USEDEP}] + >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] + >=dev-python/sphinx-6.0.0[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +src_prepare() { + default + + # Disable code coverage in tests. + sed -i '/^ *--cov.*$/d' pytest.ini || die +} + +pkg_postinst() { + optfeature "redis support" dev-python/redis +}