Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/subunit: subunit-0.0.19.ebuild ChangeLog
Date: Mon, 01 Sep 2014 04:11:02
Message-Id: 20140901041056.2FD314677@oystercatcher.gentoo.org
1 patrick 14/09/01 04:10:56
2
3 Modified: ChangeLog
4 Added: subunit-0.0.19.ebuild
5 Log:
6 Bump
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.50 dev-python/subunit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.50&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.50&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?r1=1.49&r2=1.50
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v
20 retrieving revision 1.49
21 retrieving revision 1.50
22 diff -u -r1.49 -r1.50
23 --- ChangeLog 19 Jul 2014 19:48:21 -0000 1.49
24 +++ ChangeLog 1 Sep 2014 04:10:56 -0000 1.50
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-python/subunit
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v 1.49 2014/07/19 19:48:21 klausman Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v 1.50 2014/09/01 04:10:56 patrick Exp $
30 +
31 +*subunit-0.0.19 (01 Sep 2014)
32 +
33 + 01 Sep 2014; Patrick Lauer <patrick@g.o> +subunit-0.0.19.ebuild:
34 + Bump
35
36 19 Jul 2014; Tobias Klausmann <klausman@g.o> subunit-0.0.16.ebuild:
37 Stable on alpha, bug #506620
38
39
40
41 1.1 dev-python/subunit/subunit-0.0.19.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-0.0.19.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-0.0.19.ebuild?rev=1.1&content-type=text/plain
45
46 Index: subunit-0.0.19.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-0.0.19.ebuild,v 1.1 2014/09/01 04:10:56 patrick Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy pypy2_0 )
55
56 inherit distutils-r1 eutils multilib-minimal
57
58 DESCRIPTION="A streaming protocol for test results"
59 HOMEPAGE="https://launchpad.net/subunit http://pypi.python.org/pypi/python-subunit"
60 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
61
62 LICENSE="Apache-2.0 BSD"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
65 #need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here
66 #ia64 s390 sh sparc amd64-fbsd
67 IUSE="static-libs"
68
69 RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
70 dev-python/extras[${PYTHON_USEDEP}]"
71 # test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )
72 #requires keywording first; Bug #506510
73 DEPEND="${RDEPEND}
74 dev-python/setuptools[${PYTHON_USEDEP}]
75 dev-lang/perl
76 >=dev-libs/check-0.9.11[${MULTILIB_USEDEP}]
77 >=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}]
78 >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
79 #requires keywording first; Bug #506510
80 RESTRICT="test"
81
82 src_prepare() {
83 sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die
84 # needed for perl modules
85 multilib_copy_sources
86 distutils-r1_src_prepare
87 }
88
89 multilib_src_configure() {
90 ECONF_SOURCE=${S} \
91 econf \
92 --enable-shared \
93 $(use_enable static-libs static)
94 }
95
96 multilib_src_compile() {
97 default
98 multilib_is_native_abi && distutils-r1_src_compile
99 }
100
101 python_test() {
102 local -x PATH="${PWD}/shell/share:${PATH}"
103 local -x PYTHONPATH=python
104 "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
105 }
106
107 multilib_src_test() {
108 multilib_is_native_abi && distutils-r1_src_test
109 }
110
111 multilib_src_install() {
112 local targets=(
113 install-include_subunitHEADERS
114 install-pcdataDATA
115 install-exec-local
116 install-libLTLIBRARIES
117 )
118 emake DESTDIR="${D}" "${targets[@]}"
119
120 multilib_is_native_abi && distutils-r1_src_install
121 }
122
123 multilib_src_install_all() {
124 einstalldocs
125 prune_libtool_files
126 }