Gentoo Archives: gentoo-commits

From: "Matt Thode (prometheanfire)" <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/subunit: subunit-0.0.18.ebuild ChangeLog
Date: Thu, 27 Mar 2014 21:47:41
Message-Id: 20140327214735.05C682004F@flycatcher.gentoo.org
1 prometheanfire 14/03/27 21:47:34
2
3 Modified: ChangeLog
4 Added: subunit-0.0.18.ebuild
5 Log:
6 dev-python/subunit-0.0.18 added for pbr, which will be added for keystoneclient which will be added for heatclient and on
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x2471eb3e40ac5ac3)
9
10 Revision Changes Path
11 1.39 dev-python/subunit/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.39&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.39&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?r1=1.38&r2=1.39
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v
20 retrieving revision 1.38
21 retrieving revision 1.39
22 diff -u -r1.38 -r1.39
23 --- ChangeLog 19 Mar 2014 23:07:21 -0000 1.38
24 +++ ChangeLog 27 Mar 2014 21:47:34 -0000 1.39
25 @@ -1,6 +1,12 @@
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.38 2014/03/19 23:07:21 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v 1.39 2014/03/27 21:47:34 prometheanfire Exp $
30 +
31 +*subunit-0.0.18 (27 Mar 2014)
32 +
33 + 27 Mar 2014; Matthew Thode <prometheanfire@g.o> +subunit-0.0.18.ebuild:
34 + dev-python/subunit-0.0.18 added for pbr, which will be added for
35 + keystoneclient which will be added for heatclient and on
36
37 19 Mar 2014; Sébastien Fabbro <bicatali@g.o> subunit-0.0.9.ebuild:
38 Keyword ~amd64-linux ~x86-linux
39
40
41
42 1.1 dev-python/subunit/subunit-0.0.18.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-0.0.18.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-0.0.18.ebuild?rev=1.1&content-type=text/plain
46
47 Index: subunit-0.0.18.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-0.0.18.ebuild,v 1.1 2014/03/27 21:47:34 prometheanfire Exp $
52
53 EAPI=5
54
55 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} pypy2_0 )
56
57 inherit distutils-r1 eutils
58
59 DESCRIPTION="A streaming protocol for test results"
60 HOMEPAGE="https://launchpad.net/subunit http://pypi.python.org/pypi/python-subunit"
61 SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.gz"
62
63 LICENSE="Apache-2.0 BSD"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd"
66 #need to keyword the following in =dev-python/extras-0.0.3 then readd the keywords here
67 #ia64 s390 sh sparc amd64-fbsd
68 IUSE="static-libs"
69
70 RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}]
71 dev-python/extras[${PYTHON_USEDEP}]"
72 DEPEND="${RDEPEND}
73 dev-python/setuptools[${PYTHON_USEDEP}]
74 dev-lang/perl
75 dev-libs/check
76 dev-util/cppunit
77 virtual/pkgconfig"
78
79 src_configure() {
80 econf --enable-shared $(use_enable static-libs static)
81 distutils-r1_src_configure
82 }
83
84 src_compile() {
85 emake
86 distutils-r1_src_compile
87 }
88
89 python_test() {
90 local -x PATH="${PWD}/shell/share:${PATH}"
91 local -x PYTHONPATH=python
92 "${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}"
93 }
94
95 src_install() {
96 local targets=(
97 install-include_subunitHEADERS
98 install-pcdataDATA
99 install-exec-local
100 install-libLTLIBRARIES
101 )
102 emake DESTDIR="${D}" "${targets[@]}"
103 prune_libtool_files
104 distutils-r1_src_install
105 }