source: dev-python/genshi/genshi-0.6_pre1.ebuild @ 89fe77d

Revision 89fe77d, 1.1 KB checked in by geos_one <geos_one@…>, 11 years ago (diff)

add genschi 0.6

git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1766 6952d904-891a-0410-993b-d76249ca496b

  • Property mode set to 100644
Line 
1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-python/genshi/genshi-0.5.1.ebuild,v 1.9 2009/10/25 15:59:31 arfrever Exp $
4
5EAPI="2"
6SUPPORT_PYTHON_ABIS="1"
7
8inherit distutils subversion
9ESVN_REPO_URI="http://svn.edgewall.org/repos/genshi/trunk"
10
11MY_P="Genshi-${PV}"
12
13DESCRIPTION="Python toolkit for stream-based generation of output for the web."
14HOMEPAGE="http://genshi.edgewall.org/"
15#SRC_URI="ftp://ftp.edgewall.com/pub/genshi/${MY_P}.tar.bz2"
16
17LICENSE="BSD"
18SLOT="0"
19KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos"
20IUSE="doc examples"
21
22DEPEND="dev-python/setuptools"
23RDEPEND="${DEPEND}"
24RESTRICT_PYTHON_ABIS="3.*"
25
26S="${WORKDIR}/${MY_P}"
27
28src_unpack() {
29        subversion_src_unpack
30}
31
32src_test() {
33        testing() {
34                "$(PYTHON)" setup.py test
35        }
36        python_execute_function testing
37}
38
39src_install() {
40        distutils_src_install
41
42        if use doc; then
43                dodoc doc/*.txt
44                dohtml -r doc/*
45        fi
46
47        if use examples; then
48                insinto /usr/share/doc/${PF}
49                doins -r examples
50        fi
51}
Note: See TracBrowser for help on using the repository browser.