diff options
author | Tim Harder <radhermit@gentoo.org> | 2018-02-25 19:37:20 -0500 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2018-02-25 19:38:52 -0500 |
commit | 8c500e1726d817883435b72c6bc7dffcc9b512e5 (patch) | |
tree | dd00323166f35e8e03fd60d2e59e05df7a01c276 /dev-python/urwid | |
parent | app-office/kraft: Drop old (diff) | |
download | gentoo-8c500e1726d817883435b72c6bc7dffcc9b512e5.tar.gz gentoo-8c500e1726d817883435b72c6bc7dffcc9b512e5.tar.bz2 gentoo-8c500e1726d817883435b72c6bc7dffcc9b512e5.zip |
dev-python/urwid: version bump to 2.0.1
Diffstat (limited to 'dev-python/urwid')
-rw-r--r-- | dev-python/urwid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/urwid/urwid-2.0.1.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest index 78d00afef41a..12e571c25727 100644 --- a/dev-python/urwid/Manifest +++ b/dev-python/urwid/Manifest @@ -1 +1,2 @@ DIST urwid-1.3.1.tar.gz 588549 BLAKE2B b2e135fa1ba60ef75f6d748c7a51e5eecef2c7fd51e19782c4901ab2715c6afc01ac709cd79c74e3da9b8671dfd021c968aaf7c3fa393e607e0ed9ac54bcbbb4 SHA512 8b505d38f3a0c04bbf527b324dc36212f2580213dd55eca61c66705d3beaac4f074c39aaa0f4f71add1fe5f3fce4c4c6dc88dd1e981b04bac6d52195d7a3f0ed +DIST urwid-2.0.1.tar.gz 604167 BLAKE2B 0c7c289175d023bb14fca2c48eeec9e149af301827874c17d3087532f19d120ca2208306db44c5fbfd28b68f4b192f176cd46b83e915a5cbb8200e442e69fedb SHA512 99c86a26b08c624c23207ce8e587e8442bece1f522e0c788600ad5f01a4c679efff95dd947edade8b6f4adc376edca949a40c305f9d5ddaf6a0ff97f13c6da30 diff --git a/dev-python/urwid/urwid-2.0.1.ebuild b/dev-python/urwid/urwid-2.0.1.ebuild new file mode 100644 index 000000000000..1166fc2568b3 --- /dev/null +++ b/dev-python/urwid/urwid-2.0.1.ebuild @@ -0,0 +1,49 @@ +# 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} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Curses-based user interface library for Python" +HOMEPAGE="http://urwid.org/ https://pypi.python.org/pypi/urwid/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="doc examples" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +python_compile_all() { + if use doc; then + sphinx-build docs _build/html || die + fi +} + +python_compile() { + if ! python_is_python3; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + + distutils-r1_python_compile +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && dodoc -r examples + use doc && local HTML_DOCS=( _build/html/. ) + + distutils-r1_python_install_all +} |