Gentoo Archives: gentoo-commits

From: "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/setproctitle: ChangeLog setproctitle-1.1.1.ebuild
Date: Thu, 03 Feb 2011 18:44:57
Message-Id: 20110203184448.B11E620054@flycatcher.gentoo.org
1 arfrever 11/02/03 18:44:48
2
3 Modified: ChangeLog
4 Added: setproctitle-1.1.1.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.0_alpha19_p78/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 dev-python/setproctitle/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setproctitle/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setproctitle/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setproctitle/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 18 Dec 2010 20:26:23 -0000 1.5
24 +++ ChangeLog 3 Feb 2011 18:44:48 -0000 1.6
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-python/setproctitle
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.5 2010/12/18 20:26:23 arfrever Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/ChangeLog,v 1.6 2011/02/03 18:44:48 arfrever Exp $
31 +
32 +*setproctitle-1.1.1 (03 Feb 2011)
33 +
34 + 03 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
35 + -setproctitle-1.1.ebuild, +setproctitle-1.1.1.ebuild:
36 + Version bump.
37
38 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o>
39 setproctitle-1.1.ebuild:
40
41
42
43 1.1 dev-python/setproctitle/setproctitle-1.1.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: setproctitle-1.1.1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-python/setproctitle/setproctitle-1.1.1.ebuild,v 1.1 2011/02/03 18:44:48 arfrever Exp $
53
54 EAPI="3"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="*-jython"
57 DISTUTILS_SRC_TEST="nosetests"
58
59 inherit distutils toolchain-funcs
60
61 DESCRIPTION="Allow customization of the process title."
62 HOMEPAGE="http://code.google.com/p/py-setproctitle/ http://pypi.python.org/pypi/setproctitle"
63 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
64
65 LICENSE="BSD"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE=""
69
70 DEPEND=""
71 RDEPEND=""
72
73 DISTUTILS_USE_SEPARATE_SOURCE_DIRECTORIES="1"
74 DOCS="HISTORY README"
75
76 src_prepare() {
77 python_copy_sources
78
79 conversion() {
80 [[ "${PYTHON_ABI}" == 2.* ]] && return
81 2to3-${PYTHON_ABI} -w --no-diffs tests > /dev/null
82 }
83 python_execute_function \
84 --action-message 'Applying patches for $(python_get_implementation) $(python_get_version)' \
85 --failure-message 'Applying patches for $(python_get_implementation) $(python_get_version) failed' \
86 -s conversion
87 }
88
89 distutils_src_test_pre_hook() {
90 ln -fs pyrun-${PYTHON_ABI} tests/pyrun
91 }
92
93 src_test() {
94 build_pyrun() {
95 echo $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
96 $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -I$(python_get_includedir) -o tests/pyrun-${PYTHON_ABI} tests/pyrun.c $(python_get_library -l)
97 }
98 python_execute_function -q -s build_pyrun
99
100 distutils_src_test
101 }