From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1384718-garchives=archives.gentoo.org@lists.gentoo.org>
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 B22EC15808B
	for <garchives@archives.gentoo.org>; Mon, 11 Apr 2022 19:59:05 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2735EE09FE;
	Mon, 11 Apr 2022 19:59:01 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.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 E0BA3E09FE
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Apr 2022 19:59:00 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(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 0EBD6341A57
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Apr 2022 19:59:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 834E43BB
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Apr 2022 19:58:56 +0000 (UTC)
From: "Michał Górny" <mgorny@gentoo.org>
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" <mgorny@gentoo.org>
Message-ID: <1649707129.6ee56f868d6f06d19c8cb8baa9d3919591a1d223.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/zope-interface-5.4.0-r1.ebuild
X-VCS-Directories: dev-python/zope-interface/
X-VCS-Committer: mgorny
X-VCS-Committer-Name: Michał Górny
X-VCS-Revision: 6ee56f868d6f06d19c8cb8baa9d3919591a1d223
X-VCS-Branch: master
Date: Mon, 11 Apr 2022 19:58:56 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: d52a6ac1-5f42-44f3-ba37-675ebf006e89
X-Archives-Hash: 46fcc7f4a9f982dadf1758c5f3d9a06b

commit:     6ee56f868d6f06d19c8cb8baa9d3919591a1d223
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 11 18:43:55 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 11 19:58:49 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee56f86

dev-python/zope-interface: Use distutils_write_namespace

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
index 52e20bfda75f..955faef03f65 100644
--- a/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
+++ b/dev-python/zope-interface/zope-interface-5.4.0-r1.ebuild
@@ -46,11 +46,6 @@ python_compile() {
 
 python_test() {
 	cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
-	# this is needed to keep the tests working while
-	# dev-python/namespace-zope is still installed
-	cat > zope/__init__.py <<-EOF || die
-		__path__ = __import__('pkgutil').extend_path(__path__, __name__)
-	EOF
+	distutils_write_namespace zope
 	eunittest
-	rm zope/__init__.py || die
 }