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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3D4815813A for ; Thu, 16 Jan 2025 05:11:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 545FFE07FA; Thu, 16 Jan 2025 05:11:15 +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 E2912E07FA for ; Thu, 16 Jan 2025 05:11:14 +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 A90643430FF for ; Thu, 16 Jan 2025 05:11:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0F8F236E for ; Thu, 16 Jan 2025 05:11:10 +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: <1737004260.d97be91ba1e60d7e1b9af961dfbf365a0bfdfe8b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-deprecation/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-deprecation/Manifest dev-python/zope-deprecation/zope-deprecation-5.1.ebuild X-VCS-Directories: dev-python/zope-deprecation/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d97be91ba1e60d7e1b9af961dfbf365a0bfdfe8b X-VCS-Branch: master Date: Thu, 16 Jan 2025 05:11:10 +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: 89095c16-5220-4b9f-a412-65cd534f53e2 X-Archives-Hash: 79ed396d980408ff175000d178fb36ac commit: d97be91ba1e60d7e1b9af961dfbf365a0bfdfe8b Author: Michał Górny gentoo org> AuthorDate: Thu Jan 16 04:49:12 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Jan 16 05:11:00 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97be91b dev-python/zope-deprecation: Bump to 5.1 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-deprecation/Manifest | 1 + .../zope-deprecation/zope-deprecation-5.1.ebuild | 43 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-python/zope-deprecation/Manifest b/dev-python/zope-deprecation/Manifest index 7dbd8f008faa..aa8d3ca1d06a 100644 --- a/dev-python/zope-deprecation/Manifest +++ b/dev-python/zope-deprecation/Manifest @@ -1 +1,2 @@ DIST zope.deprecation-5.0.tar.gz 23353 BLAKE2B 9b98291fe252942a8235c70c0a13bfbaf2cb3091e1502099f8a0651b517e748645cbda957f92c790c4d4f2b6ed7324cd5e21bae9d2906f2943e507376a980d76 SHA512 11313626e4141c2f92805c7c533b32160f88bf45667cd5a53a867daad3172947e5ac80433893c515243276030400a8a8e3d3a623ea51cb2b15bd5a5a0927bc46 +DIST zope_deprecation-5.1.tar.gz 24453 BLAKE2B 4dc7d9639a998ba11de839145bf4fb11d3b34de29c756c87de98b833ced4a6f2de4024d7b52a4f8c9ab225bf9c459ae79656d2073b9c76a38d9d8d1397aa06e2 SHA512 77b32d3456c5456ffc36eec936b176cdec365fd4561dd2ac06c3222dd4360ef6339ba34601abb29e273eabc3562b6bcdac5627c35b8b95f083015ba118be7979 diff --git a/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild b/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild new file mode 100644 index 000000000000..0e1dc958a8e7 --- /dev/null +++ b/dev-python/zope-deprecation/zope-deprecation-5.1.ebuild @@ -0,0 +1,43 @@ +# 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_{10..13} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Zope Deprecation Infrastructure" +HOMEPAGE=" + https://pypi.org/project/zope.deprecation/ + https://github.com/zopefoundation/zope.deprecation/ +" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + !dev-python/namespace-zope +" + +distutils_enable_tests unittest + +src_prepare() { + # strip rdep specific to namespaces + sed -i -e "s:'setuptools',::" 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 +}