Gentoo Archives: gentoo-commits

From: "Manuel Rüger" <mrueg@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pythondialog/
Date: Wed, 25 Nov 2015 21:38:49
Message-Id: 1448487494.4f9a8705b102672db068b5439761961e140a62f3.mrueg@gentoo
1 commit: 4f9a8705b102672db068b5439761961e140a62f3
2 Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 25 21:38:14 2015 +0000
4 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 25 21:38:14 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f9a8705
7
8 dev-python/pythondialog: Add version that supports python2
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/pythondialog/Manifest | 1 +
13 .../pythondialog/pythondialog-3.3.0-r200.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
17 index a7df16b..0fc60b7 100644
18 --- a/dev-python/pythondialog/Manifest
19 +++ b/dev-python/pythondialog/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8
22 DIST python3-pythondialog-3.2.2.tar.bz2 1412368 SHA256 bb104bd0512f9eda046b0cda53b5607d68de72b585cd8d5a1eebd549d8f2af99 SHA512 58b84c0dd7b71ec9d1e60c4802cfc8e6cc72f79b8b6accd387553c685a92367d242746065bac6cb1c9d501ac291d9307cb2bb6b26694e9f24a3c5d6637a5bb8e WHIRLPOOL 8e899f910eaaa5112403aed8adcd2e8fc9db371a5023bafdb5d2645b2ade716710b1c826d9208055fc510e8777751f8a43ef501db11c04827b93cb3040f4d793
23 DIST python3-pythondialog-3.3.0.tar.bz2 1827891 SHA256 e4ace5b09d712992b7327249e375e49608127666679b2ca9fd48141e218ec998 SHA512 b651593f077f6679be030182ac5f14a02d8bad86206c2733ba8b655d346809a32ea391de91e35101d400c55d9e8ecefaf6f1ba25fec036246186e13530f43a1f WHIRLPOOL 267a2ee4215fd53d7faaf88a02ee544e88eafdd5b1f4c45c4ba535fe46dbed41a1ebae72b0dae00fedb30cfb1fcd245e0439077f538d128137e8c8caca6bba70
24
25 diff --git a/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild
26 new file mode 100644
27 index 0000000..e1f504e
28 --- /dev/null
29 +++ b/dev-python/pythondialog/pythondialog-3.3.0-r200.ebuild
30 @@ -0,0 +1,38 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +PYTHON_COMPAT=( python2_7 pypy )
37 +
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="A Python module for making simple text/console-mode user interfaces"
41 +HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog"
42 +SRC_URI="mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz"
43 +
44 +LICENSE="LGPL-2"
45 +SLOT="python-2"
46 +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86"
47 +IUSE="doc examples"
48 +
49 +RDEPEND="dev-util/dialog"
50 +DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
51 +
52 +S=${WORKDIR}/python2-${P}
53 +
54 +python_prepare_all() {
55 + sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
56 + distutils-r1_python_prepare_all
57 +}
58 +
59 +python_compile_all() {
60 + use doc && emake -C doc html
61 +}
62 +
63 +python_install_all() {
64 + use examples && local EXAMPLES=( examples/. )
65 + use doc && local HTML_DOCS=( doc/_build/html/. )
66 +
67 + distutils-r1_python_install_all
68 +}