1 |
jlec 15/06/26 12:45:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: subunit-1.1.0.ebuild |
5 |
Log: |
6 |
Version Bump |
7 |
|
8 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key E9402A79B03529A2!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.73 dev-python/subunit/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.73&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?rev=1.73&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/ChangeLog?r1=1.72&r2=1.73 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v |
20 |
retrieving revision 1.72 |
21 |
retrieving revision 1.73 |
22 |
diff -u -r1.72 -r1.73 |
23 |
--- ChangeLog 9 Jun 2015 17:11:19 -0000 1.72 |
24 |
+++ ChangeLog 26 Jun 2015 12:45:31 -0000 1.73 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/subunit |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v 1.72 2015/06/09 17:11:19 jlec Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/ChangeLog,v 1.73 2015/06/26 12:45:31 jlec Exp $ |
30 |
+ |
31 |
+*subunit-1.1.0 (26 Jun 2015) |
32 |
+ |
33 |
+ 26 Jun 2015; Justin Lecher <jlec@g.o> +subunit-1.1.0.ebuild: |
34 |
+ Version Bump |
35 |
|
36 |
09 Jun 2015; Justin Lecher <jlec@g.o> metadata.xml: |
37 |
Updating remote-id in metadata.xml |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/subunit/subunit-1.1.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-1.1.0.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/subunit/subunit-1.1.0.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: subunit-1.1.0.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/subunit/subunit-1.1.0.ebuild,v 1.1 2015/06/26 12:45:31 jlec Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
|
54 |
PYTHON_COMPAT=( python{2_7,3_3,3_4} pypy ) |
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 ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" |
65 |
IUSE="static-libs test" |
66 |
|
67 |
RDEPEND=">=dev-python/testtools-0.9.34[${PYTHON_USEDEP}] |
68 |
dev-python/extras[${PYTHON_USEDEP}]" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-python/setuptools[${PYTHON_USEDEP}] |
71 |
dev-lang/perl:= |
72 |
>=dev-libs/check-0.9.11[${MULTILIB_USEDEP}] |
73 |
>=dev-util/cppunit-1.13.2[${MULTILIB_USEDEP}] |
74 |
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
75 |
test? ( dev-python/testscenarios[${PYTHON_USEDEP}] )" |
76 |
|
77 |
# Take out rogue & trivial failing tests that exit the suite before it even gets started |
78 |
# The removed class in fact works fine in py3 and fails with py2.7 & pupu |
79 |
# The setu to restrict this patch is just those 2 is not worth it. |
80 |
PATCHES=( "${FILESDIR}"/1.0.0-tests.patch ) |
81 |
|
82 |
src_prepare() { |
83 |
sed -i -e 's/os.chdir(os.path.dirname(__file__))//' setup.py || die |
84 |
|
85 |
# Install perl modules in vendor_perl, bug 534654. |
86 |
export INSTALLDIRS=vendor |
87 |
|
88 |
# needed for perl modules |
89 |
distutils-r1_src_prepare |
90 |
multilib_copy_sources |
91 |
} |
92 |
|
93 |
multilib_src_configure() { |
94 |
ECONF_SOURCE=${S} \ |
95 |
econf \ |
96 |
--enable-shared \ |
97 |
$(use_enable static-libs static) |
98 |
} |
99 |
|
100 |
multilib_src_compile() { |
101 |
default |
102 |
multilib_is_native_abi && distutils-r1_src_compile |
103 |
} |
104 |
|
105 |
python_test() { |
106 |
local -x PATH="${PWD}/shell/share:${PATH}" |
107 |
local -x PYTHONPATH=python |
108 |
# Following tests are known to fail in py2.7 & pypy. They pass under py3. |
109 |
# DO NOT re-file |
110 |
# test_add_error test_add_error_details test_add_expected_failure |
111 |
# test_add_expected_failure_details test_add_failure test_add_failure |
112 |
# https://bugs.launchpad.net/subunit/+bug/1436686 |
113 |
|
114 |
"${PYTHON}" -m testtools.run all_tests.test_suite || die "Testing failed with ${EPYTHON}" |
115 |
} |
116 |
|
117 |
multilib_src_test() { |
118 |
multilib_is_native_abi && distutils-r1_src_test |
119 |
} |
120 |
|
121 |
multilib_src_install() { |
122 |
local targets=( |
123 |
install-include_subunitHEADERS |
124 |
install-pcdataDATA |
125 |
install-exec-local |
126 |
install-libLTLIBRARIES |
127 |
) |
128 |
emake DESTDIR="${D}" "${targets[@]}" |
129 |
|
130 |
multilib_is_native_abi && distutils-r1_src_install |
131 |
} |
132 |
|
133 |
multilib_src_install_all() { |
134 |
einstalldocs |
135 |
prune_libtool_files |
136 |
} |