summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2017-06-23 17:18:55 +0200
committerPatrice Clement <monsieurp@gentoo.org>2017-06-23 17:18:55 +0200
commit946860c7c6beca3b3e703cc953ac616116327d81 (patch)
tree6df86dd45874b873774f5b006c75100a68bdf43f /dev-python/pythondialog
parentmedia-radio/fldigi: Version bump (diff)
downloadgentoo-946860c7c6beca3b3e703cc953ac616116327d81.tar.gz
gentoo-946860c7c6beca3b3e703cc953ac616116327d81.tar.bz2
gentoo-946860c7c6beca3b3e703cc953ac616116327d81.zip
dev-python/pythondialog: version bump.
Package-Manager: Portage-2.3.5, Repoman-2.3.1
Diffstat (limited to 'dev-python/pythondialog')
-rw-r--r--dev-python/pythondialog/Manifest1
-rw-r--r--dev-python/pythondialog/pythondialog-3.4.0.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/pythondialog/Manifest b/dev-python/pythondialog/Manifest
index 0fc60b727ed8..543cc7d53e2a 100644
--- a/dev-python/pythondialog/Manifest
+++ b/dev-python/pythondialog/Manifest
@@ -1,3 +1,4 @@
DIST python2-pythondialog-3.3.0.tar.gz 1906527 SHA256 3e6f593fead98f8a526bc3e306933533236e33729f552f52896ea504f55313fa SHA512 65ce7f9305e20b0c5e0d4588a241e0f14907ecad64f8a6bb3899a2d6e0245fdd848a8c4fb1da3465f03810a1e408fa97c46d9ec082c4ebba0c04a41293a23ea8 WHIRLPOOL 5fc43839b302956a42110e0d2e64bfb9f9b5ccada90cb69579afbb1211b7f117233a25f5bbb970c8b5033413c5c274e27c689e72c83a5887307fa11abc4dc6b8
+DIST python2-pythondialog-3.4.0.tar.gz 1487867 SHA256 a96d9cea9a371b5002b5575d1ec351233112519268d382ba6f3582323b3d1335 SHA512 f4ec3e3eeab9ee00146b4604a8f72c765fcc164a24def0f1a9cbf083123e55dbe371ce6d4790ad4c0b5ee6905a1877f9b8e90ca3443a780fa0965c9bcf4bf629 WHIRLPOOL 325641f3a89e976ef61a0cbdc9a178fc7376d64eb6c8933d87e8bb0b15ad810880edd6bfa9d2b5957a818044f1652800d34a498a7be66a4fa39ea665f59a13b2
DIST python3-pythondialog-3.2.2.tar.bz2 1412368 SHA256 bb104bd0512f9eda046b0cda53b5607d68de72b585cd8d5a1eebd549d8f2af99 SHA512 58b84c0dd7b71ec9d1e60c4802cfc8e6cc72f79b8b6accd387553c685a92367d242746065bac6cb1c9d501ac291d9307cb2bb6b26694e9f24a3c5d6637a5bb8e WHIRLPOOL 8e899f910eaaa5112403aed8adcd2e8fc9db371a5023bafdb5d2645b2ade716710b1c826d9208055fc510e8777751f8a43ef501db11c04827b93cb3040f4d793
DIST python3-pythondialog-3.3.0.tar.bz2 1827891 SHA256 e4ace5b09d712992b7327249e375e49608127666679b2ca9fd48141e218ec998 SHA512 b651593f077f6679be030182ac5f14a02d8bad86206c2733ba8b655d346809a32ea391de91e35101d400c55d9e8ecefaf6f1ba25fec036246186e13530f43a1f WHIRLPOOL 267a2ee4215fd53d7faaf88a02ee544e88eafdd5b1f4c45c4ba535fe46dbed41a1ebae72b0dae00fedb30cfb1fcd245e0439077f538d128137e8c8caca6bba70
diff --git a/dev-python/pythondialog/pythondialog-3.4.0.ebuild b/dev-python/pythondialog/pythondialog-3.4.0.ebuild
new file mode 100644
index 000000000000..8863d9d8b648
--- /dev/null
+++ b/dev-python/pythondialog/pythondialog-3.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_7,3_5} pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="A Python module for making simple text/console-mode user interfaces"
+HOMEPAGE="http://pythondialog.sourceforge.net/ https://pypi.python.org/pypi/python2-pythondialog"
+SRC_URI="mirror://pypi/${PN:0:1}/python2-${PN}/python2-${P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="python-2"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
+IUSE="doc examples"
+
+RDEPEND="dev-util/dialog"
+DEPEND="doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/python2-${P}"
+
+python_prepare() {
+ if python_is_python3; then
+ 2to3 -w --no-diffs setup.py || die "could not convert to Python 3"
+ fi
+}
+
+python_prepare_all() {
+ sed -e "/^ 'sphinx.ext.intersphinx',/d" -i doc/conf.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile_all() {
+ use doc && emake -C doc html
+}
+
+python_install_all() {
+ use examples && local EXAMPLES=( examples/. )
+ use doc && local HTML_DOCS=( doc/_build/html/. )
+
+ distutils-r1_python_install_all
+}