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 7895715800F for ; Wed, 4 Jan 2023 14:15:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 384EAE085E; Wed, 4 Jan 2023 14:15:23 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1D548E085E for ; Wed, 4 Jan 2023 14:15:23 +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 3B6A4340831 for ; Wed, 4 Jan 2023 14:15:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A9AE0851 for ; Wed, 4 Jan 2023 14:15:18 +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: <1672841533.c724c5508b1fb43cde9b4fe4f071c31867cce22f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-component/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-component/Manifest dev-python/zope-component/zope-component-5.1.0.ebuild X-VCS-Directories: dev-python/zope-component/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c724c5508b1fb43cde9b4fe4f071c31867cce22f X-VCS-Branch: master Date: Wed, 4 Jan 2023 14:15:18 +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: 06a5ba57-8309-4533-ad56-58820377dd1e X-Archives-Hash: 251bf96770fd3971a5e52e6ae999fc28 commit: c724c5508b1fb43cde9b4fe4f071c31867cce22f Author: Michał Górny gentoo org> AuthorDate: Wed Jan 4 13:33:24 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jan 4 14:12:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c724c550 dev-python/zope-component: Bump to 5.1.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-component/Manifest | 1 + .../zope-component/zope-component-5.1.0.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/dev-python/zope-component/Manifest b/dev-python/zope-component/Manifest index fa18ea9c73d9..032fb6a7504e 100644 --- a/dev-python/zope-component/Manifest +++ b/dev-python/zope-component/Manifest @@ -1 +1,2 @@ DIST zope.component-5.0.1.tar.gz 91130 BLAKE2B 4dbd78b003ba3688c0468573f4552c87333fd5fb7e0cd89d4844633f28c19443b3ea884438ff7f7ba8b056790f008c246c1e7ad52403d7b72b146d0d53edd8ad SHA512 fad011816fe5bb869bb2e43e11a66841a6be2abf9002e41207ef1dfe69b1afb5ca486d275daeddf71d2a0e79e1a9c839c4735190dddcd118b675a976bde07a64 +DIST zope.component-5.1.0.tar.gz 90238 BLAKE2B 411f1704f3e4c9a716508595ef75f1908b757f776b0ebe7677e38e678eb13e2cd5579441b94082e504f2dbc05c41e49fe0e2d1dcad406baafbc6b0733cb85008 SHA512 6695365b0313a24184d0d3b6e10ce0eda108e3e832c97709a4285bf1e76289a71223611d930a4cc3d3b5c2c766a5cfddb3cf616a64848eeccc6f3ac09316f3d1 diff --git a/dev-python/zope-component/zope-component-5.1.0.ebuild b/dev-python/zope-component/zope-component-5.1.0.ebuild new file mode 100644 index 000000000000..25220b0ad7af --- /dev/null +++ b/dev-python/zope-component/zope-component-5.1.0.ebuild @@ -0,0 +1,56 @@ +# 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_{8..11} ) + +inherit distutils-r1 + +MY_PN=zope.component +MY_P=${MY_PN}-${PV} +DESCRIPTION="Zope Component Architecture" +HOMEPAGE=" + https://pypi.org/project/zope.component/ + https://github.com/zopefoundation/zope.component/ +" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/zope-event[${PYTHON_USEDEP}] + >=dev-python/zope-hookable-4.2.0[${PYTHON_USEDEP}] + >=dev-python/zope-interface-5.3.0[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" +BDEPEND=" + test? ( + dev-python/zope-configuration[${PYTHON_USEDEP}] + dev-python/zope-i18nmessageid[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "/'setuptools'/d" setup.py || die + distutils-r1_src_prepare +} + +python_compile() { + distutils-r1_python_compile + find "${BUILD_DIR}" -name '*.pth' -delete || die +} + +python_test() { + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die + distutils_write_namespace zope + eunittest +}