diff options
Diffstat (limited to 'net-libs/stem')
-rw-r--r-- | net-libs/stem/Manifest | 2 | ||||
-rw-r--r-- | net-libs/stem/stem-1.7.0.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-libs/stem/Manifest b/net-libs/stem/Manifest index 2472424389af..6ed01d2c54c8 100644 --- a/net-libs/stem/Manifest +++ b/net-libs/stem/Manifest @@ -1,5 +1,7 @@ DIST stem-1.5.4.tar.gz 1915722 BLAKE2B 37c278eab0d7c7c305d7fcb498ff39460921ff59ea16cbe97d985c742290b8ca938218cbc7d5e4d1106ffc9f6a20461a4692afd14565698abbdfbd8015cb6f18 SHA512 1ea74341a1013f1f98d3d5ed1d552e79277cf54a6337d1a8b66bda0baae022d70c4c0c9ce35c843222d183a716466d93e1df3ee55ae6cd16cf10c6cf415d3cf7 DIST stem-1.6.0.tar.gz 2049999 BLAKE2B 10846dbd20f22b489fa885e8f100eb2ba4053aca46db140463882cbc1f5701893e6a4a28820100e05e3ed4fa5ff76135a3b20ec1af917a63f63b3abdf5361df6 SHA512 499a15b1cbd12d75865c93e253e797507564d5b5f2a9a0f021107d89c85db040e050944a9ac69b629f74e265d350467bef9d36ec52f7ef2e6a97180a7b93e94c +DIST stem-1.7.0.tar.gz 2196759 BLAKE2B 2f4bf8a65e5e89b01e6d1054a9d7fe01d4775dc31f1846c300190320361e15a312ce35867fd7d6af2d0cb315894aa5f69f7e8a47cf184e1d9018342028ba1484 SHA512 10750266860f4f90df5d4a3bf24ec68e28d12c84c136c35d2f168f767f4facae3d02cc62dc972a08666689695ea17337a7a6b80ec1c5ed8b9e5035d7417b07f5 EBUILD stem-1.5.4.ebuild 1273 BLAKE2B cf930d4cefb1463372c83247f194e54c25ba24edc88d33a8274699246cd87398f869f33fd83c030ddd70f1aedeaa01697e5a32b608a4b2bfabccf869298ab673 SHA512 7aa70c4e3fc49b371e0333e9c6bb91216f6e1dc8991d6fb6feb58e4499dd51f7e8f49535c30688c4ba7096d15144326e962bc556abb675761760f3deb3c21b5e EBUILD stem-1.6.0.ebuild 1273 BLAKE2B cf930d4cefb1463372c83247f194e54c25ba24edc88d33a8274699246cd87398f869f33fd83c030ddd70f1aedeaa01697e5a32b608a4b2bfabccf869298ab673 SHA512 7aa70c4e3fc49b371e0333e9c6bb91216f6e1dc8991d6fb6feb58e4499dd51f7e8f49535c30688c4ba7096d15144326e962bc556abb675761760f3deb3c21b5e +EBUILD stem-1.7.0.ebuild 1368 BLAKE2B 05517311fd06cc2d8be9fee630872b6c5d709224b4d7053faade360fe1e5060ab9ed7d0fc60efc36736c1b186e74ab55cc8fb8daa35c062d54a785d172748044 SHA512 8e1a04b8089da0d90cb057eea67c94622fb304b47db9e38c604f8d827e7c5e43600332a169c90e52140bafe6b1cfd48a918eb680b1229018de7be2df72bdd5cd MISC metadata.xml 329 BLAKE2B 78eb533a5eea08ade1c17f2a70d204af1452de6d09cab0e4e06582291469b2abfca6cf86dffcf339797285590d3cfca481f14078f9cd5aaf138ba88f95877bb8 SHA512 e0be0234c4994bfff08e1790f82b8728a33961b9896ff5483b19591e2f00fe4b4ad83d42b59e64c056b393c35ec9ae92737f181d9549655853605537ac017974 diff --git a/net-libs/stem/stem-1.7.0.ebuild b/net-libs/stem/stem-1.7.0.ebuild new file mode 100644 index 000000000000..8b3cd202ca92 --- /dev/null +++ b/net-libs/stem/stem-1.7.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +PYTHON_COMPAT=(python{2_7,3_4,3_5,3_6}) + +inherit vcs-snapshot distutils-r1 + +DESCRIPTION="Stem is a Python controller library for Tor" +HOMEPAGE="https://stem.torproject.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="test" + +DEPEND="test? ( dev-python/mock[${PYTHON_USEDEP}] + net-vpn/tor ) + dev-python/setuptools[${PYTHON_USEDEP}]" + +RDEPEND="net-vpn/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_parsing_with_example/a \ + \ \ \ \ return" test/unit/manual.py || die + sed -i -e "/test_parsing_with_unknown_options/a \ + \ \ \ \ return" test/unit/manual.py || die + sed -i -e "/test_saving_manual/a \ + \ \ \ \ return" test/unit/manual.py || die + sed -i -e "/test_sdist_matches_git/a \ + \ \ \ \ return" test/integ/installation.py || die + sed -i -e "/test_connections_by_ss/a \ + \ \ \ \ return" test/integ/util/connection.py || die + distutils-r1_python_prepare_all +} + +python_test() { + ${PYTHON} run_tests.py --all --target RUN_ALL || die +} |