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 7F0A2139695 for ; Sun, 7 May 2017 18:43:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F44E21C07B; Sun, 7 May 2017 18:43:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5498621C07D for ; Sun, 7 May 2017 18:43:34 +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 431433416D5 for ; Sun, 7 May 2017 18:43:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A2EDF744C for ; Sun, 7 May 2017 18:43:31 +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: <1494182597.82401f696acd2193738aecf1dd3c6ced0c4d0e60.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-event/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-event/zope-event-4.2.0-r1.ebuild X-VCS-Directories: dev-python/zope-event/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 82401f696acd2193738aecf1dd3c6ced0c4d0e60 X-VCS-Branch: master Date: Sun, 7 May 2017 18:43:31 +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-Archives-Salt: 9f9d9cd2-bebb-473a-a584-b31b3434b0f0 X-Archives-Hash: 3e88c0b1fbf85eaeda7cf6712013823d commit: 82401f696acd2193738aecf1dd3c6ced0c4d0e60 Author: Michał Górny gentoo org> AuthorDate: Thu May 4 16:56:08 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 7 18:43:17 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82401f69 dev-python/zope-event: Use dev-python/namespace-zope dev-python/zope-event/zope-event-4.2.0-r1.ebuild | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-python/zope-event/zope-event-4.2.0-r1.ebuild b/dev-python/zope-event/zope-event-4.2.0-r1.ebuild new file mode 100644 index 00000000000..fb4a47f9e82 --- /dev/null +++ b/dev-python/zope-event/zope-event-4.2.0-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy ) + +inherit distutils-r1 +MY_PN=zope.event + +MY_P=${MY_PN}-${PV} +DESCRIPTION="Event publishing / dispatch, used by Zope Component Architecture" +HOMEPAGE="https://github.com/zopefoundation/zope.event http://docs.zope.org/zope.event/" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}]" +DEPEND="test? ( dev-python/nose[${PYTHON_USEDEP}] ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +S=${WORKDIR}/${MY_P} + +python_test() { + nosetests || die +} + +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 +}