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