/[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.2 - (show annotations) (download)
Fri Dec 12 23:23:15 2014 UTC (5 years, 6 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
Rename net-zope/zope-interface to dev-python/zope-interface.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/eliot/eliot-0.4.0.ebuild,v 1.1 2014/09/25 20:35:42 ryao Exp $
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 dev-python/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