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 D90D7138334 for ; Tue, 10 Sep 2019 16:01:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF114E0992; Tue, 10 Sep 2019 16:01:06 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 873B4E0992 for ; Tue, 10 Sep 2019 16:01:06 +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 DDD5934AECF for ; Tue, 10 Sep 2019 16:01:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2174A776 for ; Tue, 10 Sep 2019 16:01:03 +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: <1568131224.8b8d18dd4617dad36b451b665266a9017c5913e3.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.21.ebuild X-VCS-Directories: dev-python/importlib_metadata/ X-VCS-Committer: sbraz X-VCS-Committer-Name: Louis Sautier X-VCS-Revision: 8b8d18dd4617dad36b451b665266a9017c5913e3 X-VCS-Branch: master Date: Tue, 10 Sep 2019 16:01:03 +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: 522a3900-4217-49a2-9e51-df286d515025 X-Archives-Hash: 1b7c2cc853f15d2f429c5144e65d6013 commit: 8b8d18dd4617dad36b451b665266a9017c5913e3 Author: Louis Sautier gentoo org> AuthorDate: Tue Sep 10 15:58:33 2019 +0000 Commit: Louis Sautier gentoo org> CommitDate: Tue Sep 10 16:00:24 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b8d18dd dev-python/importlib_metadata: 0.21 bump, tests requires packaging 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.21.ebuild | 52 ++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/importlib_metadata/Manifest b/dev-python/importlib_metadata/Manifest index d9b451444e1..613ef448b92 100644 --- a/dev-python/importlib_metadata/Manifest +++ b/dev-python/importlib_metadata/Manifest @@ -1,2 +1,3 @@ DIST importlib_metadata-0.19.tar.gz 23338 BLAKE2B 10c43bee5324804b359f951e5d375559e3a58663b11f0bda1b39ce82dcdd0ba735083793a954e2ac18b5fd607d9ea5628a86f9c345c83d718a7e46738774e0ee SHA512 2d0126e7430804b2295ec159778082806957cb86b5c7408c38064cc7c7e62229d382778284a5a231925ab336a7cc6da8e705f6bd7ae6da66f11acd1229bda17b DIST importlib_metadata-0.20.tar.gz 23712 BLAKE2B 0af0b4fad171f24aad0b387af98b9f5c0bfec14e7f358e45afb70650dd1daf3b8abde8012ebe2e4f5751792d542d2567dda856696de8cdf96f27b50560c55645 SHA512 663d6af2f2d83c4744809b4b58ebe4152962ee40ecf17070a532614c7238a88374aa70fcefb6b7ce26d2d351b00c0859ce590f734bdd2ef76ad58b041307a95b +DIST importlib_metadata-0.21.tar.gz 24693 BLAKE2B bf57095bbb5eea1d09c5af90ce33946431bdad08bdfc32a8eabb29fc21ddc0f8b450631bba3eb7f2fe3635dfa0130d4bb7449cc2975b7e4740b945972560d5fc SHA512 f20e05c7806a08417020573b0e1d6c57009325c7e21dba46d18c93e24d8c696d66d4628b83093815f443d7f0797ca5a946f1e5476037007c04378c24cca0a2be diff --git a/dev-python/importlib_metadata/importlib_metadata-0.21.ebuild b/dev-python/importlib_metadata/importlib_metadata-0.21.ebuild new file mode 100644 index 00000000000..665f1f6de4f --- /dev/null +++ b/dev-python/importlib_metadata/importlib_metadata-0.21.ebuild @@ -0,0 +1,52 @@ +# 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) + dev-python/packaging[${PYTHON_USEDEP}] + ) + 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}" +}