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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81D5A1382C5 for ; Sun, 21 Mar 2021 20:07:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CFBEEE0809; Sun, 21 Mar 2021 20:07:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AFBB8E0809 for ; Sun, 21 Mar 2021 20:07:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BB471335C9F for ; Sun, 21 Mar 2021 20:07:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72B435B9 for ; Sun, 21 Mar 2021 20:07:50 +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: <1616357267.7a1af77b2e309202c59d8f320af0662519e5331f.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-interface/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-interface/Manifest dev-python/zope-interface/zope-interface-5.3.0.ebuild X-VCS-Directories: dev-python/zope-interface/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 7a1af77b2e309202c59d8f320af0662519e5331f X-VCS-Branch: master Date: Sun, 21 Mar 2021 20:07:50 +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: 54255e0e-fa2b-49b0-8f25-35c444374356 X-Archives-Hash: c139c6a208ea405d0dd341f62d52651c commit: 7a1af77b2e309202c59d8f320af0662519e5331f Author: Michał Górny gentoo org> AuthorDate: Sun Mar 21 19:54:43 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Mar 21 20:07:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1af77b dev-python/zope-interface: Bump to 5.3.0 Signed-off-by: Michał Górny gentoo.org> dev-python/zope-interface/Manifest | 1 + .../zope-interface/zope-interface-5.3.0.ebuild | 54 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/zope-interface/Manifest b/dev-python/zope-interface/Manifest index 53878e77b86..3771804b510 100644 --- a/dev-python/zope-interface/Manifest +++ b/dev-python/zope-interface/Manifest @@ -1 +1,2 @@ DIST zope.interface-5.2.0.tar.gz 227058 BLAKE2B d5afcaf56d77431436bc6f2ccf566e835c0908f7037ecd2a93e2b2681c0588b2baeacb0ec50207e59e67f7c4ac3cc76bca657330b48991f22835637985b85ccd SHA512 64688b8a823d63fc78720ee15d59cc54c07a700dc45e46336cb23cd1a0a3eb998284a4d954d3fa08c7f26b35583c0284fb2fcd18f84f3133ce93f7c3ade0a988 +DIST zope.interface-5.3.0.tar.gz 241964 BLAKE2B 4b1ea32f3f08e2d49afa402358760dd575057bc4487ad52686a2aaceee782501c3c1891dda00cbd306abe35e7bfea4cf41a4a340644258cf478a637abd62c103 SHA512 3544c64d64f32e4635031325b38500b8ed5888b03821c5ff2e07c2d88bb50ccb0b6fe24c6a55813bbe05caf2b847be832182e04dcd8e9ff29f1e68c1fda7c680 diff --git a/dev-python/zope-interface/zope-interface-5.3.0.ebuild b/dev-python/zope-interface/zope-interface-5.3.0.ebuild new file mode 100644 index 00000000000..7c0a39bc13a --- /dev/null +++ b/dev-python/zope-interface/zope-interface-5.3.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# pkg_resources namespace +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{7..9} pypy3 ) + +inherit distutils-r1 flag-o-matic + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="Interfaces for Python" +HOMEPAGE="https://pypi.org/project/zope.interface/ https://github.com/zopefoundation/zope.interface" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" + +RDEPEND=" + dev-python/namespace-zope[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/zope-event[${PYTHON_USEDEP}] + dev-python/zope-testing[${PYTHON_USEDEP}] + ) +" + +PATCHES=( + "${FILESDIR}"/5.1.0-drop-coverage.patch +) + +distutils_enable_tests setup.py + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" + append-flags -fno-strict-aliasing + fi + + distutils-r1_python_compile +} + +python_install_all() { + distutils-r1_python_install_all + + # remove .pth files since dev-python/namespace-zope handles the ns + find "${D}" -name '*.pth' -delete || die +}