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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Dec 22 22:43:08 2014 UTC (5 years, 11 months ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Version bump. Remove old.

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

1 # Copyright 1999-2014 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.2.2_p20141018.ebuild,v 1.3 2014/12/07 01:51:14 blueness Exp $
4
5 EAPI=5
6 # Python3.3 fails to execute the test script
7 PYTHON_COMPAT=(python2_7)
8
9 inherit vcs-snapshot distutils-r1
10
11 DESCRIPTION="Stem is a Python controller library for Tor"
12 HOMEPAGE="https://stem.torproject.org"
13 SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
14
15 LICENSE="LGPL-3"
16 SLOT="0"
17 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
18 IUSE="test"
19
20 DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
21 net-misc/tor )
22 dev-python/setuptools[${PYTHON_USEDEP}]"
23
24 RDEPEND="net-misc/tor"
25
26 DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} )
27
28 python_prepare_all() {
29 # Disable failing test
30 sed -i -e "/test_expand_path/a \
31 \ \ \ \ return" test/integ/util/system.py || die
32 sed -i -e "/test_get_connections_by_ss/,+1d"\
33 test/integ/util/connection.py || die
34 distutils-r1_python_prepare_all
35 }
36
37 python_test() {
38 ${PYTHON} run_tests.py --all --target RUN_ALL || die
39 }

  ViewVC Help
Powered by ViewVC 1.1.20