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 8A043138334 for ; Mon, 13 Aug 2018 12:45:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E25FE07DF; Mon, 13 Aug 2018 12:45:48 +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 3C39DE07DF for ; Mon, 13 Aug 2018 12:45:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 AC27F335C96 for ; Mon, 13 Aug 2018 12:45:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C194B396 for ; Mon, 13 Aug 2018 12:45:44 +0000 (UTC) From: "Virgil Dupras" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Virgil Dupras" Message-ID: <1534164337.b897c9f5896f911a3f887bf01de7d155ec738e9a.vdupras@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/click/Manifest dev-python/click/click-5.1.ebuild X-VCS-Directories: dev-python/click/ X-VCS-Committer: vdupras X-VCS-Committer-Name: Virgil Dupras X-VCS-Revision: b897c9f5896f911a3f887bf01de7d155ec738e9a X-VCS-Branch: master Date: Mon, 13 Aug 2018 12:45:44 +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: 47c6a9d2-58ae-4867-bdd3-e9fa54fdd83e X-Archives-Hash: 9ded19606a0c305d172d4c526cbc7aa1 commit: b897c9f5896f911a3f887bf01de7d155ec738e9a Author: Virgil Dupras gentoo org> AuthorDate: Mon Aug 13 12:45:37 2018 +0000 Commit: Virgil Dupras gentoo org> CommitDate: Mon Aug 13 12:45:37 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b897c9f5 dev-python/click: revert "remove old" dev-embedded/platformio depends on this unstable version... Package-Manager: Portage-2.3.46, Repoman-2.3.10 dev-python/click/Manifest | 1 + dev-python/click/click-5.1.ebuild | 48 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest index 9cacca9fc79..bf5b5c0c706 100644 --- a/dev-python/click/Manifest +++ b/dev-python/click/Manifest @@ -1,2 +1,3 @@ +DIST click-5.1.tar.gz 275592 BLAKE2B 0a58e210003f88081fd2ba8e9f401c74d8d61758ae096fde9fa4aebe8a819623aeb90106bf141d5193d632d70488629cf63833297dc1e4b200824cee205c3c4b SHA512 b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a DIST click-6.6.tar.gz 283420 BLAKE2B 1fdc90ca65d18153d6260b6753e14a1d94cae77ab7f52dcda4fb439f9fdfeea8fdc33b1ce60e93711ba40ecdc508dc3fc5f8aadc371bd85b7dca1bfa070786c2 SHA512 5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc DIST click-6.7.tar.gz 279019 BLAKE2B cc1e59d0a34ccb4ce50c8a2982b308d23cd525ceb44d84a493c0fe9b5a6f7f616e8a4c440ae211fca811a2bf904ddb75d93618f3c6ac7bbe6b1ed022710dab1f SHA512 d454369fe1acb01c2210a61e15f45ac9cc77102c93345257f4ef3090bd8f31f1ccc49d9fd6ea670cddca9f715ad5db29368b4eecd95abff50d1033c4f7a967d6 diff --git a/dev-python/click/click-5.1.ebuild b/dev-python/click/click-5.1.ebuild new file mode 100644 index 00000000000..f6772af7b4c --- /dev/null +++ b/dev-python/click/click-5.1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="A Python package for creating beautiful command line interfaces" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" +HOMEPAGE="http://click.pocoo.org/ https://pypi.org/project/click/" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc examples test" + +REQUIRED_USE="doc? ( || ( $(python_gen_useflags 'python2*') ) )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/pytest[${PYTHON_USEDEP}] ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +pkg_setup() { + use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( 'python2*' ) +} + +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_test() { + emake test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + use examples && dodoc -r examples + distutils-r1_python_install_all +}