/[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.2 - (show annotations) (download)
Sat Sep 28 13:49:15 2013 UTC (11 months ago) by sping
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
dev-python/ansi2html: 0.10.0, fix license

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

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.1 2012/08/14 21:14:18 iksaif 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