1 |
dev-zero 13/12/03 12:57:35 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: paste-1.7.5.1-r2.ebuild |
5 |
Log: |
6 |
Revision bump to import patches from Debian. Unbundle Tempita in the process. Add note about py3-compatibility. |
7 |
|
8 |
(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key 0x1E0CA85F!) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 dev-python/paste/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 22 Oct 2013 14:15:13 -0000 1.23 |
24 |
+++ ChangeLog 3 Dec 2013 12:57:34 -0000 1.24 |
25 |
@@ -1,6 +1,17 @@ |
26 |
# ChangeLog for dev-python/paste |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.23 2013/10/22 14:15:13 grobian Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.24 2013/12/03 12:57:34 dev-zero Exp $ |
30 |
+ |
31 |
+*paste-1.7.5.1-r2 (03 Dec 2013) |
32 |
+ |
33 |
+ 03 Dec 2013; Tiziano Müller <dev-zero@g.o> |
34 |
+ +files/paste-1.7.5.1-email-mime.patch, +files/paste-1.7.5.1-hmac.patch, |
35 |
+ +files/paste-1.7.5.1-python27-lambda.patch, +files/paste-1.7.5.1-rfc822.patch, |
36 |
+ +files/paste-1.7.5.1-types.patch, +files/paste-1.7.5.1-unbundle-stdlib.patch, |
37 |
+ +files/paste-1.7.5.1-unbundle-tempita.patch, |
38 |
+ +files/paste-1.7.5.1-userdict.patch, +paste-1.7.5.1-r2.ebuild: |
39 |
+ Revision bump to import patches from Debian. Unbundle Tempita in the process. |
40 |
+ Add note about py3-compatibility. |
41 |
|
42 |
22 Oct 2013; Fabian Groffen <grobian@g.o> paste-1.7.5.1-r1.ebuild: |
43 |
Marked ~x64-macos, bug #487670 |
44 |
|
45 |
|
46 |
|
47 |
1.1 dev-python/paste/paste-1.7.5.1-r2.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/paste-1.7.5.1-r2.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/paste/paste-1.7.5.1-r2.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: paste-1.7.5.1-r2.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2013 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/paste-1.7.5.1-r2.ebuild,v 1.1 2013/12/03 12:57:34 dev-zero Exp $ |
57 |
|
58 |
EAPI=5 |
59 |
|
60 |
PYTHON_COMPAT=( python{2_6,2_7} ) |
61 |
# notes wrt py-3 compatibility: |
62 |
# Debian ships paste for py3 using 2to3. Many tests fail when using such converted code and |
63 |
# the fact that the errors are sometimes nested inside paste indicate that the |
64 |
# result is indeed broken. Upstream is not responsive nor interested in porting. |
65 |
|
66 |
inherit distutils-r1 |
67 |
|
68 |
MY_PN="Paste" |
69 |
MY_P="${MY_PN}-${PV}" |
70 |
|
71 |
DESCRIPTION="Tools for using a Web Server Gateway Interface stack" |
72 |
HOMEPAGE="http://pythonpaste.org http://pypi.python.org/pypi/Paste" |
73 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
74 |
|
75 |
LICENSE="MIT" |
76 |
SLOT="0" |
77 |
KEYWORDS="~amd64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris" |
78 |
IUSE="doc flup openid" |
79 |
|
80 |
RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
81 |
>=dev-python/tempita-0.5.2_pre20130828[${PYTHON_USEDEP}] |
82 |
flup? ( dev-python/flup[${PYTHON_USEDEP}] ) |
83 |
openid? ( dev-python/python-openid[${PYTHON_USEDEP}] )" |
84 |
DEPEND="${RDEPEND} |
85 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" |
86 |
|
87 |
S="${WORKDIR}/${MY_P}" |
88 |
|
89 |
python_prepare_all() { |
90 |
# Disable failing tests. |
91 |
rm -f tests/test_cgiapp.py |
92 |
sed \ |
93 |
-e "s/test_find_file/_&/" \ |
94 |
-e "s/test_deep/_&/" \ |
95 |
-e "s/test_static_parser/_&/" \ |
96 |
-i tests/test_urlparser.py || die "sed failed" |
97 |
|
98 |
# Remove a test that runs against the paste website. |
99 |
rm -f tests/test_proxy.py |
100 |
|
101 |
local PATCHES=( |
102 |
"${FILESDIR}/${P}-fix-tests-for-pypy.patch" |
103 |
"${FILESDIR}/${P}-python27-lambda.patch" |
104 |
"${FILESDIR}/${P}-unbundle-stdlib.patch" |
105 |
"${FILESDIR}/${P}-unbundle-tempita.patch" |
106 |
"${FILESDIR}/${P}-userdict.patch" |
107 |
"${FILESDIR}/${P}-rfc822.patch" |
108 |
"${FILESDIR}/${P}-email-mime.patch" |
109 |
"${FILESDIR}/${P}-types.patch" |
110 |
"${FILESDIR}/${P}-hmac.patch" |
111 |
) |
112 |
|
113 |
distutils-r1_python_prepare_all |
114 |
} |
115 |
|
116 |
python_compile() { |
117 |
distutils-r1_python_compile egg_info --egg-base "${BUILD_DIR}/lib" |
118 |
} |
119 |
|
120 |
python_compile_all() { |
121 |
use doc && esetup.py build_sphinx |
122 |
} |
123 |
|
124 |
python_test() { |
125 |
nosetests -P || die "Tests fail with ${EPYTHON}" |
126 |
} |
127 |
|
128 |
python_install() { |
129 |
distutils-r1_python_install egg_info --egg-base "${BUILD_DIR}/lib" |
130 |
} |
131 |
|
132 |
python_install_all() { |
133 |
use doc && local HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. ) |
134 |
distutils-r1_python_install_all |
135 |
} |