diff options
author | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 19:46:27 +0100 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2016-02-18 19:46:27 +0100 |
commit | 66a05a67c0ac006434bb5bc0214957e8857ce258 (patch) | |
tree | 340f26a32a02bc7e614d67bd0e7ef4e5bb76508c /dev-python/foolscap | |
parent | 6b135162ca799672675c4cb617812fb01a96d12b (diff) | |
download | gentoo-66a05a67c0ac006434bb5bc0214957e8857ce258.tar.gz gentoo-66a05a67c0ac006434bb5bc0214957e8857ce258.tar.xz |
dev-python/foolscap: Bump
Package-Manager: portage-2.2.27
Diffstat (limited to 'dev-python/foolscap')
-rw-r--r-- | dev-python/foolscap/Manifest | 1 | ||||
-rw-r--r-- | dev-python/foolscap/foolscap-0.10.1.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/foolscap/Manifest b/dev-python/foolscap/Manifest index bfc91c6e8be..58708cc2a53 100644 --- a/dev-python/foolscap/Manifest +++ b/dev-python/foolscap/Manifest @@ -1,2 +1,3 @@ +DIST foolscap-0.10.1.tar.gz 491548 SHA256 bd7c6ea98237a81622461398254528c9c791574fd283d1a1ed8e0e3f705b36f3 SHA512 94577c2ad95235aad955ea1bc435b23d8c460cc658179556b204333df81359e773e692befcb0546f003a62aae24cc5dcaa85c1a06fef52cb7e32cdcf820613f7 WHIRLPOOL 0b709c8d8bbb91e187f4fca7c67f7cae07df6e2c11a5b7e47e54e0abfbc06d61392b860ffbae42e9b236452e248875056b10e001eda060cc17f86856ba92444f DIST foolscap-0.7.0.tar.gz 478999 SHA256 fba0e016079442c9e69e2752727a1307f4110a1c62319a059650b2ab044b29d8 SHA512 b2eb5415376d4e8e4ee3fd9ecef80a02d195d6b44059e5292c2daa7dcfdea9deafd8678ff89391128244a8d41fb6a69a92f9e4f07cc599f7358783dc8cb70f15 WHIRLPOOL 58bc4b34d36e1edfa3bbcadb6a16704820af8b6448bf09d6d5e95c23edf60f41481d6792fcae808c0bd8bb3f71b18ed794c0be00e77cc67f160cb3b026567384 DIST foolscap-0.8.0.tar.gz 475062 SHA256 6ab49e8c52ee49597148802a877593ddb6ca9a63cb32eaae8bff2900667be1c9 SHA512 4f491ac1e35e76b7fcee5994312e34696921eb7a9b0913e919142fe2807e32aad5ddbbffec3bfe5e1f4333ec38e0ee607ea9cfe5007b385ab6a15ea913c80f45 WHIRLPOOL 5b8c26eb081cf211683d6a8ed3177267793fe2aa3258b2e6b381aaa4d367ae4c0fb61b0902a186874efad9d2150303378d4468c573992047ac0994998ba2f534 diff --git a/dev-python/foolscap/foolscap-0.10.1.ebuild b/dev-python/foolscap/foolscap-0.10.1.ebuild new file mode 100644 index 00000000000..d2ede09954a --- /dev/null +++ b/dev-python/foolscap/foolscap-0.10.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit distutils-r1 + +DESCRIPTION="RPC protocol for Twisted" +HOMEPAGE="http://foolscap.lothar.com/trac https://pypi.python.org/pypi/foolscap" +SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" +IUSE="doc +ssl test" + +# setup.py stipulates >=twisted-core-2.5.0 but failures occur in testsuite under -15.x +RDEPEND=" + dev-python/twisted-core[${PYTHON_USEDEP}] + dev-python/twisted-web[${PYTHON_USEDEP}] + dev-python/service_identity[${PYTHON_USEDEP}] + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] ) + " +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( ${RDEPEND} )" + +python_test() { + trial ${PN} || die "Tests fail for ${EPYTHON}" +} + +python_compile_all() { + local i; + if use doc; then + pushd doc > /dev/null + mkdir build || die + for i in ./*.rst + do + rst2html.py $i > ./build/${i/rst/html} || die + done + popd > /dev/null + fi +} + +python_test() { + trial ${PN} || die "Tests fail for ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/build/. ) + distutils-r1_python_install_all +} |