/[gentoo-x86]/net-libs/stem/stem-1.4.0.ebuild
Gentoo

Contents of /net-libs/stem/stem-1.4.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat May 16 15:54:30 2015 UTC (5 years, 6 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Version bump. Remove old.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key )

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-libs/stem/stem-1.3.0.ebuild,v 1.1 2014/12/22 22:43:08 mrueg Exp $
4
5 EAPI=5
6 PYTHON_COMPAT=(python{2_7,3_3,3_4})
7
8 inherit vcs-snapshot distutils-r1
9
10 DESCRIPTION="Stem is a Python controller library for Tor"
11 HOMEPAGE="https://stem.torproject.org"
12 SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
13
14 LICENSE="LGPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
17 IUSE="test"
18
19 DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
20 net-misc/tor )
21 dev-python/setuptools[${PYTHON_USEDEP}]"
22
23 RDEPEND="net-misc/tor"
24
25 DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} )
26
27 python_prepare_all() {
28 # Disable failing test
29 sed -i -e "/test_expand_path/a \
30 \ \ \ \ return" test/integ/util/system.py || die
31 sed -i -e "/test_get_connections_by_ss/,+1d"\
32 test/integ/util/connection.py || die
33 distutils-r1_python_prepare_all
34 }
35
36 python_test() {
37 ${PYTHON} run_tests.py --all --target RUN_ALL || die
38 }

  ViewVC Help
Powered by ViewVC 1.1.20