Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pythondialog/
Date: Fri, 23 Jun 2017 15:23:09
Message-Id: 1498231135.946860c7c6beca3b3e703cc953ac616116327d81.monsieurp@gentoo
1 commit: 946860c7c6beca3b3e703cc953ac616116327d81
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 23 15:18:55 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 23 15:18:55 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946860c7
7
8 dev-python/pythondialog: version bump.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.1
11
12 dev-python/pythondialog/Manifest | 1 +
13 dev-python/pythondialog/pythondialog-3.4.0.ebuild | 45 +++++++++++++++++++++++
14 2 files changed, 46 insertions(+)
15
16 diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
17 index 0fc60b727ed..543cc7d53e2 100644
18 --- a/dev-python/pythondialog/Manifest
19 +++ b/dev-python/pythondialog/Manifest
20 @@ -1,3 +1,4 @@
21 DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8
22 +DIST python2-pythondialog-3.4.0.tar.gz 1487867 SHA256 a96d9cea9a371b5002b5575d1ec351233112519268d382ba6f3582323b3d1335 SHA512 f4ec3e3eeab9ee00146b4604a8f72c765fcc164a24def0f1a9cbf083123e55dbe371ce6d4790ad4c0b5ee6905a1877f9b8e90ca3443a780fa0965c9bcf4bf629 WHIRLPOOL 325641f3a89e976ef61a0cbdc9a178fc7376d64eb6c8933d87e8bb0b15ad810880edd6bfa9d2b5957a818044f1652800d34a498a7be66a4fa39ea665f59a13b2
23 DIST python3-pythondialog-3.2.2.tar.bz2 1412368 SHA256 bb104bd0512f9eda046b0cda53b5607d68de72b585cd8d5a1eebd549d8f2af99 SHA512 58b84c0dd7b71ec9d1e60c4802cfc8e6cc72f79b8b6accd387553c685a92367d242746065bac6cb1c9d501ac291d9307cb2bb6b26694e9f24a3c5d6637a5bb8e WHIRLPOOL 8e899f910eaaa5112403aed8adcd2e8fc9db371a5023bafdb5d2645b2ade716710b1c826d9208055fc510e8777751f8a43ef501db11c04827b93cb3040f4d793
24 DIST python3-pythondialog-3.3.0.tar.bz2 1827891 SHA256 e4ace5b09d712992b7327249e375e49608127666679b2ca9fd48141e218ec998 SHA512 b651593f077f6679be030182ac5f14a02d8bad86206c2733ba8b655d346809a32ea391de91e35101d400c55d9e8ecefaf6f1ba25fec036246186e13530f43a1f WHIRLPOOL 267a2ee4215fd53d7faaf88a02ee544e88eafdd5b1f4c45c4ba535fe46dbed41a1ebae72b0dae00fedb30cfb1fcd245e0439077f538d128137e8c8caca6bba70
25
26 diff --git a/dev-python/pythondialog/pythondialog-3.4.0.ebuild b/dev-python/pythondialog/pythondialog-3.4.0.ebuild
27 new file mode 100644
28 index 00000000000..8863d9d8b64
29 --- /dev/null
30 +++ b/dev-python/pythondialog/pythondialog-3.4.0.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +PYTHON_COMPAT=( python{2_7,3_5} pypy )
39 +
40 +inherit distutils-r1
41 +
42 +DESCRIPTION="A Python module for making simple text/console-mode user interfaces"
43 +HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog"
44 +SRC_URI="mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz"
45 +
46 +LICENSE="LGPL-2"
47 +SLOT="python-2"
48 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
49 +IUSE="doc examples"
50 +
51 +RDEPEND="dev-util/dialog"
52 +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
53 +
54 +S="${WORKDIR}/python2-${P}"
55 +
56 +python_prepare() {
57 + if python_is_python3; then
58 + 2to3 -w --no-diffs setup.py || die "could not convert to Python 3"
59 + fi
60 +}
61 +
62 +python_prepare_all() {
63 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
64 + distutils-r1_python_prepare_all
65 +}
66 +
67 +python_compile_all() {
68 + use doc && emake -C doc html
69 +}
70 +
71 +python_install_all() {
72 + use examples && local EXAMPLES=( examples/. )
73 + use doc && local HTML_DOCS=( doc/_build/html/. )
74 +
75 + distutils-r1_python_install_all
76 +}