/[gentoo-x86]/www-servers/pathod/pathod-0.12.0.ebuild
Gentoo

Contents of /www-servers/pathod/pathod-0.12.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Jun 1 04:03:42 2015 UTC (2 years, 7 months ago) by patrick
Branch: MAIN
CVS Tags: HEAD
Bump

(Portage version: 2.2.20/cvs/Linux x86_64, unsigned Manifest commit)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-servers/pathod/pathod-0.11.1.ebuild,v 1.1 2014/11/22 02:26:57 radhermit Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=( python2_7 )
7
8 inherit distutils-r1
9
10 DESCRIPTION="A collection of pathological tools for testing and torturing HTTP clients and servers"
11 HOMEPAGE="http://pathod.net/"
12 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
13
14 LICENSE="MIT"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="test"
18
19 RDEPEND=">=dev-python/netlib-${PV}[${PYTHON_USEDEP}]
20 >=dev-python/requests-2.4.1[${PYTHON_USEDEP}]
21 >=dev-python/flask-0.10.1[${PYTHON_USEDEP}]
22 dev-python/pyparsing[${PYTHON_USEDEP}]"
23 DEPEND="${RDEPEND}
24 test? ( >=dev-python/nose-1.3.0[${PYTHON_USEDEP}] )"
25
26 python_prepare_all() {
27 distutils-r1_python_prepare_all
28
29 # remove unnecessary pip dep
30 sed -i '/pip/d' setup.py || die
31 }
32
33 python_test() {
34 nosetests -v || die "Tests fail with ${EPYTHON}"
35 }

  ViewVC Help
Powered by ViewVC 1.1.20