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 5BC3C15802F for ; Thu, 30 Mar 2023 02:57:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 99FC22BC050; Thu, 30 Mar 2023 02:57:30 +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 868042BC050 for ; Thu, 30 Mar 2023 02:57:30 +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 BDA86340CD9 for ; Thu, 30 Mar 2023 02:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AB0D19E5 for ; Thu, 30 Mar 2023 02:57:26 +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: <1680145042.c01d8b53aa574bf462db240770d2b08937ea1b07.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.0.ebuild X-VCS-Directories: dev-python/zope-deprecation/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c01d8b53aa574bf462db240770d2b08937ea1b07 X-VCS-Branch: master Date: Thu, 30 Mar 2023 02:57:26 +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: 1f6ba0ad-7003-45d7-9d11-7a5d3fae6542 X-Archives-Hash: a1f642ca0f64d12c83a7961726528ceb commit: c01d8b53aa574bf462db240770d2b08937ea1b07 Author: Michał Górny gentoo org> AuthorDate: Thu Mar 30 02:15:55 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Mar 30 02:57:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c01d8b53 dev-python/zope-deprecation: Bump to 5.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-deprecation/Manifest | 1 + .../zope-deprecation/zope-deprecation-5.0.ebuild | 44 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-python/zope-deprecation/Manifest b/dev-python/zope-deprecation/Manifest index 2a4b6b01e909..0ab62602dff8 100644 --- a/dev-python/zope-deprecation/Manifest +++ b/dev-python/zope-deprecation/Manifest @@ -1 +1,2 @@ DIST zope.deprecation-4.4.0.tar.gz 24737 BLAKE2B 993959f47e7808ad9d024d5df9d141cdbce3a1a3c281acc0d90bdb20747743936411714b52a29fcac6968cea50d5ab54820954f74c3f59081ce98f097715b9a3 SHA512 62371dc45fad6715f24cdcac1d25b559ed5248da774b5ecd215fb4d0b6fc0ab655bfb9e0fbceda964e8ffb7d70536e43f8fcf09d9f2742904717a6473869fa4a +DIST zope.deprecation-5.0.tar.gz 23353 BLAKE2B 9b98291fe252942a8235c70c0a13bfbaf2cb3091e1502099f8a0651b517e748645cbda957f92c790c4d4f2b6ed7324cd5e21bae9d2906f2943e507376a980d76 SHA512 11313626e4141c2f92805c7c533b32160f88bf45667cd5a53a867daad3172947e5ac80433893c515243276030400a8a8e3d3a623ea51cb2b15bd5a5a0927bc46 diff --git a/dev-python/zope-deprecation/zope-deprecation-5.0.ebuild b/dev-python/zope-deprecation/zope-deprecation-5.0.ebuild new file mode 100644 index 000000000000..04001b09e400 --- /dev/null +++ b/dev-python/zope-deprecation/zope-deprecation-5.0.ebuild @@ -0,0 +1,44 @@ +# 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_{9..11} 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 ~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 +}