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 3DD36139694 for ; Sun, 7 May 2017 18:43:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A56EA21C098; Sun, 7 May 2017 18:43:51 +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 70B0521C098 for ; Sun, 7 May 2017 18:43:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 E14433416DE for ; Sun, 7 May 2017 18:43:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2E567451 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: <1494182600.54eb6222f3d13ea77177f2847e65d1316dce4f43.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zope-exceptions/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zope-exceptions/Manifest dev-python/zope-exceptions/metadata.xml dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild X-VCS-Directories: dev-python/zope-exceptions/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 54eb6222f3d13ea77177f2847e65d1316dce4f43 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: cfa91f0a-0a0a-44bb-802b-4fc1b232b8eb X-Archives-Hash: b0aba0cf30e0391f7c7c58ece29fb55c commit: 54eb6222f3d13ea77177f2847e65d1316dce4f43 Author: Michał Górny gentoo org> AuthorDate: Sat Apr 29 09:24:55 2017 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun May 7 18:43:20 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54eb6222 dev-python/zope-exceptions: New package, dep of zope.testing dev-python/zope-exceptions/Manifest | 1 + dev-python/zope-exceptions/metadata.xml | 12 +++++++ .../zope-exceptions/zope-exceptions-4.1.0.ebuild | 39 ++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-python/zope-exceptions/Manifest b/dev-python/zope-exceptions/Manifest new file mode 100644 index 00000000000..296c3478b61 --- /dev/null +++ b/dev-python/zope-exceptions/Manifest @@ -0,0 +1 @@ +DIST zope.exceptions-4.1.0.tar.gz 26605 SHA256 f1c086abddc9f2050df5824ff7ab8ece3285c8e28453a29ee761effbc5e592ad SHA512 7491a0558a999d6907d2d1adb33086ef047dd4fc5d39709da628a94ee11f5afaec4b2cb456c19b16595cfaf46cc0d25fb847196d331c9d9c80d2ba3a582b415f WHIRLPOOL 763293545163ec66a52ee49db08183d7bc73832e862b097e0fb9d07f1cb8d8a6a280bfa053a4fd1278ef61db146e689df5e9305d44dae327ceadc00b9d776303 diff --git a/dev-python/zope-exceptions/metadata.xml b/dev-python/zope-exceptions/metadata.xml new file mode 100644 index 00000000000..828a7ab2200 --- /dev/null +++ b/dev-python/zope-exceptions/metadata.xml @@ -0,0 +1,12 @@ + + + + + python@gentoo.org + Python + + + zope.exceptions + zopefoundation/zope.exceptions + + diff --git a/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild new file mode 100644 index 00000000000..976197f62de --- /dev/null +++ b/dev-python/zope-exceptions/zope-exceptions-4.1.0.ebuild @@ -0,0 +1,39 @@ +# 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{,3} ) +inherit distutils-r1 + +MY_PN=${PN/-/.} +MY_P=${MY_PN}-${PV} + +DESCRIPTION="General purpose exceptions for Zope packages" +HOMEPAGE="https://pypi.python.org/pypi/zope.exceptions https://github.com/zopefoundation/zope.exceptions" +SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="ZPL" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +# TODO: extras? +RDEPEND="dev-python/namespace-zope[${PYTHON_USEDEP}] + dev-python/zope-interface[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/zope-testrunner[${PYTHON_USEDEP}] )" + +S=${WORKDIR}/${MY_P} + +python_test() { + esetup.py test +} + +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 +}