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 A59FE138334 for ; Mon, 8 Jul 2019 09:16:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 928CAE0863; Mon, 8 Jul 2019 09:16:39 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 69450E0863 for ; Mon, 8 Jul 2019 09:16:39 +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 500483473A3 for ; Mon, 8 Jul 2019 09:16:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3D8F62F for ; Mon, 8 Jul 2019 09:16:36 +0000 (UTC) From: "Louis Sautier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Louis Sautier" Message-ID: <1562577390.7aff58485cd93b469c8de54060b34a1891eb6918.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/zipp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/zipp/Manifest dev-python/zipp/metadata.xml dev-python/zipp/zipp-0.5.1.ebuild X-VCS-Directories: dev-python/zipp/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 7aff58485cd93b469c8de54060b34a1891eb6918 X-VCS-Branch: master Date: Mon, 8 Jul 2019 09:16:36 +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: d43a7394-8ad0-4461-8206-3841b7e75d8c X-Archives-Hash: 43faf2f909a9ae4eb0e1a521fc25533c commit: 7aff58485cd93b469c8de54060b34a1891eb6918 Author: Louis Sautier gentoo org> AuthorDate: Thu Jul 4 11:47:21 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Jul 8 09:16:30 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7aff5848 dev-python/zipp: new pkg, v0.5.1 This is required by dev-python/importlib-metadata which is in turn required by the new version of dev-python/irc. Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Louis Sautier gentoo.org> dev-python/zipp/Manifest | 1 + dev-python/zipp/metadata.xml | 17 +++++++++++++++ dev-python/zipp/zipp-0.5.1.ebuild | 44 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-python/zipp/Manifest b/dev-python/zipp/Manifest new file mode 100644 index 00000000000..778f14e8829 --- /dev/null +++ b/dev-python/zipp/Manifest @@ -0,0 +1 @@ +DIST zipp-0.5.1.tar.gz 10763 BLAKE2B 4f70d6ed94203d4b9fb9127930a07797c3cbfa023e0cd472e9d3a18e1877619dbefee654cd0364592a594b6e9e0aabc813e0560695bb18f8e3a64cb4ce76f0e2 SHA512 d4486ae98159677cd481cddb3bd00d5d2237dc94f0f3129b03994800b0e136c12b05e02d2ca7d628043dabce323f34dd919b9ba731549656802527abdcfea120 diff --git a/dev-python/zipp/metadata.xml b/dev-python/zipp/metadata.xml new file mode 100644 index 00000000000..a0ceea39a38 --- /dev/null +++ b/dev-python/zipp/metadata.xml @@ -0,0 +1,17 @@ + + + + + sbraz@gentoo.org + Louis Sautier + + + python@gentoo.org + Python + + + zipp + jaraco/zipp + https://github.com/jaraco/zipp/issues + + diff --git a/dev-python/zipp/zipp-0.5.1.ebuild b/dev-python/zipp/zipp-0.5.1.ebuild new file mode 100644 index 00000000000..2d0e62d3d6e --- /dev/null +++ b/dev-python/zipp/zipp-0.5.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{5,6,7}} ) + +inherit distutils-r1 + +DESCRIPTION="Backport of pathlib-compatible object wrapper for zip files" +HOMEPAGE="https://github.com/jaraco/zipp" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + >=dev-python/setuptools_scm-1.15.0[${PYTHON_USEDEP}] + test? ( + dev-python/contextlib2[${PYTHON_USEDEP}] + dev-python/pathlib2[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/unittest2[${PYTHON_USEDEP}] + ) + doc? ( + >=dev-python/jaraco-packaging-3.2[${PYTHON_USEDEP}] + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" + +python_compile_all() { + if use doc; then + sphinx-build docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + pytest -vv || die "tests failed with ${EPYTHON}" +}