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 3264815802F for ; Fri, 24 Feb 2023 06:00:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A153FE07E6; Fri, 24 Feb 2023 06:00:28 +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 8D9A5E07E6 for ; Fri, 24 Feb 2023 06:00:28 +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 45B30340DCE for ; Fri, 24 Feb 2023 06:00:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 82F318CC for ; Fri, 24 Feb 2023 06:00:24 +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: <1677217488.155fb41766d0ae96676da9bcf57edda180d77d1c.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-3.0.ebuild X-VCS-Directories: dev-python/zc-lockfile/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 155fb41766d0ae96676da9bcf57edda180d77d1c X-VCS-Branch: master Date: Fri, 24 Feb 2023 06:00:24 +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: 56c92555-0611-4186-93d0-e20b875a5fcd X-Archives-Hash: f736adc1f70380c454ec102fe1047bc3 commit: 155fb41766d0ae96676da9bcf57edda180d77d1c Author: Michał Górny gentoo org> AuthorDate: Fri Feb 24 05:44:48 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Feb 24 05:44:48 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155fb417 dev-python/zc-lockfile: Bump to 3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zc-lockfile/Manifest | 1 + dev-python/zc-lockfile/zc-lockfile-3.0.ebuild | 46 +++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/zc-lockfile/Manifest b/dev-python/zc-lockfile/Manifest index 566c7a7c6516..04626a0484a3 100644 --- a/dev-python/zc-lockfile/Manifest +++ b/dev-python/zc-lockfile/Manifest @@ -1 +1,2 @@ DIST zc.lockfile-2.0.tar.gz 11923 BLAKE2B 7609f64eef4521f0aa95dc899b253570a317bd997cced00665a2dbe22cf7f834ce75daaf4fdf79520157dee31742758aad1844d49c5eccb780e7d5fd2e8e5ac5 SHA512 2586bafacb12540383695a24cb01fd284e61bfa3fcb16431ed0e91278e547c68983363fb69c1ffbd54f7c22db43300ba018ccd2fb3e21666c98860415b7a3c3b +DIST zc.lockfile-3.0.tar.gz 10043 BLAKE2B 9435f9999f976e6bfd6302b3d24960e21992f54755c6dadd9f0392254ff89b474039d7502c81c9667b4bb741300ced33bca35634f8990840809692cb025cb7f5 SHA512 65662d03933b0e295d69971a74a1d1ddf67086287bd98752d6d23d793130b0c612413c0dba365f7fa2213a5ef0981fc20bccbde304dc36a4092ad1f702ee9429 diff --git a/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild b/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild new file mode 100644 index 000000000000..64fb974fd65c --- /dev/null +++ b/dev-python/zc-lockfile/zc-lockfile-3.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Basic inter-process locks" +HOMEPAGE=" + https://github.com/zopefoundation/zc.lockfile/ + https://pypi.org/project/zc.lockfile/ +" +SRC_URI="$(pypi_sdist_url --no-normalize "${PN/-/.}")" +S=${WORKDIR}/${P/-/.} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" + +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 + # use implicit namespace + sed -i -e '/namespace_packages/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 +}