From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/logilab-common: ChangeLog logilab-common-0.55.2.ebuild |
Date: | Mon, 02 May 2011 22:37:45 |
Message-Id: | 20110502223735.0CE8920057@flycatcher.gentoo.org |
1 | arfrever 11/05/02 22:37:35 |
2 | |
3 | Modified: ChangeLog |
4 | Added: logilab-common-0.55.2.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha30_p39/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.93 dev-python/logilab-common/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.93&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?rev=1.93&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/ChangeLog?r1=1.92&r2=1.93 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v |
20 | retrieving revision 1.92 |
21 | retrieving revision 1.93 |
22 | diff -u -r1.92 -r1.93 |
23 | --- ChangeLog 14 Apr 2011 20:15:47 -0000 1.92 |
24 | +++ ChangeLog 2 May 2011 22:37:34 -0000 1.93 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for dev-python/logilab-common |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.92 2011/04/14 20:15:47 ranger Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/ChangeLog,v 1.93 2011/05/02 22:37:34 arfrever Exp $ |
30 | + |
31 | +*logilab-common-0.55.2 (02 May 2011) |
32 | + |
33 | + 02 May 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + +logilab-common-0.55.2.ebuild: |
35 | + Version bump. |
36 | |
37 | 14 Apr 2011; Brent Baude <ranger@g.o> logilab-common-0.55.0.ebuild: |
38 | stable ppc, bug 360351 |
39 | |
40 | |
41 | |
42 | 1.1 dev-python/logilab-common/logilab-common-0.55.2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.55.2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/logilab-common/logilab-common-0.55.2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: logilab-common-0.55.2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-python/logilab-common/logilab-common-0.55.2.ebuild,v 1.1 2011/05/02 22:37:34 arfrever Exp $ |
52 | |
53 | EAPI="3" |
54 | SUPPORT_PYTHON_ABIS="1" |
55 | |
56 | inherit distutils |
57 | |
58 | DESCRIPTION="Useful miscellaneous modules used by Logilab projects" |
59 | HOMEPAGE="http://www.logilab.org/projects/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="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
65 | IUSE="test" |
66 | |
67 | # dev-python/unittest2 is not required with Python >=3.2. |
68 | RDEPEND="dev-python/setuptools |
69 | dev-python/unittest2" |
70 | # Tests using dev-python/psycopg are skipped when dev-python/psycopg isn't installed. |
71 | DEPEND="${RDEPEND} |
72 | test? ( |
73 | dev-python/egenix-mx-base |
74 | !dev-python/psycopg[-mxdatetime] |
75 | )" |
76 | |
77 | PYTHON_MODNAME="logilab" |
78 | |
79 | src_test() { |
80 | testing() { |
81 | # Install temporarily. |
82 | local tpath="${T}/test-${PYTHON_ABI}" |
83 | local spath="${tpath}${EPREFIX}$(python_get_sitedir)" |
84 | |
85 | "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --root="${tpath}" || die "Installation for tests failed with $(python_get_implementation) $(python_get_version)" |
86 | |
87 | # pytest uses tests placed relatively to the current directory. |
88 | pushd "${spath}" > /dev/null || return 1 |
89 | if [[ "${PYTHON_ABI}" == 3.* ]]; then |
90 | # Support for Python 3 is experimental. Some tests are known to fail. |
91 | PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v |
92 | else |
93 | PYTHONPATH="${spath}" "$(PYTHON)" "${tpath}${EPREFIX}/usr/bin/pytest" -v || return 1 |
94 | fi |
95 | popd > /dev/null || return 1 |
96 | } |
97 | python_execute_function testing |
98 | } |
99 | |
100 | src_install() { |
101 | distutils_src_install |
102 | |
103 | python_generate_wrapper_scripts -E -f -q "${ED}usr/bin/pytest" |
104 | |
105 | doman doc/pytest.1 || die "doman failed" |
106 | |
107 | delete_tests() { |
108 | rm -fr "${ED}$(python_get_sitedir)/${PN/-//}/test" |
109 | } |
110 | python_execute_function -q delete_tests |
111 | } |