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/py-amqp: py-amqp-1.4.2.ebuild ChangeLog
Date: Sat, 01 Feb 2014 05:38:11
Message-Id: 20140201053806.E30EB2004C@flycatcher.gentoo.org
1 idella4 14/02/01 05:38:06
2
3 Modified: ChangeLog
4 Added: py-amqp-1.4.2.ebuild
5 Log:
6 bump; add doc deps for doc build, re-base patch for tests
7
8 (Portage version: 2.2.8/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
9
10 Revision Changes Path
11 1.16 dev-python/py-amqp/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py-amqp/ChangeLog?rev=1.16&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py-amqp/ChangeLog?rev=1.16&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py-amqp/ChangeLog?r1=1.15&r2=1.16
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/py-amqp/ChangeLog,v
20 retrieving revision 1.15
21 retrieving revision 1.16
22 diff -u -r1.15 -r1.16
23 --- ChangeLog 18 Dec 2013 13:21:58 -0000 1.15
24 +++ ChangeLog 1 Feb 2014 05:38:06 -0000 1.16
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/py-amqp
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/ChangeLog,v 1.15 2013/12/18 13:21:58 idella4 Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/ChangeLog,v 1.16 2014/02/01 05:38:06 idella4 Exp $
31 +
32 +*py-amqp-1.4.2 (01 Feb 2014)
33 +
34 + 01 Feb 2014; Ian Delaney <idella4@g.o> +py-amqp-1.4.2.ebuild:
35 + bump; add doc deps for doc build, re-base patch for tests
36
37 *py-amqp-1.3.3-r1 (18 Dec 2013)
38
39
40
41
42 1.1 dev-python/py-amqp/py-amqp-1.4.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py-amqp/py-amqp-1.4.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/py-amqp/py-amqp-1.4.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: py-amqp-1.4.2.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/py-amqp/py-amqp-1.4.2.ebuild,v 1.1 2014/02/01 05:38:06 idella4 Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
56
57 inherit distutils-r1
58
59 MY_PN="amqp"
60 MY_P="${MY_PN}-${PV}"
61
62 DESCRIPTION="Low-level AMQP client for Python (fork of amqplib)"
63 HOMEPAGE="https://github.com/celery/py-amqp http://pypi.python.org/pypi/amqp/"
64 SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
65
66 S="${WORKDIR}/${MY_P}"
67
68 LICENSE="LGPL-3"
69 SLOT="0"
70 KEYWORDS="~amd64 ~x86"
71 IUSE="doc examples extras test"
72
73 RDEPEND=""
74 DEPEND="test? ( virtual/python-unittest2[${PYTHON_USEDEP}]
75 dev-python/nose[${PYTHON_USEDEP}]
76 dev-python/nose-cover3[${PYTHON_USEDEP}]
77 >=dev-python/coverage-3.0[${PYTHON_USEDEP}]
78 dev-python/mock[${PYTHON_USEDEP}]
79 doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
80 >=dev-python/sphinxcontrib-issuetracker-0.9[${PYTHON_USEDEP}] )
81 )"
82
83 # Same tests from before require a socket connection
84 PATCHES=( "${FILESDIR}"/${PN}-1.3.3-disable_socket_tests.patch )
85
86 python_compile_all() {
87 use doc && emake -C docs html
88 }
89
90 python_test() {
91 cp -r -l funtests "${BUILD_DIR}"/lib/ || die
92 cd "${BUILD_DIR}"/lib || die
93 if [[ ${EPYTHON:6:1} == 3 ]]; then
94 # -n causes Python to write into hardlinked files
95 2to3 --no-diffs -w funtests || die
96 fi
97 "${PYTHON}" funtests/run_all.py || die "Tests failed under ${EPYTHON}"
98 rm -rf funtests/ || die
99 }
100
101 python_install_all() {
102 use examples && local EXAMPLES=( demo/. )
103 use doc && local HTML_DOCS=( docs/.build/html/. )
104 if use extras; then
105 insinto /usr/share/${PF}/extras
106 doins -r extra
107 fi
108 distutils-r1_python_install_all
109 }