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/logilab-common: logilab-common-0.60.1-r1.ebuild ChangeLog logilab-common-0.60.1.ebuild logilab-common-0.60.0.ebuild logilab-common-0.59.1.ebuild
Date: Thu, 27 Mar 2014 12:53:31
Message-Id: 20140327125328.7BA992004F@flycatcher.gentoo.org
1 idella4 14/03/27 12:53:28
2
3 Modified: ChangeLog
4 Added: logilab-common-0.60.1-r1.ebuild
5 Removed: logilab-common-0.60.1.ebuild
6 logilab-common-0.60.0.ebuild
7 logilab-common-0.59.1.ebuild
8 Log:
9 revbump; sec fix wrt sec Bug #499872, rm old unstable versions
10
11 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
12
13 Revision Changes Path
14 1.135 dev-python/logilab-common/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.135&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.135&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?r1=1.134&r2=1.135
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v
23 retrieving revision 1.134
24 retrieving revision 1.135
25 diff -u -r1.134 -r1.135
26 --- ChangeLog 12 Feb 2014 04:49:32 -0000 1.134
27 +++ ChangeLog 27 Mar 2014 12:53:28 -0000 1.135
28 @@ -1,6 +1,15 @@
29 # ChangeLog for dev-python/logilab-common
30 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.134 2014/02/12 04:49:32 idella4 Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.135 2014/03/27 12:53:28 idella4 Exp $
33 +
34 +*logilab-common-0.60.1-r1 (27 Mar 2014)
35 +
36 + 27 Mar 2014; Ian Delaney <idella4@g.o>
37 + +files/logilab-common-sec-CVE-2014-1838-9.patch,
38 + +logilab-common-0.60.1-r1.ebuild, -logilab-common-0.59.1.ebuild,
39 + -logilab-common-0.60.0.ebuild, -logilab-common-0.60.1.ebuild,
40 + logilab-common-0.61.0.ebuild:
41 + revbump; sec fix wrt sec Bug #499872, rm old unstable versions
42
43 *logilab-common-0.61.0 (12 Feb 2014)
44
45
46
47
48 1.1 dev-python/logilab-common/logilab-common-0.60.1-r1.ebuild
49
50 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.60.1-r1.ebuild?rev=1.1&view=markup
51 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.60.1-r1.ebuild?rev=1.1&content-type=text/plain
52
53 Index: logilab-common-0.60.1-r1.ebuild
54 ===================================================================
55 # Copyright 1999-2014 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 # $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.60.1-r1.ebuild,v 1.1 2014/03/27 12:53:28 idella4 Exp $
58
59 EAPI=5
60
61 # 0.60.0 fails unittest_umessage with python3.3
62 # http://www.logilab.org/ticket/149345
63 PYTHON_COMPAT=( python{2_6,2_7,3_2} pypy2_0 )
64
65 inherit distutils-r1 eutils
66
67 DESCRIPTION="Useful miscellaneous modules used by Logilab projects"
68 HOMEPAGE="http://www.logilab.org/project/logilab-common http://pypi.python.org/pypi/logilab-common"
69 SRC_URI="ftp://ftp.logilab.org/pub/common/${P}.tar.gz mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
70
71 LICENSE="LGPL-2.1"
72 SLOT="0"
73 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
74 IUSE="test doc"
75
76 RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
77 virtual/python-unittest2[${PYTHON_USEDEP}]"
78
79 # Tests using dev-python/psycopg are skipped when dev-python/psycopg
80 # isn't installed.
81 # egenix-mx-base tests are optional, and egenix-mx-base does support
82 # Python2 only.
83 DEPEND="${RDEPEND}
84 test? (
85 $(python_gen_cond_dep dev-python/egenix-mx-base[$(python_gen_usedep 'python2*')] 'python2*')
86 !dev-python/psycopg[-mxdatetime]
87 )
88 doc? ( dev-python/epydoc )"
89
90 PATCHES=(
91 # Make sure setuptools does not create a zip file in python_test;
92 # this is buggy and causes tests to fail.
93 "${FILESDIR}"/${PN}-0.59.1-zipsafe.patch
94 # Depends on order of dictionary keys
95 "${FILESDIR}"/logilab-common-0.60.0-skip-doctest.patch
96 "${FILESDIR}"/${PN}-sec-CVE-2014-1838-9.patch
97 )
98
99 python_prepare_all() {
100 # CVE-2014-1838
101 rm -f pdf_ext.py || die
102 sed -e 's:(CURDIR):{S}/${P}:' -i doc/makefile || die
103 distutils-r1_python_prepare_all
104 }
105
106 python_compile_all() {
107 if use doc; then
108 # Simplest way to make makefile point to the right place.
109 ln -s "${BUILD_DIR}" build || die
110 emake -C doc epydoc
111 rm build || die
112 fi
113 }
114
115 python_test() {
116 distutils_install_for_testing
117
118 # Prevent timezone related failure.
119 export TZ=UTC
120
121 # Make sure that the tests use correct modules.
122 pushd "${TEST_DIR}"/lib > /dev/null || die
123 "${TEST_DIR}"/scripts/pytest || die "Tests fail with ${EPYTHON}"
124 popd > /dev/null || die
125 }
126
127 python_install_all() {
128 distutils-r1_python_install_all
129
130 doman doc/pytest.1
131 use doc && dohtml -r doc/apidoc/.
132 }