diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-02-17 12:26:54 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-02-17 12:26:54 +0000 |
commit | 4d0b4e0d78c0b7b1b39e1c3ac7ad42c9c003a5e8 (patch) | |
tree | 080af9dc4955dd31701b270097579520be8606b9 /dev-python/urwid | |
parent | Remove X USE flag wrt bug #540120. (diff) | |
download | gentoo-2-4d0b4e0d78c0b7b1b39e1c3ac7ad42c9c003a5e8.tar.gz gentoo-2-4d0b4e0d78c0b7b1b39e1c3ac7ad42c9c003a5e8.tar.bz2 gentoo-2-4d0b4e0d78c0b7b1b39e1c3ac7ad42c9c003a5e8.zip |
Version Bump
(Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python/urwid')
-rw-r--r-- | dev-python/urwid/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/urwid/metadata.xml | 4 | ||||
-rw-r--r-- | dev-python/urwid/urwid-1.3.0.ebuild | 57 |
3 files changed, 66 insertions, 3 deletions
diff --git a/dev-python/urwid/ChangeLog b/dev-python/urwid/ChangeLog index 4d24d5a0f756..2eccd1d2a401 100644 --- a/dev-python/urwid/ChangeLog +++ b/dev-python/urwid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/urwid # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.78 2015/01/21 05:29:44 idella4 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/ChangeLog,v 1.79 2015/02/17 12:26:54 jlec Exp $ + +*urwid-1.3.0 (17 Feb 2015) + + 17 Feb 2015; Justin Lecher <jlec@gentoo.org> +urwid-1.3.0.ebuild, + metadata.xml: + Version Bump 21 Jan 2015; Ian Delaney <idella4@gentoo.org> -urwid-0.9.9.1.ebuild, -urwid-1.0.2.ebuild, -urwid-1.1.0.ebuild, -urwid-1.1.1-r1.ebuild, diff --git a/dev-python/urwid/metadata.xml b/dev-python/urwid/metadata.xml index 626b5dfdaec6..8be28879b934 100644 --- a/dev-python/urwid/metadata.xml +++ b/dev-python/urwid/metadata.xml @@ -1,8 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>python</herd> -<longdescription> + <herd>python</herd> + <longdescription> Urwid is a curses-based user interface library. It includes many features useful for text console application developers including: diff --git a/dev-python/urwid/urwid-1.3.0.ebuild b/dev-python/urwid/urwid-1.3.0.ebuild new file mode 100644 index 000000000000..0dce3c911ec8 --- /dev/null +++ b/dev-python/urwid/urwid-1.3.0.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/urwid/urwid-1.3.0.ebuild,v 1.1 2015/02/17 12:26:54 jlec Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Curses-based user interface library for Python" +HOMEPAGE="http://urwid.org/ http://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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="doc examples test" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( dev-python/twisted-core )" + +PATCHES=( "${FILESDIR}"/${PN}-1.1.0-sphinx.patch ) + +python_compile_all() { + if use doc ; then + if [[ ${EPYTHON} == python3* ]] ; then + 2to3 -nw --no-diffs docs/conf.py || die + fi + cd docs + sphinx-build . _build/html || die + fi +} + +python_compile() { + if [[ ${EPYTHON} == python2* ]] ; then + local CFLAGS="${CFLAGS} -fno-strict-aliasing" + export CFLAGS + fi + + distutils-r1_python_compile +} + +python_test() { + esetup.py test +} + +python_install_all() { + use examples && local EXAMPLES=( examples/. ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + + distutils-r1_python_install_all +} |