Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/click/
Date: Thu, 18 Oct 2018 20:02:49
Message-Id: 1539892935.400e3456464634bdde545bfee4e5e5943363ec6f.mgorny@gentoo
1 commit: 400e3456464634bdde545bfee4e5e5943363ec6f
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Wed Oct 10 10:39:46 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 18 20:02:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=400e3456
7
8 dev-python/click: bump to 7.0
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Package-Manager: Portage-2.3.50, Repoman-2.3.11
12 Closes: https://github.com/gentoo/gentoo/pull/10123
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/click/Manifest | 1 +
16 dev-python/click/click-7.0.ebuild | 43 +++++++++++++++++++++++++++++++++++++++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/dev-python/click/Manifest b/dev-python/click/Manifest
20 index bf5b5c0c706..196e55385da 100644
21 --- a/dev-python/click/Manifest
22 +++ b/dev-python/click/Manifest
23 @@ -1,3 +1,4 @@
24 DIST click-5.1.tar.gz 275592 BLAKE2B 0a58e210003f88081fd2ba8e9f401c74d8d61758ae096fde9fa4aebe8a819623aeb90106bf141d5193d632d70488629cf63833297dc1e4b200824cee205c3c4b SHA512 b860b0227644f5d1cc24d41e66985421ec971f11f3f596fb46508fdc787200b949e7ef29b2035421ebb0115384688da03c3c95a0d6acc58dd3b566b32a2b7c6a
25 DIST click-6.6.tar.gz 283420 BLAKE2B 1fdc90ca65d18153d6260b6753e14a1d94cae77ab7f52dcda4fb439f9fdfeea8fdc33b1ce60e93711ba40ecdc508dc3fc5f8aadc371bd85b7dca1bfa070786c2 SHA512 5650cfe6c8b55a7e823e22248964143278d61383dac63497508a864807f1950f9dd5d76ce6a501e589dd81fed6e2a1248d3f8973be25a91950896b7408dc88bc
26 DIST click-6.7.tar.gz 279019 BLAKE2B cc1e59d0a34ccb4ce50c8a2982b308d23cd525ceb44d84a493c0fe9b5a6f7f616e8a4c440ae211fca811a2bf904ddb75d93618f3c6ac7bbe6b1ed022710dab1f SHA512 d454369fe1acb01c2210a61e15f45ac9cc77102c93345257f4ef3090bd8f31f1ccc49d9fd6ea670cddca9f715ad5db29368b4eecd95abff50d1033c4f7a967d6
27 +DIST click-7.0.tar.gz 289077 BLAKE2B 0e180eeb1d7d9da34c33f95398c2b53dce124317bd2777ad545c1d4b4f3a96da0e281fac46c8fe6446848f25f7b705d2348d3ab6f5786219b4214650424ab260 SHA512 7ed2bf677f4a56f120deb61318675679a8f09c152af618e8808d24a20cc8537b0691c18b0de2e25b814c59e34b47d6f4d71191856422fc3be206de7669d78f3a
28
29 diff --git a/dev-python/click/click-7.0.ebuild b/dev-python/click/click-7.0.ebuild
30 new file mode 100644
31 index 00000000000..e6e39841fdc
32 --- /dev/null
33 +++ b/dev-python/click/click-7.0.ebuild
34 @@ -0,0 +1,43 @@
35 +# Copyright 1999-2018 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +
40 +PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy pypy3 )
41 +
42 +inherit distutils-r1
43 +
44 +DESCRIPTION="A Python package for creating beautiful command line interfaces"
45 +SRC_URI="https://github.com/pallets/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 +HOMEPAGE="http://click.pocoo.org/ https://pypi.org/project/click/"
47 +
48 +LICENSE="BSD"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +IUSE="doc examples test"
52 +
53 +DEPEND="
54 + dev-python/setuptools[${PYTHON_USEDEP}]
55 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
56 + doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
57 + dev-python/pallets-sphinx-themes[${PYTHON_USEDEP}] )"
58 +
59 +python_prepare_all() {
60 + # Prevent un-needed d'loading
61 + sed -e "s/, 'sphinx.ext.intersphinx'//" -i docs/conf.py || die
62 + distutils-r1_python_prepare_all
63 +}
64 +
65 +python_compile_all() {
66 + use doc && emake -C docs html
67 +}
68 +
69 +python_test() {
70 + pytest -vv || die
71 +}
72 +
73 +python_install_all() {
74 + use doc && local HTML_DOCS=( docs/_build/html/. )
75 + use examples && dodoc -r examples
76 + distutils-r1_python_install_all
77 +}