From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 8E30D1581B9 for ; Fri, 19 Sep 2025 12:29:58 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6A5FA34216F for ; Fri, 19 Sep 2025 12:29:58 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 46838110586; Fri, 19 Sep 2025 12:29:26 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 3352D110583 for ; Fri, 19 Sep 2025 12:29:26 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E551E341EB3 for ; Fri, 19 Sep 2025 12:29:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99A913A52 for ; Fri, 19 Sep 2025 12:29:22 +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: <1758284605.b16ddcfc4ce9d12ec799512d1e5a2b4190ed52c3.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zc-lockfile/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zc-lockfile/Manifest dev-python/zc-lockfile/zc-lockfile-4.0.ebuild X-VCS-Directories: dev-python/zc-lockfile/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: b16ddcfc4ce9d12ec799512d1e5a2b4190ed52c3 X-VCS-Branch: master Date: Fri, 19 Sep 2025 12:29:22 +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: 9ebf5dca-9bcc-4400-8a7e-39bd4a03606a X-Archives-Hash: 4ae1fe6a19d30dff885975bc2fcbb0f7 commit: b16ddcfc4ce9d12ec799512d1e5a2b4190ed52c3 Author: Michał Górny gentoo org> AuthorDate: Fri Sep 19 12:11:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Sep 19 12:23:25 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b16ddcfc dev-python/zc-lockfile: Bump to 4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zc-lockfile/Manifest | 1 + dev-python/zc-lockfile/zc-lockfile-4.0.ebuild | 45 +++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/zc-lockfile/Manifest b/dev-python/zc-lockfile/Manifest index af928826fc7d..8550a33ee898 100644 --- a/dev-python/zc-lockfile/Manifest +++ b/dev-python/zc-lockfile/Manifest @@ -1 +1,2 @@ DIST zc.lockfile-3.0.post1.tar.gz 10190 BLAKE2B 80f732b758581b25f7d45c843b73b35985ad24185a04d207b612b448e6a1c52e49103d214e9a8b1fa0c3965037c8bcd73c504c5e0e8267814a380e08dc6f1256 SHA512 180d167ffd5760d8f9de02fcbf8e715ad04382d530f3b2970b92e346a588bb3da16926871be944441b2c0d4c8501a9d59fed2dc3c0a733b6c4478b6571d4b911 +DIST zc_lockfile-4.0.tar.gz 10956 BLAKE2B ad5a9b27dad3ea3c523c5f2d182e28ff9c45f5a989140cf5b235ef87df3b320c5819bf521129f285b5a6b55a9fb0b562c9bffaaa7f3c8010d7de8f082f41df98 SHA512 d6f9a01676710aa50b7a422fa11fd5617ee2806ad6f1d301b2e18460a3a5708eef0d8272aa7a4523b81ea2ca55280b88323fb9c00cb8230b490d63478906ec77 diff --git a/dev-python/zc-lockfile/zc-lockfile-4.0.ebuild b/dev-python/zc-lockfile/zc-lockfile-4.0.ebuild new file mode 100644 index 000000000000..b68ba1b6a777 --- /dev/null +++ b/dev-python/zc-lockfile/zc-lockfile-4.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{11..14} pypy3_11 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Basic inter-process locks" +HOMEPAGE=" + https://github.com/zopefoundation/zc.lockfile/ + https://pypi.org/project/zc.lockfile/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +BDEPEND=" + test? ( + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst README.rst ) + +distutils_enable_tests unittest + +python_prepare_all() { + # rdep is only needed for namespace + sed -i -e '/install_requires.*setuptools/d' setup.py || die + # do not install README into site-packages + sed -e '/^ include_package_data/d' -i setup.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + "${EPYTHON}" -m unittest zc.lockfile.tests -v || die +}