Gentoo Archives: gentoo-commits

From: "Ian Delaney (idella4)" <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cairocffi: cairocffi-0.6.ebuild ChangeLog
Date: Fri, 26 Sep 2014 13:55:36
Message-Id: 20140926135531.C2CF1653D@oystercatcher.gentoo.org
1 idella4 14/09/26 13:55:31
2
3 Modified: ChangeLog
4 Added: cairocffi-0.6.ebuild
5 Log:
6 bump; add pypy support, add new dep
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.6 dev-python/cairocffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 30 May 2014 04:07:25 -0000 1.5
24 +++ ChangeLog 26 Sep 2014 13:55:31 -0000 1.6
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/cairocffi
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v 1.5 2014/05/30 04:07:25 idella4 Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v 1.6 2014/09/26 13:55:31 idella4 Exp $
30 +
31 +*cairocffi-0.6 (26 Sep 2014)
32 +
33 + 26 Sep 2014; Ian Delaney <idella4@g.o> +cairocffi-0.6.ebuild:
34 + bump; add pypy support, add new dep
35
36 *cairocffi-0.5.4 (30 May 2014)
37
38
39
40
41 1.1 dev-python/cairocffi/cairocffi-0.6.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/cairocffi-0.6.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/cairocffi-0.6.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cairocffi-0.6.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.6.ebuild,v 1.1 2014/09/26 13:55:31 idella4 Exp $
51
52 EAPI="5"
53 PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy )
54
55 inherit distutils-r1
56
57 DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
58 MY_PN="${PN}"
59 MY_P="${MY_PN}-${PV}"
60 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
61 HOMEPAGE="https://github.com/SimonSapin/cairocffi"
62
63 LICENSE="BSD"
64 SLOT="0"
65 KEYWORDS="~amd64 ~x86"
66 IUSE="doc test"
67
68 # xcffib is an optional extra excpet that the testsuite has it a hard coded unconditional component
69 RDEPEND=">=dev-python/cffi-0.6:=[${PYTHON_USEDEP}]
70 x11-libs/cairo:0=
71 dev-python/xcffib[${PYTHON_USEDEP}]"
72
73 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
74 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
75 test? ( ${RDEPEND}
76 dev-python/pytest[${PYTHON_USEDEP}] )"
77
78 # Intersphinx cause the usual d'loading of objects.inv from TWO online sites
79 PATCHES=( "${FILESDIR}"/mapping.patch )
80
81 S="${WORKDIR}/${MY_P}"
82
83 python_compile_all() {
84 use doc && esetup.py build_sphinx
85 }
86
87 python_test() {
88 py.test ${PN}/ || die "testsuite failed under ${EPYTHON}"
89 }
90
91 python_install_all() {
92 use doc && HTML_DOCS=( docs/_build/html/. )
93 distutils-r1_python_install_all
94 }