Gentoo Archives: gentoo-commits

From: Alex Brandt <alunduil@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/wrapt/
Date: Thu, 24 Dec 2015 17:21:07
Message-Id: 1450977590.dc9b00266b8dd41151cd7582fb4985b71d7eb2aa.alunduil@gentoo
1 commit: dc9b00266b8dd41151cd7582fb4985b71d7eb2aa
2 Author: Alex Brandt <alunduil <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 24 17:19:50 2015 +0000
4 Commit: Alex Brandt <alunduil <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 24 17:19:50 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc9b0026
7
8 dev-python/wrapt: fix bug #568208
9
10 Package-Manager: portage-2.2.26
11
12 dev-python/wrapt/Manifest | 1 +
13 dev-python/wrapt/wrapt-1.10.6-r1.ebuild | 48 +++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/wrapt/Manifest b/dev-python/wrapt/Manifest
17 index 27ace15..3dffc8a 100644
18 --- a/dev-python/wrapt/Manifest
19 +++ b/dev-python/wrapt/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wrapt-1.10.5.tar.gz 119157 SHA256 4fd82193b23f60e1a39f3e10c81143c1e29e26cd5fc9afe1a7dc0f5e4b4a67d7 SHA512 450b32eea67774081d23c0e020ed7eea3c8ac458925a16cd606a4f95ee5b7631bda5ff00ceb914e9ccc28a5e0a7302534b6711bb23d637c77327a8a9d228cb55 WHIRLPOOL 7cfa9477f525e60f16a7b1689ba43b327192837bea34e96977442b9cd143a63fafdfa7d0b3895c93052b0e6f426e76fa439b155ee4e481dd5e922c529676691c
22 +DIST wrapt-1.10.6-r1.tar.gz 120259 SHA256 b540e23753d3f7017ec0d38f16daf77f9e9cf170d5040abc3d87573ba20fc4f3 SHA512 658c780971dddf444070b9d30a8ac7c08ee0088b8f4378bcc9c22126608e52b338dc00969b08828b0318070abcf0e875bc2b7c6228a71fbbca362033088b4314 WHIRLPOOL 7aed77677a1448d6b3795be7fb56989be98a691a7470096adf45002ca124a99b5cab3e42b319493b4c8300684e488a07cf96d1c5a01e9fc9f181f765a0542254
23 DIST wrapt-1.10.6.tar.gz 25134 SHA256 9576869bb74a43cbb36ee39dc3584e6830b8e5c788e83edf0a397eba807734ab SHA512 d0c326fd401bc84656d69ec5da446b459f5596873a1ec01d616bebcc3d11237949eaafcfdf5de78e43f59927a0eaeee3da3f462975fa46fa22fd6c1593509e04 WHIRLPOOL 2d3c56d0a6e9e9af0a59708ce70190097da2459d80bdaa8d8f884a849905b44cdfb6bedb412ccd1e74be1e975492309a398e05d4b6c61a6852d3cd125230846a
24
25 diff --git a/dev-python/wrapt/wrapt-1.10.6-r1.ebuild b/dev-python/wrapt/wrapt-1.10.6-r1.ebuild
26 new file mode 100644
27 index 0000000..dfa21ed
28 --- /dev/null
29 +++ b/dev-python/wrapt/wrapt-1.10.6-r1.ebuild
30 @@ -0,0 +1,48 @@
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 python3_3 python3_4 pypy )
38 +
39 +inherit distutils-r1 vcs-snapshot
40 +
41 +DESCRIPTION="Module for decorators, wrappers and monkey patching"
42 +HOMEPAGE="https://github.com/GrahamDumpleton/wrapt"
43 +SRC_URI="https://github.com/GrahamDumpleton/${PN}/archive/${PV}.tar.gz -> ${P}-r1.tar.gz"
44 +S="${S}-r1"
45 +
46 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="doc test"
50 +
51 +DEPEND="
52 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )
53 + doc? (
54 + dev-python/sphinx[${PYTHON_USEDEP}]
55 + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
56 + )
57 +"
58 +RDEPEND=""
59 +
60 +python_compile_all() {
61 + use doc && emake -C docs html
62 +}
63 +
64 +python_compile() {
65 + local WRAPT_EXTENSIONS=true
66 +
67 + distutils-r1_python_compile
68 +}
69 +
70 +python_test() {
71 + py.test -vv || die "tests failed under ${EPYTHON}"
72 +}
73 +
74 +python_install_all() {
75 + use doc && local HTML_DOCS=( docs/_build/html/. )
76 +
77 + distutils-r1_python_install_all
78 +}