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 6480C138334 for ; Fri, 22 Nov 2019 07:30:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C3B6E083D; Fri, 22 Nov 2019 07:30:26 +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 41F38E083D for ; Fri, 22 Nov 2019 07:30:25 +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 97E8D34D1DF for ; Fri, 22 Nov 2019 07:30:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 954768B4 for ; Fri, 22 Nov 2019 07:30:15 +0000 (UTC) From: "Patrick McLean" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick McLean" Message-ID: <1574407807.53eb195d7fb342d9cd6e65c33d18953bd492e60d.chutzpah@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/click/click-7.0-r1.ebuild X-VCS-Directories: dev-python/click/ X-VCS-Committer: chutzpah X-VCS-Committer-Name: Patrick McLean X-VCS-Revision: 53eb195d7fb342d9cd6e65c33d18953bd492e60d X-VCS-Branch: master Date: Fri, 22 Nov 2019 07:30:15 +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: d73cd418-b7b0-4f69-9ca7-96247c282d5f X-Archives-Hash: e942cf7e03a977568bf72d738bb980c1 commit: 53eb195d7fb342d9cd6e65c33d18953bd492e60d Author: Patrick McLean sony com> AuthorDate: Fri Nov 22 07:29:34 2019 +0000 Commit: Patrick McLean gentoo org> CommitDate: Fri Nov 22 07:30:07 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53eb195d dev-python/click: Revbump to 7.0-r1, add py38 Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Patrick McLean gentoo.org> dev-python/click/click-7.0-r1.ebuild | 51 ++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/dev-python/click/click-7.0-r1.ebuild b/dev-python/click/click-7.0-r1.ebuild new file mode 100644 index 00000000000..07ee5ff2a7c --- /dev/null +++ b/dev-python/click/click-7.0-r1.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=( python{2_7,3_{5,6,7,8}} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="A Python package for creating beautiful command line interfaces" +SRC_URI="https://github.com/pallets/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="https://palletsprojects.com/p/click/ https://pypi.org/project/click/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="doc examples" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( $(python_gen_any_dep ' + >=dev-python/docutils-0.14[${PYTHON_USEDEP}] + dev-python/pallets-sphinx-themes[${PYTHON_USEDEP}] + >=dev-python/sphinx-1.7.5-r1[${PYTHON_USEDEP}] + ') + )" + +distutils_enable_tests pytest + +python_check_deps() { + use doc || return 0 + has_version ">=dev-python/docutils-0.14[${PYTHON_USEDEP}]" && \ + has_version "dev-python/pallets-sphinx-themes[${PYTHON_USEDEP}]" && \ + has_version ">=dev-python/sphinx-1.7.5-r1[${PYTHON_USEDEP}]" +} + +python_prepare_all() { + # Prevent un-needed d'loading + sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die + distutils-r1_python_prepare_all +} + +python_compile_all() { + use doc && emake -C docs html +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +}