1 |
mgorny 15/01/01 23:08:42 |
2 |
|
3 |
Modified: amqplib-0.6.1-r1.ebuild amqplib-1.0.2-r1.ebuild |
4 |
ChangeLog |
5 |
Log: |
6 |
Backport some improvements from the newer ebuild. Fix python_test(). Do not rely on non-well-defined "foo/" behavior. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.3 dev-python/amqplib/amqplib-0.6.1-r1.ebuild |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild?rev=1.3&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild?rev=1.3&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild?r1=1.2&r2=1.3 |
16 |
|
17 |
Index: amqplib-0.6.1-r1.ebuild |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild,v |
20 |
retrieving revision 1.2 |
21 |
retrieving revision 1.3 |
22 |
diff -u -r1.2 -r1.3 |
23 |
--- amqplib-0.6.1-r1.ebuild 5 Sep 2013 18:46:11 -0000 1.2 |
24 |
+++ amqplib-0.6.1-r1.ebuild 1 Jan 2015 23:08:42 -0000 1.3 |
25 |
@@ -1,6 +1,6 @@ |
26 |
-# Copyright 1999-2013 Gentoo Foundation |
27 |
+# Copyright 1999-2015 Gentoo Foundation |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild,v 1.2 2013/09/05 18:46:11 mgorny Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-0.6.1-r1.ebuild,v 1.3 2015/01/01 23:08:42 mgorny Exp $ |
31 |
|
32 |
EAPI="5" |
33 |
PYTHON_COMPAT=( python2_6 python2_7 ) |
34 |
@@ -19,31 +19,25 @@ |
35 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
36 |
RDEPEND="" |
37 |
|
38 |
-python_prepare_all() { |
39 |
- if use test; then |
40 |
- epatch "${FILESDIR}/${P}_disable_socket_tests.patch" |
41 |
- fi |
42 |
- distutils-r1_python_prepare_all |
43 |
-} |
44 |
+PATCHES=( |
45 |
+ "${FILESDIR}/${P}_disable_socket_tests.patch" |
46 |
+) |
47 |
|
48 |
python_test() { |
49 |
- testing() { |
50 |
- PYTHONPATH="build-${PYTHON_ABI}/lib" python \ |
51 |
- "tests/client_0_8/run_all.py" |
52 |
- } |
53 |
- python_execute_function testing |
54 |
+ "${PYTHON}" tests/client_0_8/run_all.py \ |
55 |
+ || die "Tests fail with ${EPYTHON}" |
56 |
} |
57 |
|
58 |
python_install_all() { |
59 |
distutils-r1_python_install_all |
60 |
|
61 |
- dodoc docs/* |
62 |
+ dodoc -r docs/. |
63 |
if use examples; then |
64 |
docinto examples |
65 |
- dodoc demo/* || die "dodoc failed" |
66 |
+ dodoc -r demo/. |
67 |
fi |
68 |
if use extras; then |
69 |
insinto /usr/share/${PF} |
70 |
- doins -r extras || die "doins failed" |
71 |
+ doins -r extras |
72 |
fi |
73 |
} |
74 |
|
75 |
|
76 |
|
77 |
1.5 dev-python/amqplib/amqplib-1.0.2-r1.ebuild |
78 |
|
79 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild?rev=1.5&view=markup |
80 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild?rev=1.5&content-type=text/plain |
81 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild?r1=1.4&r2=1.5 |
82 |
|
83 |
Index: amqplib-1.0.2-r1.ebuild |
84 |
=================================================================== |
85 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild,v |
86 |
retrieving revision 1.4 |
87 |
retrieving revision 1.5 |
88 |
diff -u -r1.4 -r1.5 |
89 |
--- amqplib-1.0.2-r1.ebuild 1 Jun 2014 11:33:29 -0000 1.4 |
90 |
+++ amqplib-1.0.2-r1.ebuild 1 Jan 2015 23:08:42 -0000 1.5 |
91 |
@@ -1,6 +1,6 @@ |
92 |
-# Copyright 1999-2014 Gentoo Foundation |
93 |
+# Copyright 1999-2015 Gentoo Foundation |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild,v 1.4 2014/06/01 11:33:29 idella4 Exp $ |
96 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/amqplib-1.0.2-r1.ebuild,v 1.5 2015/01/01 23:08:42 mgorny Exp $ |
97 |
|
98 |
EAPI=5 |
99 |
PYTHON_COMPAT=( python{2_7,3_2,3_3,3_4} pypy ) |
100 |
@@ -29,11 +29,10 @@ |
101 |
python_install_all() { |
102 |
distutils-r1_python_install_all |
103 |
|
104 |
- dodoc -r docs/ |
105 |
+ dodoc -r docs/. |
106 |
if use examples; then |
107 |
docinto examples |
108 |
dodoc -r demo/. |
109 |
- docompress -x /usr/share/doc/${PF}/examples |
110 |
fi |
111 |
if use extras; then |
112 |
insinto /usr/share/${PF} |
113 |
|
114 |
|
115 |
|
116 |
1.9 dev-python/amqplib/ChangeLog |
117 |
|
118 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/ChangeLog?rev=1.9&view=markup |
119 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/ChangeLog?rev=1.9&content-type=text/plain |
120 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/amqplib/ChangeLog?r1=1.8&r2=1.9 |
121 |
|
122 |
Index: ChangeLog |
123 |
=================================================================== |
124 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/amqplib/ChangeLog,v |
125 |
retrieving revision 1.8 |
126 |
retrieving revision 1.9 |
127 |
diff -u -r1.8 -r1.9 |
128 |
--- ChangeLog 1 Jun 2014 11:33:29 -0000 1.8 |
129 |
+++ ChangeLog 1 Jan 2015 23:08:42 -0000 1.9 |
130 |
@@ -1,6 +1,11 @@ |
131 |
# ChangeLog for dev-python/amqplib |
132 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
133 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/ChangeLog,v 1.8 2014/06/01 11:33:29 idella4 Exp $ |
134 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
135 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/amqplib/ChangeLog,v 1.9 2015/01/01 23:08:42 mgorny Exp $ |
136 |
+ |
137 |
+ 01 Jan 2015; Michał Górny <mgorny@g.o> amqplib-0.6.1-r1.ebuild, |
138 |
+ amqplib-1.0.2-r1.ebuild: |
139 |
+ Backport some improvements from the newer ebuild. Fix python_test(). Do not |
140 |
+ rely on non-well-defined "foo/" behavior. |
141 |
|
142 |
01 Jun 2014; Ian Delaney <idella4@g.o> amqplib-1.0.2-r1.ebuild: |
143 |
drop py2.6 pypy2_0 add py3.4 support |