Gentoo Archives: gentoo-commits

From: Patrick Lauer <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/foolscap/
Date: Thu, 18 Feb 2016 19:03:49
Message-Id: 1455821187.66a05a67c0ac006434bb5bc0214957e8857ce258.patrick@gentoo
1 commit: 66a05a67c0ac006434bb5bc0214957e8857ce258
2 Author: Patrick Lauer <patrick <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 18 18:46:27 2016 +0000
4 Commit: Patrick Lauer <patrick <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 18 18:46:27 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66a05a67
7
8 dev-python/foolscap: Bump
9
10 Package-Manager: portage-2.2.27
11
12 dev-python/foolscap/Manifest | 1 +
13 dev-python/foolscap/foolscap-0.10.1.ebuild | 54 ++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/foolscap/Manifest b/dev-python/foolscap/Manifest
17 index bfc91c6..58708cc 100644
18 --- a/dev-python/foolscap/Manifest
19 +++ b/dev-python/foolscap/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST foolscap-0.10.1.tar.gz 491548 SHA256 bd7c6ea98237a81622461398254528c9c791574fd283d1a1ed8e0e3f705b36f3 SHA512 94577c2ad95235aad955ea1bc435b23d8c460cc658179556b204333df81359e773e692befcb0546f003a62aae24cc5dcaa85c1a06fef52cb7e32cdcf820613f7 WHIRLPOOL 0b709c8d8bbb91e187f4fca7c67f7cae07df6e2c11a5b7e47e54e0abfbc06d61392b860ffbae42e9b236452e248875056b10e001eda060cc17f86856ba92444f
22 DIST foolscap-0.7.0.tar.gz 478999 SHA256 fba0e016079442c9e69e2752727a1307f4110a1c62319a059650b2ab044b29d8 SHA512 b2eb5415376d4e8e4ee3fd9ecef80a02d195d6b44059e5292c2daa7dcfdea9deafd8678ff89391128244a8d41fb6a69a92f9e4f07cc599f7358783dc8cb70f15 WHIRLPOOL 58bc4b34d36e1edfa3bbcadb6a16704820af8b6448bf09d6d5e95c23edf60f41481d6792fcae808c0bd8bb3f71b18ed794c0be00e77cc67f160cb3b026567384
23 DIST foolscap-0.8.0.tar.gz 475062 SHA256 6ab49e8c52ee49597148802a877593ddb6ca9a63cb32eaae8bff2900667be1c9 SHA512 4f491ac1e35e76b7fcee5994312e34696921eb7a9b0913e919142fe2807e32aad5ddbbffec3bfe5e1f4333ec38e0ee607ea9cfe5007b385ab6a15ea913c80f45 WHIRLPOOL 5b8c26eb081cf211683d6a8ed3177267793fe2aa3258b2e6b381aaa4d367ae4c0fb61b0902a186874efad9d2150303378d4468c573992047ac0994998ba2f534
24
25 diff --git a/dev-python/foolscap/foolscap-0.10.1.ebuild b/dev-python/foolscap/foolscap-0.10.1.ebuild
26 new file mode 100644
27 index 0000000..d2ede09
28 --- /dev/null
29 +++ b/dev-python/foolscap/foolscap-0.10.1.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2015 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI=5
36 +
37 +PYTHON_COMPAT=( python2_7 )
38 +
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="RPC protocol for Twisted"
42 +HOMEPAGE="http://foolscap.lothar.com/trac https://pypi.python.org/pypi/foolscap"
43 +SRC_URI="http://${PN}.lothar.com/releases/${P}.tar.gz"
44 +
45 +LICENSE="MIT"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
48 +IUSE="doc +ssl test"
49 +
50 +# setup.py stipulates >=twisted-core-2.5.0 but failures occur in testsuite under -15.x
51 +RDEPEND="
52 + dev-python/twisted-core[${PYTHON_USEDEP}]
53 + dev-python/twisted-web[${PYTHON_USEDEP}]
54 + dev-python/service_identity[${PYTHON_USEDEP}]
55 + ssl? ( dev-python/pyopenssl[${PYTHON_USEDEP}] )
56 + "
57 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
58 + test? ( ${RDEPEND} )"
59 +
60 +python_test() {
61 + trial ${PN} || die "Tests fail for ${EPYTHON}"
62 +}
63 +
64 +python_compile_all() {
65 + local i;
66 + if use doc; then
67 + pushd doc > /dev/null
68 + mkdir build || die
69 + for i in ./*.rst
70 + do
71 + rst2html.py $i > ./build/${i/rst/html} || die
72 + done
73 + popd > /dev/null
74 + fi
75 +}
76 +
77 +python_test() {
78 + trial ${PN} || die "Tests fail for ${EPYTHON}"
79 +}
80 +
81 +python_install_all() {
82 + use doc && local HTML_DOCS=( doc/build/. )
83 + distutils-r1_python_install_all
84 +}