1 |
floppym 13/05/29 02:47:33 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: django-1.2.7.ebuild |
5 |
Log: |
6 |
Add 1.2.7 by special request of hwoarang. Bug 471614. |
7 |
|
8 |
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.108 dev-python/django/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.108&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?rev=1.108&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/ChangeLog?r1=1.107&r2=1.108 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v |
20 |
retrieving revision 1.107 |
21 |
retrieving revision 1.108 |
22 |
diff -u -r1.107 -r1.108 |
23 |
--- ChangeLog 27 May 2013 22:30:12 -0000 1.107 |
24 |
+++ ChangeLog 29 May 2013 02:47:33 -0000 1.108 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for dev-python/django |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.107 2013/05/27 22:30:12 idella4 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.108 2013/05/29 02:47:33 floppym Exp $ |
30 |
+ |
31 |
+*django-1.2.7 (29 May 2013) |
32 |
+ |
33 |
+ 29 May 2013; Mike Gilbert <floppym@g.o> +django-1.2.7.ebuild: |
34 |
+ Add 1.2.7 by special request of hwoarang. Bug 471614. |
35 |
|
36 |
27 May 2013; Ian Delaney <idella4@g.o> +files/django-1.5-objects.patch, |
37 |
+files/django-1.5-py3tests.patch, -files/django-1.5.1-objects.patch, |
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-python/django/django-1.2.7.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.2.7.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/django/django-1.2.7.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: django-1.2.7.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2013 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.2.7.ebuild,v 1.1 2013/05/29 02:47:33 floppym Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
54 |
PYTHON_REQ_USE='sqlite?' |
55 |
|
56 |
inherit bash-completion-r1 distutils-r1 versionator webapp |
57 |
|
58 |
MY_P="Django-${PV}" |
59 |
|
60 |
DESCRIPTION="High-level Python web framework" |
61 |
HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" |
62 |
SRC_URI="https://www.djangoproject.com/m/releases/$(get_version_component_range 1-2)/${MY_P}.tar.gz" |
63 |
|
64 |
LICENSE="BSD" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" |
67 |
IUSE="doc mysql postgres sqlite test" |
68 |
|
69 |
RDEPEND="dev-python/imaging[${PYTHON_USEDEP}] |
70 |
postgres? ( dev-python/psycopg:2[${PYTHON_USEDEP}] ) |
71 |
mysql? ( >=dev-python/mysql-python-1.2.3[${PYTHON_USEDEP}] )" |
72 |
DEPEND="${RDEPEND} |
73 |
doc? ( >=dev-python/sphinx-1.0.7[${PYTHON_USEDEP}] ) |
74 |
test? ( ${PYTHON_DEPS//sqlite?/sqlite} )" |
75 |
|
76 |
S="${WORKDIR}/${MY_P}" |
77 |
|
78 |
WEBAPP_MANUAL_SLOT="yes" |
79 |
|
80 |
python_compile_all() { |
81 |
if use doc; then |
82 |
emake -C docs html |
83 |
fi |
84 |
} |
85 |
|
86 |
python_test() { |
87 |
# Tests have non-standard assumptions about PYTHONPATH, |
88 |
# and don't work with ${BUILD_DIR}/lib. |
89 |
# https://code.djangoproject.com/ticket/20514 |
90 |
PYTHONPATH=. \ |
91 |
"${PYTHON}" tests/runtests.py --settings=test_sqlite -v1 \ |
92 |
|| die "Tests fail with ${EPYTHON}" |
93 |
} |
94 |
|
95 |
src_test() { |
96 |
# Port conflict in django.test.testcases.LiveServerTestCase. |
97 |
# Several other races with temp files. |
98 |
DISTUTILS_NO_PARALLEL_BUILD=1 distutils-r1_src_test |
99 |
} |
100 |
|
101 |
src_install() { |
102 |
distutils-r1_src_install |
103 |
webapp_src_install |
104 |
} |
105 |
|
106 |
python_install_all() { |
107 |
newbashcomp extras/django_bash_completion ${PN} |
108 |
|
109 |
if use doc; then |
110 |
rm -fr docs/_build/html/_sources |
111 |
local HTML_DOCS=( docs/_build/html/. ) |
112 |
fi |
113 |
|
114 |
insinto "${MY_HTDOCSDIR#${EPREFIX}}" |
115 |
doins -r django/contrib/admin/media/. |
116 |
distutils-r1_python_install_all |
117 |
} |
118 |
|
119 |
pkg_postinst() { |
120 |
elog "A copy of the admin media is available to" |
121 |
elog "webapp-config for installation in a webroot," |
122 |
elog "as well as the traditional location in python's" |
123 |
elog "site-packages dir for easy development" |
124 |
elog |
125 |
ewarn "If you build Django ${PV} without USE=\"vhosts\"" |
126 |
|
127 |
# XXX: call webapp_pkg_postinst? the old ebuild didn't do that... |
128 |
ewarn "webapp-config will automatically install the" |
129 |
ewarn "admin media into the localhost webroot." |
130 |
} |