Warning:
Error with navigation contributor "BrowserModule"
| Line | |
|---|
| 1 | # Copyright 1999-2010 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.10 2010/02/08 08:49:44 pva Exp $ |
|---|
| 4 | |
|---|
| 5 | EAPI="2" |
|---|
| 6 | SUPPORT_PYTHON_ABIS="1" |
|---|
| 7 | |
|---|
| 8 | inherit eutils distutils |
|---|
| 9 | |
|---|
| 10 | MY_P="Genshi-${PV}" |
|---|
| 11 | |
|---|
| 12 | DESCRIPTION="Python toolkit for stream-based generation of output for the web." |
|---|
| 13 | HOMEPAGE="http://genshi.edgewall.org/" |
|---|
| 14 | SRC_URI="ftp://ftp.edgewall.com/pub/genshi/${MY_P}.tar.bz2" |
|---|
| 15 | |
|---|
| 16 | LICENSE="BSD" |
|---|
| 17 | SLOT="0" |
|---|
| 18 | KEYWORDS="amd64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~x86-macos" |
|---|
| 19 | IUSE="doc examples" |
|---|
| 20 | |
|---|
| 21 | DEPEND="dev-python/setuptools" |
|---|
| 22 | RDEPEND="${DEPEND}" |
|---|
| 23 | RESTRICT_PYTHON_ABIS="3.*" |
|---|
| 24 | |
|---|
| 25 | S="${WORKDIR}/${MY_P}" |
|---|
| 26 | |
|---|
| 27 | src_test() { |
|---|
| 28 | testing() { |
|---|
| 29 | "$(PYTHON)" setup.py test |
|---|
| 30 | } |
|---|
| 31 | python_execute_function testing |
|---|
| 32 | } |
|---|
| 33 | |
|---|
| 34 | src_install() { |
|---|
| 35 | distutils_src_install |
|---|
| 36 | |
|---|
| 37 | if use doc; then |
|---|
| 38 | dodoc doc/*.txt |
|---|
| 39 | dohtml -r doc/* |
|---|
| 40 | fi |
|---|
| 41 | |
|---|
| 42 | if use examples; then |
|---|
| 43 | insinto /usr/share/doc/${PF} |
|---|
| 44 | doins -r examples |
|---|
| 45 | fi |
|---|
| 46 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.
Download in other formats: