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 B5A8B158090 for ; Sun, 22 May 2022 09:25:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 05A4CE097A; Sun, 22 May 2022 09:25:56 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E4932E097A for ; Sun, 22 May 2022 09:25:55 +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 34B6F341D5A for ; Sun, 22 May 2022 09:25:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E49E485 for ; Sun, 22 May 2022 09:25:53 +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: <1653211549.60c06a14d5dea78cc8a0dffb20436005cd3842cf.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/zc-lockfile-2.0-r1.ebuild X-VCS-Directories: dev-python/zc-lockfile/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 60c06a14d5dea78cc8a0dffb20436005cd3842cf X-VCS-Branch: master Date: Sun, 22 May 2022 09:25:53 +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: de50eefb-7c3c-48fa-813f-a0e2d1831fb7 X-Archives-Hash: a30aa211170151144e9712099a1fc1e0 commit: 60c06a14d5dea78cc8a0dffb20436005cd3842cf Author: Michał Górny gentoo org> AuthorDate: Sun May 22 09:23:40 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 22 09:25:49 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60c06a14 dev-python/zc-lockfile: Use PEP517 build Signed-off-by: Michał Górny gentoo.org> dev-python/zc-lockfile/zc-lockfile-2.0-r1.ebuild | 47 ++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/dev-python/zc-lockfile/zc-lockfile-2.0-r1.ebuild b/dev-python/zc-lockfile/zc-lockfile-2.0-r1.ebuild new file mode 100644 index 000000000000..18a0468d81dc --- /dev/null +++ b/dev-python/zc-lockfile/zc-lockfile-2.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-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} pypy3 ) + +inherit distutils-r1 + +MY_P=${PN/-/.}-${PV} +DESCRIPTION="Basic inter-process locks" +HOMEPAGE=" + https://github.com/zopefoundation/zc.lockfile/ + https://pypi.org/project/zc.lockfile/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN/-/.}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~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 +}