diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/urwid | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/urwid')
-rw-r--r-- | dev-python/urwid/Manifest | 2 | ||||
-rw-r--r-- | dev-python/urwid/files/urwid-1.1.0-sphinx.patch | 11 | ||||
-rw-r--r-- | dev-python/urwid/metadata.xml | 25 | ||||
-rw-r--r-- | dev-python/urwid/urwid-1.2.2.ebuild | 54 | ||||
-rw-r--r-- | dev-python/urwid/urwid-1.3.0.ebuild | 55 |
5 files changed, 147 insertions, 0 deletions
diff --git a/dev-python/urwid/Manifest b/dev-python/urwid/Manifest new file mode 100644 index 000000000000..925335d72db3 --- /dev/null +++ b/dev-python/urwid/Manifest @@ -0,0 +1,2 @@ +DIST urwid-1.2.2.tar.gz 585025 SHA256 e122e2dee122314f5626945af4dbe15bf3de9f318c552a4c0b68c1c480852d92 SHA512 10d0271e52b28aff3350d3342cd9b1c8fab819f3619cce77286b2545b74dd967f0466e98dfbfef1189b3ab6b38392168367d75c768b0f5b8058666b0211706a5 WHIRLPOOL 69556a721d89f6a6b82664bf5eaa10a21c49d15f9b8e6e6be4ba31ce5e2317fd0ecebfa3d93b008f9bd93f10504161d93e1827d696a6c1baa09939ac628f027d +DIST urwid-1.3.0.tar.gz 580922 SHA256 29f04fad3bf0a79c5491f7ebec2d50fa086e9d16359896c9204c6a92bc07aba2 SHA512 2743488f2815e6abff8bf2450b2a3d5756fa026587512cf29a3850be0e585d7c2dd4d50fda7bf1589de32eed93637ac0ee88f002de4b9bee0a72dc6574ef6103 WHIRLPOOL c276c26deb557b1c4b8f9f49f7f6c10e0e5a169bc3a1b9c3933a948c313897da4ebdb0520b7fc3d0a301cbc5743a1d79a20e112d852e74b50910db6ea1a4e99e diff --git a/dev-python/urwid/files/urwid-1.1.0-sphinx.patch b/dev-python/urwid/files/urwid-1.1.0-sphinx.patch new file mode 100644 index 000000000000..442aeea67500 --- /dev/null +++ b/dev-python/urwid/files/urwid-1.1.0-sphinx.patch @@ -0,0 +1,11 @@ +--- urwid-1.1.0/docs/conf.py ++++ urwid-1.1.0/docs/conf.py +@@ -46,7 +46,7 @@ + # The version info for the project you're documenting, acts as replacement for + # |version| and |release|, also used in various other places throughout the + # built documents. +-FILE_PATH = os.path.dirname(__file__).decode('utf-8') ++FILE_PATH = os.path.dirname(__file__) + VERSION_MODULE = os.path.abspath(os.path.join(FILE_PATH, + '../urwid/version.py')) + VERSION_VARS = {} diff --git a/dev-python/urwid/metadata.xml b/dev-python/urwid/metadata.xml new file mode 100644 index 000000000000..ca8f86fe7353 --- /dev/null +++ b/dev-python/urwid/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription> +Urwid is a curses-based user interface library. It includes many features +useful for text console application developers including: + +- Fluid interface resizing (xterm window resizing / fbset on Linux console) +- Web application display mode using Apache and CGI [Live Demo] +- Support for UTF-8, simple 8-bit and CJK encodings +- Multiple text alignment and wrapping modes built-in +- Ability create user-defined text layout classes +- Simple markup for setting text attributes +- Powerful list box that handles scrolling between different widget types +- List box contents may be managed with a user-defined class +- Flexible edit box for editing many different types of text +- Buttons, check boxes and radio boxes +- Customizable layout for all widgets +- Easy interface for creating HTML screen shots +</longdescription> + <upstream> + <remote-id type="pypi">urwid</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/urwid/urwid-1.2.2.ebuild b/dev-python/urwid/urwid-1.2.2.ebuild new file mode 100644 index 000000000000..259acf4d3eb6 --- /dev/null +++ b/dev-python/urwid/urwid-1.2.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python{2_7,3_3,3_4} ) +PYTHON_REQ_USE="ncurses" + +inherit distutils-r1 + +DESCRIPTION="Urwid is a 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 ~arm64 ~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 +} 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..3fe11d893070 --- /dev/null +++ b/dev-python/urwid/urwid-1.3.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) +" + +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 +} |