1 |
idella4 14/01/02 15:06:39 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hacking-0.7.2-r1.ebuild hacking-0.8.0-r1.ebuild |
5 |
Removed: hacking-0.7.2.ebuild |
6 |
Log: |
7 |
revbumps; 0.7.2-r1; add 1 missing test dep, tidy up, both; Add py3.2 support, upgrade test phase with upstream bug added for fails under py3, remove only old 0.7.2 for now |
8 |
|
9 |
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 dev-python/hacking/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/ChangeLog?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- ChangeLog 2 Jan 2014 03:07:25 -0000 1.4 |
25 |
+++ ChangeLog 2 Jan 2014 15:06:38 -0000 1.5 |
26 |
@@ -1,6 +1,15 @@ |
27 |
# ChangeLog for dev-python/hacking |
28 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v 1.4 2014/01/02 03:07:25 idella4 Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/ChangeLog,v 1.5 2014/01/02 15:06:38 idella4 Exp $ |
31 |
+ |
32 |
+*hacking-0.7.2-r1 (02 Jan 2014) |
33 |
+*hacking-0.8.0-r1 (02 Jan 2014) |
34 |
+ |
35 |
+ 02 Jan 2014; Ian Delaney <idella4@g.o> +hacking-0.7.2-r1.ebuild, |
36 |
+ +hacking-0.8.0-r1.ebuild, -hacking-0.7.2.ebuild: |
37 |
+ revbumps; 0.7.2-r1; add 1 missing test dep, tidy up, both; Add py3.2 support, |
38 |
+ upgrade test phase with upstream bug added for fails under py3, remove only |
39 |
+ old 0.7.2 for now |
40 |
|
41 |
02 Jan 2014; Ian Delaney <idella4@g.o> hacking-0.8.0.ebuild: |
42 |
correct 1 char white space |
43 |
|
44 |
|
45 |
|
46 |
1.1 dev-python/hacking/hacking-0.7.2-r1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.7.2-r1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.7.2-r1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: hacking-0.7.2-r1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2014 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/hacking-0.7.2-r1.ebuild,v 1.1 2014/01/02 15:06:38 idella4 Exp $ |
56 |
|
57 |
EAPI=5 |
58 |
PYTHON_COMPAT=( python{2_7,3_2} ) |
59 |
|
60 |
inherit distutils-r1 |
61 |
|
62 |
DESCRIPTION="A client for the OpenStack Nova API" |
63 |
HOMEPAGE="https://github.com/openstack-dev/hacking" |
64 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
65 |
|
66 |
LICENSE="Apache-2.0" |
67 |
SLOT="0" |
68 |
KEYWORDS="~amd64 ~x86" |
69 |
IUSE="test" |
70 |
|
71 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
72 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
73 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
74 |
test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
75 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
76 |
dev-python/subunit[${PYTHON_USEDEP}] |
77 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
78 |
>=dev-python/testrepository-0.0.17-r2[${PYTHON_USEDEP}] |
79 |
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
80 |
>=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] |
81 |
${RDEPEND} )" |
82 |
RDEPEND="~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] |
83 |
>=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] |
84 |
<dev-python/pyflakes-0.7.4[${PYTHON_USEDEP}] |
85 |
~dev-python/flake8-2.0[${PYTHON_USEDEP}] |
86 |
dev-python/six[${PYTHON_USEDEP}]" |
87 |
DISTUTILS_IN_SOURCE_BUILD=1 |
88 |
|
89 |
python_test() { |
90 |
# https://bugs.launchpad.net/hacking/+bug/1265520 |
91 |
if [ "${EPYTHON}" == 'python3.2' ]; then |
92 |
sed -e 's:test_pep8:_&:' -i hacking/tests/test_doctest.py || die |
93 |
sed -e 's:test_with_physical_line_argument:_&:' \ |
94 |
-e 's:test_without_physical_line_argument:_&:' \ |
95 |
-i hacking/tests/test_noqa_decorator.py || die |
96 |
fi |
97 |
testr init || die "testr init died" |
98 |
testr run || die "testsuite failed under ${EPYTHON}" |
99 |
|
100 |
flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder" |
101 |
} |
102 |
|
103 |
|
104 |
|
105 |
1.1 dev-python/hacking/hacking-0.8.0-r1.ebuild |
106 |
|
107 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.8.0-r1.ebuild?rev=1.1&view=markup |
108 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/hacking/hacking-0.8.0-r1.ebuild?rev=1.1&content-type=text/plain |
109 |
|
110 |
Index: hacking-0.8.0-r1.ebuild |
111 |
=================================================================== |
112 |
# Copyright 1999-2014 Gentoo Foundation |
113 |
# Distributed under the terms of the GNU General Public License v2 |
114 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/hacking/hacking-0.8.0-r1.ebuild,v 1.1 2014/01/02 15:06:38 idella4 Exp $ |
115 |
|
116 |
EAPI=5 |
117 |
PYTHON_COMPAT=( python{2_7,3_2} ) |
118 |
|
119 |
inherit distutils-r1 |
120 |
|
121 |
DESCRIPTION="A client for the OpenStack Nova API" |
122 |
HOMEPAGE="https://github.com/openstack-dev/hacking" |
123 |
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
124 |
|
125 |
LICENSE="Apache-2.0" |
126 |
SLOT="0" |
127 |
KEYWORDS="~amd64 ~x86" |
128 |
IUSE="doc test" |
129 |
|
130 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
131 |
>=dev-python/pbr-0.5.21[${PYTHON_USEDEP}] |
132 |
<dev-python/pbr-1.0[${PYTHON_USEDEP}] |
133 |
test? ( >=dev-python/coverage-3.6[${PYTHON_USEDEP}] |
134 |
>=dev-python/fixtures-0.3.14[${PYTHON_USEDEP}] |
135 |
dev-python/subunit[${PYTHON_USEDEP}] |
136 |
>=dev-python/sphinx-1.1.2[${PYTHON_USEDEP}] |
137 |
>=dev-python/testrepository-0.0.17-r2[${PYTHON_USEDEP}] |
138 |
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}] |
139 |
>=dev-python/testtools-0.9.32[${PYTHON_USEDEP}] |
140 |
${RDEPEND} )" |
141 |
RDEPEND="~dev-python/pep8-1.4.5[${PYTHON_USEDEP}] |
142 |
>=dev-python/pyflakes-0.7.2[${PYTHON_USEDEP}] |
143 |
<dev-python/pyflakes-0.7.4[${PYTHON_USEDEP}] |
144 |
~dev-python/flake8-2.0[${PYTHON_USEDEP}] |
145 |
>=dev-python/six-1.4.1[${PYTHON_USEDEP}]" |
146 |
DISTUTILS_IN_SOURCE_BUILD=1 |
147 |
|
148 |
python_prepare_all() { |
149 |
sed -e 's:intersphinx_mapping:#&:' -i doc/source/conf.py || die |
150 |
distutils-r1_python_prepare_all |
151 |
} |
152 |
|
153 |
python_compile_all() { |
154 |
use doc && sphinx-build -b html -c doc/source/ doc/source/ doc/source/html |
155 |
} |
156 |
|
157 |
python_test() { |
158 |
# https://bugs.launchpad.net/hacking/+bug/1265520 |
159 |
if [ "${EPYTHON}" == 'python3.2' ]; then |
160 |
sed -e 's:test_pep8:_&:' -i hacking/tests/test_doctest.py || die |
161 |
fi |
162 |
testr init || die "testr init died" |
163 |
testr run || die "testsuite failed under ${EPYTHON}" |
164 |
flake8 "${PN}"/tests || die "flake8 drew error on a run over ${PN}/tests folder" |
165 |
} |
166 |
|
167 |
python_install_all() { |
168 |
use doc && local HTML_DOCS=( doc/source/html/. ) |
169 |
distutils-r1_python_install_all |
170 |
} |