Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/logilab-common: logilab-common-1.0.2.ebuild ChangeLog
Date: Tue, 28 Jul 2015 08:19:42
Message-Id: 20150728081930.14CA6EE@oystercatcher.gentoo.org
1 vapier 15/07/28 08:19:30
2
3 Modified: ChangeLog
4 Added: logilab-common-1.0.2.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
9
10 Revision Changes Path
11 1.160 dev-python/logilab-common/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.160&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.160&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?r1=1.159&r2=1.160
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v
20 retrieving revision 1.159
21 retrieving revision 1.160
22 diff -u -r1.159 -r1.160
23 --- ChangeLog 20 Jul 2015 03:48:20 -0000 1.159
24 +++ ChangeLog 28 Jul 2015 08:19:30 -0000 1.160
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/logilab-common
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.159 2015/07/20 03:48:20 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.160 2015/07/28 08:19:30 vapier Exp $
30 +
31 +*logilab-common-1.0.2 (28 Jul 2015)
32 +
33 + 28 Jul 2015; Mike Frysinger <vapier@g.o> +logilab-common-1.0.2.ebuild:
34 + Version bump.
35
36 20 Jul 2015; Patrick Lauer <patrick@g.o> logilab-common-0.62.1.ebuild,
37 logilab-common-0.63.2.ebuild:
38
39
40
41 1.1 dev-python/logilab-common/logilab-common-1.0.2.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-1.0.2.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-1.0.2.ebuild?rev=1.1&content-type=text/plain
45
46 Index: logilab-common-1.0.2.ebuild
47 ===================================================================
48 # Copyright 1999-2015 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-1.0.2.ebuild,v 1.1 2015/07/28 08:19:30 vapier Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy )
55
56 inherit distutils-r1 eutils
57
58 DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
59 HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
60 SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
65 IUSE="test doc"
66
67 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
68
69 # egenix-mx-base tests are optional and supports python2 only.
70 DEPEND="${RDEPEND}
71 >=dev-python/six-1.4.0[${PYTHON_USEDEP}]
72 test? ( $(python_gen_cond_dep 'dev-python/egenix-mx-base[${PYTHON_USEDEP}]' python2_7)
73 dev-python/pytz[${PYTHON_USEDEP}] )
74 doc? ( $(python_gen_cond_dep 'dev-python/epydoc[${PYTHON_USEDEP}]' python2_7) )"
75
76 # Req'd for impl specific failures in the testsuite
77 DISTUTILS_IN_SOURCE_BUILD=1
78
79 python_prepare_all() {
80 sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
81 distutils-r1_python_prepare_all
82 }
83
84 python_compile_all() {
85 if use doc; then
86 # Based on the doc build in Arfrever's ebuild. It works
87 pushd doc > /dev/null
88 mkdir -p apidoc || die
89 epydoc --parse-only -o apidoc --html -v --no-private --exclude=__pkginfo__ --exclude=setup --exclude=test \
90 -n "Logilab's common library" "$(ls -d ../build/lib/logilab/common/)" build \
91 || die "Generation of documentation failed"
92 fi
93 }
94
95 python_test() {
96 distutils_install_for_testing
97
98 # https://www.logilab.org/ticket/149345
99 # Prevent timezone related failure.
100 export TZ=UTC
101
102 # Make sure that the tests use correct modules.
103 pushd "${TEST_DIR}"/lib > /dev/null || die
104 "${TEST_DIR}"/scripts/pytest || die "Tests fail with ${EPYTHON}"
105 popd > /dev/null || die
106 }
107
108 python_install_all() {
109 distutils-r1_python_install_all
110
111 doman doc/pytest.1
112 use doc && dohtml -r doc/apidoc/.
113 }