net-libs/stem: Bump version to 1.4.1b
authorKristian Fiskerstrand <kf@sumptuouscapital.com>
Fri, 23 Oct 2015 16:15:16 +0000 (18:15 +0200)
committerKristian Fiskerstrand <kf@sumptuouscapital.com>
Fri, 23 Oct 2015 16:15:16 +0000 (18:15 +0200)
Copy from Gentoo tree and bump version to 1.4.1b

net-libs/stem/Manifest [new file with mode: 0644]
net-libs/stem/stem-1.4.1b.ebuild [new file with mode: 0644]

diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest
new file mode 100644 (file)
index 0000000..21f802d
--- /dev/null
@@ -0,0 +1,2 @@
+DIST stem-1.4.1b.tar.bz2 1569873 SHA256 475ba00120d571bd959d7ef24e45c4c698bb568c9321043eb7a10c1f6e554325 SHA512 c0d2082a684e324df74335d6a79074f81bae3100ac34f7cc3cf6eb89b71bfbf3517d15e7beef8297796d11ed71f392ade559ff0253c558ee20900edbc065be2d WHIRLPOOL f87524b64aa7da38435d32066179f7407b9b46a2791df60e5745a4f575cf3fff1743d2dd45dc4bcdea0e080bb1781a4de36c77ac1e67f39d99121fb94441f24f
+EBUILD stem-1.4.1b.ebuild 1000 SHA256 b686d3f7310bd5493231ec4206c2a9b33f2b7833c252afd886b3e04f5f0970ae SHA512 b3ecb4f83f0a9c2ea2219223daca3c4d98cdf05693f78218491f739b4413a55c0532684dde4d981aa4a7ff2469ad9d9f3e825f07ea14ea485e5cdef8aa517509 WHIRLPOOL 0fae06b7295108bb6eab6fedca300db04e46ef5a521f8fd4f9c624da2dfa4d6a6fa19cd47a19ca0b7a4b079f4b523aa1ff8d35f615042c8cebaf836584b177d4
diff --git a/net-libs/stem/stem-1.4.1b.ebuild b/net-libs/stem/stem-1.4.1b.ebuild
new file mode 100644 (file)
index 0000000..c2722cc
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+PYTHON_COMPAT=(python{2_7,3_3,3_4})
+
+inherit vcs-snapshot distutils-r1
+
+DESCRIPTION="Stem is a Python controller library for Tor"
+HOMEPAGE="https://stem.torproject.org"
+SRC_URI="mirror://pypi/s/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
+IUSE="test"
+
+DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}]
+       net-misc/tor )
+       dev-python/setuptools[${PYTHON_USEDEP}]"
+
+RDEPEND="net-misc/tor"
+
+DOCS=( docs/{_static,_templates,api,tutorials,{change_log,api,contents,download,faq,index,tutorials}.rst} )
+
+python_prepare_all() {
+       # Disable failing test
+       sed -i -e "/test_expand_path/a \
+               \ \ \ \ return" test/integ/util/system.py || die
+       sed -i -e "/test_get_connections_by_ss/,+1d"\
+               test/integ/util/connection.py || die
+       distutils-r1_python_prepare_all
+}
+
+python_test() {
+       ${PYTHON} run_tests.py --all --target RUN_ALL || die
+}