Gentoo Archives: gentoo-commits

From: "Rob Cakebread (pythonhead)" <pythonhead@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/django: ChangeLog django-1.0.ebuild
Date: Thu, 04 Sep 2008 06:21:47
Message-Id: E1Kb8Dx-0001ge-9M@stork.gentoo.org
1 pythonhead 08/09/04 06:21:45
2
3 Modified: ChangeLog
4 Added: django-1.0.ebuild
5 Log:
6 Version bump. Thanks Michael A. Smith <michael@××××××××.com> for the patch. Bug #236638
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.26-gentoo-r1 i686)
8
9 Revision Changes Path
10 1.25 dev-python/django/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 19 Aug 2008 09:25:27 -0000 1.24
23 +++ ChangeLog 4 Sep 2008 06:21:44 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for dev-python/django
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.24 2008/08/19 09:25:27 hawking Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.25 2008/09/04 06:21:44 pythonhead Exp $
29 +
30 +*django-1.0 (04 Sep 2008)
31 +
32 + 04 Sep 2008; Rob Cakebread <pythonhead@g.o> +django-1.0.ebuild:
33 + Version bump. Thanks Michael A. Smith <michael@××××××××.com> for the
34 + patch. Bug #236638
35
36 19 Aug 2008; Ali Polatel <hawking@g.o> django-0.96.2.ebuild:
37 Use cp -pPR instead of cp -a, #235057, thanks to Michael A. Smith.
38
39
40
41 1.1 dev-python/django/django-1.0.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/django-1.0.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/django-1.0.ebuild?rev=1.1&content-type=text/plain
45
46 Index: django-1.0.ebuild
47 ===================================================================
48 # Copyright 1999-2008 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.0.ebuild,v 1.1 2008/09/04 06:21:44 pythonhead Exp $
51
52 inherit bash-completion distutils eutils versionator
53
54 DESCRIPTION="high-level python web framework"
55 HOMEPAGE="http://www.djangoproject.com/"
56 SRC_URI="http://media.djangoproject.com/releases/${PV}/Django-${PV}.tar.gz"
57 LICENSE="BSD"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
60 IUSE="examples mysql postgres sqlite3 test"
61
62 RDEPEND="dev-python/imaging
63 sqlite3? ( || (
64 ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
65 >=dev-lang/python-2.5 ) )
66 test? ( || (
67 ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
68 >=dev-lang/python-2.5 ) )
69 postgres? ( dev-python/psycopg )
70 mysql? ( >=dev-python/mysql-python-1.2.1_p2 )"
71 DEPEND="${RDEPEND}"
72
73 S="${WORKDIR}/${P/#d/D}"
74
75 DOCS="docs/* AUTHORS"
76
77
78 src_test() {
79 #Test fails, reported upstream http://code.djangoproject.com/ticket/8865
80 echo "tests='''pass'''" > tests/regressiontests/forms/fields.py
81 cat >> tests/settings.py << __EOF__
82 DATABASE_ENGINE='sqlite3'
83 ROOT_URLCONF='tests/urls.py'
84 SITE_ID=1
85 __EOF__
86 PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
87 }
88
89 src_install() {
90 #TODO: Use sphinx to generate docs when sphinx is keyworded for
91 #all arches django is
92 distutils_python_version
93
94 site_pkgs="/usr/$(get_libdir)/python${PYVER}/site-packages/"
95 export PYTHONPATH="${PYTHONPATH}:${D}/${site_pkgs}"
96 dodir ${site_pkgs}
97
98 distutils_src_install
99
100 dobashcompletion extras/django_bash_completion
101
102 if use examples ; then
103 insinto /usr/share/doc/${PF}
104 doins -r examples
105 fi
106 }