1 |
radhermit 13/11/21 20:53:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: routes-2.0.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.18 dev-python/routes/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/routes/ChangeLog?rev=1.18&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/routes/ChangeLog?rev=1.18&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/routes/ChangeLog?r1=1.17&r2=1.18 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v |
20 |
retrieving revision 1.17 |
21 |
retrieving revision 1.18 |
22 |
diff -u -r1.17 -r1.18 |
23 |
--- ChangeLog 22 Oct 2013 14:24:30 -0000 1.17 |
24 |
+++ ChangeLog 21 Nov 2013 20:53:58 -0000 1.18 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for dev-python/routes |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.17 2013/10/22 14:24:30 grobian Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.18 2013/11/21 20:53:58 radhermit Exp $ |
30 |
+ |
31 |
+*routes-2.0 (21 Nov 2013) |
32 |
+ |
33 |
+ 21 Nov 2013; Tim Harder <radhermit@g.o> +routes-2.0.ebuild, |
34 |
+ +files/routes-2.0-tests-py3.patch: |
35 |
+ Version bump. |
36 |
|
37 |
22 Oct 2013; Fabian Groffen <grobian@g.o> routes-1.13-r1.ebuild: |
38 |
Marked ~x64-macos, bug #487670 |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-python/routes/routes-2.0.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/routes/routes-2.0.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/routes/routes-2.0.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: routes-2.0.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/routes-2.0.ebuild,v 1.1 2013/11/21 20:53:58 radhermit Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) |
55 |
|
56 |
inherit distutils-r1 |
57 |
|
58 |
MY_PN="Routes" |
59 |
MY_P="${MY_PN}-${PV}" |
60 |
|
61 |
DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions" |
62 |
HOMEPAGE="http://routes.groovie.org http://pypi.python.org/pypi/Routes" |
63 |
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" |
64 |
|
65 |
LICENSE="BSD" |
66 |
SLOT="0" |
67 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" |
68 |
IUSE="doc test" |
69 |
|
70 |
RDEPEND="dev-python/webob[${PYTHON_USEDEP}] |
71 |
>=dev-python/repoze-lru-0.3[${PYTHON_USEDEP}]" |
72 |
DEPEND="${RDEPEND} |
73 |
dev-python/setuptools[${PYTHON_USEDEP}] |
74 |
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
75 |
test? ( |
76 |
dev-python/coverage[${PYTHON_USEDEP}] |
77 |
dev-python/nose[${PYTHON_USEDEP}] |
78 |
dev-python/webtest[${PYTHON_USEDEP}] |
79 |
)" |
80 |
|
81 |
S="${WORKDIR}/${MY_P}" |
82 |
|
83 |
PATCHES=( "${FILESDIR}"/${PN}-2.0-tests-py3.patch ) |
84 |
|
85 |
python_prepare_all() { |
86 |
use test && DISTUTILS_IN_SOURCE_BUILD=1 |
87 |
distutils-r1_python_prepare_all |
88 |
} |
89 |
|
90 |
python_compile_all() { |
91 |
use doc && emake -C docs html |
92 |
} |
93 |
|
94 |
python_test() { |
95 |
cp -r tests "${BUILD_DIR}" || die |
96 |
if [[ ${EPYTHON} == python3* ]]; then |
97 |
2to3 -w --no-diffs "${BUILD_DIR}"/tests || die |
98 |
fi |
99 |
|
100 |
nosetests -w "${BUILD_DIR}"/tests || die "Tests fail with ${EPYTHON}" |
101 |
} |
102 |
|
103 |
python_install_all() { |
104 |
use doc && local HTML_DOCS=( docs/_build/html/. ) |
105 |
distutils-r1_python_install_all |
106 |
} |