/[gentoo-x86]/dev-python/ansi2html/ansi2html-0.9.1-r1.ebuild
Gentoo

Contents of /dev-python/ansi2html/ansi2html-0.9.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Oct 25 06:45:32 2014 UTC (5 months, 3 weeks ago) by idella4
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
bump; clean old impls, add py3.4, tidy deps, add man page to install, upgrade DOCS

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/ansi2html/ansi2html-0.9.1-r1.ebuild,v 1.2 2013/09/28 13:49:15 sping Exp $
4
5 EAPI="4"
6
7 # ordereddict is need for < 2.7, but it's not packaged (yet)
8 PYTHON_DEPEND="*:2.7"
9 SUPPORT_PYTHON_ABIS="1"
10 DISTUTILS_SRC_TEST="nosetests"
11 RESTRICT_PYTHON_ABIS="2.5 2.5-jython"
12
13 inherit distutils eutils
14
15 DESCRIPTION="Convert text with ANSI color codes to HTML"
16 HOMEPAGE="http://pypi.python.org/pypi/ansi2html https://github.com/ralphbean/ansi2html"
17 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
18
19 LICENSE="GPL-3+"
20 SLOT="0"
21 KEYWORDS="~amd64 ~x86"
22 IUSE="test"
23
24 RDEPEND="dev-python/six"
25 DEPEND="${RDEPEND}
26 test? (
27 dev-python/nose
28 dev-python/mock
29 )
30 dev-python/setuptools"
31
32 src_prepare() {
33 epatch "${FILESDIR}/${PN}-0.9.1-fix-0-control-code.patch"
34 if use test; then
35 epatch "${FILESDIR}/${PN}-0.9.1-fix-sys-argv-in-tests.patch"
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20