Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/cairocffi: cairocffi-0.7.1.ebuild ChangeLog
Date: Thu, 25 Jun 2015 08:30:29
Message-Id: 20150625083023.E6595A51@oystercatcher.gentoo.org
1 jlec 15/06/25 08:30:23
2
3 Modified: ChangeLog
4 Added: cairocffi-0.7.1.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!)
9
10 Revision Changes Path
11 1.13 dev-python/cairocffi/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 25 Jun 2015 07:29:38 -0000 1.12
24 +++ ChangeLog 25 Jun 2015 08:30:23 -0000 1.13
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/cairocffi
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v 1.12 2015/06/25 07:29:38 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/ChangeLog,v 1.13 2015/06/25 08:30:23 jlec Exp $
30 +
31 +*cairocffi-0.7.1 (25 Jun 2015)
32 +
33 + 25 Jun 2015; Justin Lecher <jlec@g.o> +cairocffi-0.7.1.ebuild,
34 + +files/cairocffi-0.7.1-test.patch:
35 + Version Bump
36
37 25 Jun 2015; Justin Lecher <jlec@g.o> cairocffi-0.6-r1.ebuild,
38 cairocffi-0.6.ebuild:
39
40
41
42 1.1 dev-python/cairocffi/cairocffi-0.7.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/cairocffi-0.7.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/cairocffi/cairocffi-0.7.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: cairocffi-0.7.1.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/cairocffi/cairocffi-0.7.1.ebuild,v 1.1 2015/06/25 08:30:23 jlec Exp $
52
53 EAPI="5"
54
55 PYTHON_COMPAT=( python2_7 python3_{3,4} pypy )
56
57 inherit distutils-r1
58
59 MY_PN="${PN}"
60 MY_P="${MY_PN}-${PV}"
61
62 DESCRIPTION="CFFI-based drop-in replacement for Pycairo"
63 SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
64 HOMEPAGE="https://github.com/SimonSapin/cairocffi"
65
66 LICENSE="BSD"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="doc test"
70
71 RDEPEND="
72 >=dev-python/cffi-1.1.0:=[$(python_gen_usedep 'python*')]
73 >=dev-python/xcffib-0.3.2[${PYTHON_USEDEP}]
74 x11-libs/cairo:0=
75 x11-libs/gdk-pixbuf[jpeg]"
76
77 DEPEND="
78 dev-python/setuptools[${PYTHON_USEDEP}]
79 doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
80 test? (
81 ${RDEPEND}
82 dev-python/pytest[${PYTHON_USEDEP}]
83 )"
84
85 PATCHES=(
86 # Intersphinx cause the usual d'loading of objects.inv from TWO online sites
87 "${FILESDIR}"/mapping.patch
88 "${FILESDIR}"/${P}-test.patch
89 )
90
91 S="${WORKDIR}/${MY_P}"
92
93 python_compile_all() {
94 use doc && esetup.py build_sphinx
95 }
96
97 python_test() {
98 py.test -v --pyargs cairocffi || die "testsuite failed under ${EPYTHON}"
99 }
100
101 python_install_all() {
102 use doc && HTML_DOCS=( docs/_build/html/. )
103 distutils-r1_python_install_all
104 }