/[gentoo-x86]/dev-python/eliot/eliot-0.4.0.ebuild
Gentoo

Contents of /dev-python/eliot/eliot-0.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Thu Sep 25 20:35:42 2014 UTC (5 years, 11 months ago) by ryao
Branch: MAIN
New package dev-python/eliot

(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xBEE84C64)

1 ryao 1.1 # Copyright 1999-2014 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3     # $Header: $
4    
5     EAPI=5
6     PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
7     inherit distutils-r1
8    
9     DESCRIPTION="Logging as Storytelling"
10     HOMEPAGE="https://github.com/hybridcluster/${PN}"
11     SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
12    
13     LICENSE="Apache-2.0"
14     SLOT="0"
15     KEYWORDS="~amd64"
16     IUSE="doc test"
17    
18     DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
19     dev-python/sphinx[${PYTHON_USEDEP}]
20     test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
21     RDEPEND="
22     dev-python/six[${PYTHON_USEDEP}]
23     net-zope/zope-interface[${PYTHON_USEDEP}]
24     "
25    
26     python_compile_all() {
27     emake -C "${S}/docs" man
28     use doc && emake -C "${S}/docs" html
29     }
30    
31     python_install_all() {
32     doman "${S}/docs/build/man/"*
33     use doc && dohtml -r "${S}/docs/build/html/"*
34     }
35    
36     python_test() {
37     py.test || die "Tests fail with ${EPYTHON}"
38     }

  ViewVC Help
Powered by ViewVC 1.1.20