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 4239315800D for ; Tue, 11 Jul 2023 10:41:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EB89E0802; Tue, 11 Jul 2023 10:41:22 +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 2392DE0802 for ; Tue, 11 Jul 2023 10:41:22 +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 1F676340D4C for ; Tue, 11 Jul 2023 10:41:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7BEAFAD4 for ; Tue, 11 Jul 2023 10:41:19 +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: <1689070921.1390bc3a17eb949efe5ea218bb6e95a5e083a23b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-exceptions/Manifest dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild X-VCS-Directories: dev-python/zope-exceptions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 1390bc3a17eb949efe5ea218bb6e95a5e083a23b X-VCS-Branch: master Date: Tue, 11 Jul 2023 10:41:19 +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: c570b500-0ac0-4519-aaae-7c42f77d8c30 X-Archives-Hash: 759394afabac65ded6b1ea4051dd961f commit: 1390bc3a17eb949efe5ea218bb6e95a5e083a23b Author: Michał Górny gentoo org> AuthorDate: Tue Jul 11 10:22:01 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Jul 11 10:22:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1390bc3a dev-python/zope-exceptions: Bump to 5.0.1 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-exceptions/Manifest | 1 + .../zope-exceptions/zope-exceptions-5.0.1.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest index 3e01f62292c3..9fd9833da3c5 100644 --- a/dev-python/zope-exceptions/Manifest +++ b/dev-python/zope-exceptions/Manifest @@ -1,2 +1,3 @@ DIST zope.exceptions-4.6.tar.gz 30876 BLAKE2B 9cc9a040269aa2f813018670e3692c9897fbea3a346b37e72fc54e72fb33dbaf0f14c192a76a7c40f57674caee4e17e86aec5f1d60e1c0e6a801d859d9629189 SHA512 d28a4434b27f6611040b290dcece26c1880982853092c89d5a8d74093cb9339a62834d7c3949d5ea28c4d3fc01c6f36180df22031cded6e4c963acfff65c2ec4 +DIST zope.exceptions-5.0.1.tar.gz 30435 BLAKE2B 66775ace483da20614aa4db31d106f70af5a118cd7b5f3cc3458515cf443cd6c6e0bda26b0817adf063c52ded25ffcc09b722840e90f4975976e54c48763bbf1 SHA512 46ab45feb81682b62f4ab0df31e39b8b438af593d8880eb095fb2994ce6aced5aceb2cb08973234077d9c3846adc57658e06e04aecf55443bf3af691d728291a DIST zope.exceptions-5.0.tar.gz 30287 BLAKE2B 43fab206ef16b330a4ca460a432be375450fd3637a7964797fcb15a35f6adcd654b6105bb61043391ae6448ce03ea2ddd89dc86b6a90be69e2b0c541ca2b30e7 SHA512 0aba148751420c92a403169f72801fe03745196f918e1993d159a8d89310f2f71af26a15eab20c51b39747c3ddfc61eebc48e228517418fedb45d21b89475ed1 diff --git a/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild new file mode 100644 index 000000000000..7ec748a89678 --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-5.0.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN/-/.} +PYTHON_COMPAT=( python3_{10..12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE=" + https://pypi.org/project/zope.exceptions/ + https://github.com/zopefoundation/zope.exceptions/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=" + dev-python/zope-interface[${PYTHON_USEDEP}] + !dev-python/namespace-zope +" + +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 +}