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 2E17A138334 for ; Mon, 2 Sep 2019 14:47:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7F2D8E0884; Mon, 2 Sep 2019 14:47:26 +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 5742DE0884 for ; Mon, 2 Sep 2019 14:47:26 +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 4B39E34AA72 for ; Mon, 2 Sep 2019 14:47:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C46FA766 for ; Mon, 2 Sep 2019 14:47:23 +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: <1567435627.eb2e191b0aa6cc7d17fe2ed400b9882874f6a9a6.sbraz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/importlib_metadata/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/importlib_metadata/Manifest dev-python/importlib_metadata/importlib_metadata-0.20.ebuild X-VCS-Directories: dev-python/importlib_metadata/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: eb2e191b0aa6cc7d17fe2ed400b9882874f6a9a6 X-VCS-Branch: master Date: Mon, 2 Sep 2019 14:47:23 +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: 1c52e257-4352-4a09-a30e-ba926cf2d823 X-Archives-Hash: 0b9232d856ba10d2af146bde3bb55526 commit: eb2e191b0aa6cc7d17fe2ed400b9882874f6a9a6 Author: Louis Sautier gentoo org> AuthorDate: Mon Sep 2 14:42:29 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Mon Sep 2 14:47:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2e191b dev-python/importlib_metadata: bump to 0.20 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Louis Sautier gentoo.org> dev-python/importlib_metadata/Manifest | 1 + .../importlib_metadata-0.20.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index b505a67b124..c7ca1394501 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,2 +1,3 @@ DIST importlib_metadata-0.18.tar.gz 23341 BLAKE2B e1c43a760b141b0589973672ad1cd6c47e077293353f67ebe2c2b3631265712dcecc8e14a57803539d2276d5d908fae3c4ac07165ddd5937cf53955ff896001e SHA512 2f39789725548bcb37061b0b99f90802a2919339db6b29f95b38811b35f4cafc7acfb4cca1167e28a4738ba195af31344f59ab457d87710764d1ba8f06034b18 DIST importlib_metadata-0.19.tar.gz 23338 BLAKE2B 10c43bee5324804b359f951e5d375559e3a58663b11f0bda1b39ce82dcdd0ba735083793a954e2ac18b5fd607d9ea5628a86f9c345c83d718a7e46738774e0ee SHA512 2d0126e7430804b2295ec159778082806957cb86b5c7408c38064cc7c7e62229d382778284a5a231925ab336a7cc6da8e705f6bd7ae6da66f11acd1229bda17b +DIST importlib_metadata-0.20.tar.gz 23712 BLAKE2B 0af0b4fad171f24aad0b387af98b9f5c0bfec14e7f358e45afb70650dd1daf3b8abde8012ebe2e4f5751792d542d2567dda856696de8cdf96f27b50560c55645 SHA512 663d6af2f2d83c4744809b4b58ebe4152962ee40ecf17070a532614c7238a88374aa70fcefb6b7ce26d2d351b00c0859ce590f734bdd2ef76ad58b041307a95b diff --git a/dev-python/importlib_metadata/importlib_metadata-0.20.ebuild b/dev-python/importlib_metadata/importlib_metadata-0.20.ebuild new file mode 100644 index 00000000000..8c74d530322 --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-0.20.ebuild @@ -0,0 +1,51 @@ +# 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="Read metadata from Python packages" +HOMEPAGE="https://importlib-metadata.readthedocs.io/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="doc test" + +RDEPEND=" + dev-python/zipp[${PYTHON_USEDEP}] + $(python_gen_cond_dep '>=dev-python/configparser-3.5[${PYTHON_USEDEP}]' -2) + $(python_gen_cond_dep 'dev-python/contextlib2[${PYTHON_USEDEP}]' -2) + $(python_gen_cond_dep 'dev-python/pathlib2[${PYTHON_USEDEP}]' -2) +" +BDEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' pypy pypy3 python2_7 python3_5 python3_6) + ) + doc? ( + >=dev-python/rst-linker-1.9[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + ) +" +python_prepare_all() { + sed -i "/'sphinx.ext.intersphinx'/d" ${PN}/docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + if use doc; then + sphinx-build ${PN}/docs docs/_build/html || die + HTML_DOCS=( docs/_build/html/. ) + fi +} + +python_test() { + "${EPYTHON}" -m unittest discover -v || die "tests failed with ${EPYTHON}" +}