# ChangeLog for dev-python/django
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.12 2007/01/22 16:55:50 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.13 2007/02/01 17:57:42 seemant Exp $
+
+ 01 Feb 2007; Seemant Kulleen <seemant@gentoo.org>
+ -files/django-0.95-auth_fix.patch,
+ -files/django-0.95-compile_messages_fix.patch, -django-0.95-r1.ebuild:
+ remove old ebuild
22 Jan 2007; Seemant Kulleen <seemant@gentoo.org> django-0.95.1.ebuild:
add back the bash completion, docs install fix and stc_test that Tiziano
-AUX django-0.95-auth_fix.patch 716 RMD160 0fdfdd233d15ad663f80f286870f6b8fb990b326 SHA1 f2f60dda0508f3076653248650e1123cc18c15d4 SHA256 ac074bbcc8d0085d8c8cf38b62fa04d3805cf4508a0c652ebe0b5ceebc7429c5
-MD5 33682e5c484f00ba29e8a0da9d1cec86 files/django-0.95-auth_fix.patch 716
-RMD160 0fdfdd233d15ad663f80f286870f6b8fb990b326 files/django-0.95-auth_fix.patch 716
-SHA256 ac074bbcc8d0085d8c8cf38b62fa04d3805cf4508a0c652ebe0b5ceebc7429c5 files/django-0.95-auth_fix.patch 716
-AUX django-0.95-compile_messages_fix.patch 1048 RMD160 47b94590b594e43880c7d96108bbc90665d602c8 SHA1 266bbf12baccad74bc25d4f617c4432c3ac55a5e SHA256 d0187a6810c1d7b0abd8d6bacbb95cb259dc63921f71d61716cf163415c88ad8
-MD5 66df908be357fa0cc7beb7f905b3e8a1 files/django-0.95-compile_messages_fix.patch 1048
-RMD160 47b94590b594e43880c7d96108bbc90665d602c8 files/django-0.95-compile_messages_fix.patch 1048
-SHA256 d0187a6810c1d7b0abd8d6bacbb95cb259dc63921f71d61716cf163415c88ad8 files/django-0.95-compile_messages_fix.patch 1048
DIST Django-0.95.1.tar.gz 1297839 RMD160 eba1fae6a7ed0c1fb8feaaaa35e7ce23b2a73b07 SHA1 353c7d984f4f128da2fab0cec0160a2bb4ffb13c SHA256 1bb126c1854c0dd4288453c4095e7c4cf8bff8f89661b4885056b409729b0793
-DIST Django-0.95.tar.gz 1287781 RMD160 95c405fff77e4a0cf51654e9d089a47b629dd875 SHA1 2ea50ec96bf4b3f0b4821ce33ff422150c9c4f15 SHA256 2185514d642f35d61d7c5c0a59545f2e18e41ee5abdb2912eafd64c1fa07c388
-EBUILD django-0.95-r1.ebuild 1687 RMD160 9446acfc9868c22ceabb9918f6f611bf4b6cfb3b SHA1 2b8ccf6ef35b46697113d346cdd6080e07619f2a SHA256 997971f28ea3555a1ddeae0c512f633352fedb689ea31c75d5a3268de4c0ff10
-MD5 8eb25bcc5959ce079dce5b781a9a1d31 django-0.95-r1.ebuild 1687
-RMD160 9446acfc9868c22ceabb9918f6f611bf4b6cfb3b django-0.95-r1.ebuild 1687
-SHA256 997971f28ea3555a1ddeae0c512f633352fedb689ea31c75d5a3268de4c0ff10 django-0.95-r1.ebuild 1687
EBUILD django-0.95.1.ebuild 1641 RMD160 a19104d5b0ab98437569b7c76af3949b016fa44b SHA1 b4a892674e04fbf22ed8706833e04b88c6c038ff SHA256 e7f22d3712e8e3d0376c8de8c50d0ac900ff6cd6ec4fec6babf609f7e0e18753
MD5 35a12e123818bb22d5ceaf04cb88aecc django-0.95.1.ebuild 1641
RMD160 a19104d5b0ab98437569b7c76af3949b016fa44b django-0.95.1.ebuild 1641
SHA256 e7f22d3712e8e3d0376c8de8c50d0ac900ff6cd6ec4fec6babf609f7e0e18753 django-0.95.1.ebuild 1641
-MISC ChangeLog 2154 RMD160 9bf516305329cf9c8c666ac06d5b15d8bee52c33 SHA1 8556d15f773cb5cf7936db69106a3768f64dc349 SHA256 c63c3a9f528e030b65e6e6978e7a9727da456546df960428e9153959b5ddecca
-MD5 87ae2b5c4886fcfd77a094f387d38041 ChangeLog 2154
-RMD160 9bf516305329cf9c8c666ac06d5b15d8bee52c33 ChangeLog 2154
-SHA256 c63c3a9f528e030b65e6e6978e7a9727da456546df960428e9153959b5ddecca ChangeLog 2154
+MISC ChangeLog 2337 RMD160 bdfe72e9a66c7913b28820ee3ad3864699c316fa SHA1 8d7357c1dd123fba438f976c46e810a97fb51c28 SHA256 6c30c020dfc4f8ceff47fd92f0b8d80cb6c8edebb26324b2d942ec0253199b6a
+MD5 1cd7d33b6dc68be6b0d8d68c599c2033 ChangeLog 2337
+RMD160 bdfe72e9a66c7913b28820ee3ad3864699c316fa ChangeLog 2337
+SHA256 6c30c020dfc4f8ceff47fd92f0b8d80cb6c8edebb26324b2d942ec0253199b6a ChangeLog 2337
MISC metadata.xml 299 RMD160 3d8704ab7bd5a6e6f1c503a0f121098b9565aa5b SHA1 6eb4ace4f35255ecb165611f126e131ff020ea1b SHA256 afc8576fd4c38ed4723c15af5d7c07612dc7a9e34b789f3fc48910bf89a57f34
MD5 537bb635a4ec8d4809abd2cda4456638 metadata.xml 299
RMD160 3d8704ab7bd5a6e6f1c503a0f121098b9565aa5b metadata.xml 299
SHA256 afc8576fd4c38ed4723c15af5d7c07612dc7a9e34b789f3fc48910bf89a57f34 metadata.xml 299
-MD5 f3f1a6ef235840e1ab04b210ed8ae4ad files/digest-django-0.95-r1 238
-RMD160 b1425ae1ceb8186c790dcffde27d4b3094154e00 files/digest-django-0.95-r1 238
-SHA256 e631d3deb73e7a5ce3fc942830556e08a5d85567ed0f892dd2322c5ac920b05e files/digest-django-0.95-r1 238
MD5 1b3ee664163430c66295524e71486cdd files/digest-django-0.95.1 244
RMD160 8f6838341b7b10b3ee43b3e3630cf903457b2ce5 files/digest-django-0.95.1 244
SHA256 57d983f446c7fbfe24c0034501103a24794d0077dbe5803cd88d08fee2570286 files/digest-django-0.95.1 244
+++ /dev/null
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-0.95-r1.ebuild,v 1.1 2007/01/21 13:35:03 dev-zero Exp $
-
-inherit bash-completion distutils eutils
-
-MY_P="Django-${PV}"
-
-DESCRIPTION="high-level python web framework"
-HOMEPAGE="http://www.djangoproject.com/"
-SRC_URI="http://media.djangoproject.com/releases/${PV}/${MY_P}.tar.gz"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
-IUSE="examples mysql postgres sqlite test"
-
-RDEPEND="dev-python/imaging
- sqlite? ( || (
- ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
- >=dev-lang/python-2.5 ) )
- test? ( || (
- ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 )
- >=dev-lang/python-2.5 ) )
- postgres? ( dev-python/psycopg )
- mysql? ( dev-python/mysql-python )"
-DEPEND="${RDEPEND}
- >=dev-python/setuptools-0.6_rc3"
-
-S=${WORKDIR}/${MY_P}
-
-DOCS="docs/* AUTHORS"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- sed -i \
- -e '/ez_setup/d' \
- setup.py || die "sed failed"
-
- epatch "${FILESDIR}/${P}-compile_messages_fix.patch"
- epatch "${FILESDIR}/${P}-auth_fix.patch"
-}
-
-src_install() {
- distutils_python_version
-
- site_pkgs="/usr/$(get_libdir)/python${PYVER}/site-packages/"
- export PYTHONPATH="${PYTHONPATH}:${D}/${site_pkgs}"
- dodir ${site_pkgs}
-
- distutils_src_install --single-version-externally-managed
-
- dobashcompletion extras/django_bash_completion
-
- if use examples ; then
- insinto /usr/share/doc/${PF}
- doins -r examples
- fi
-}
-
-src_test() {
- cat >> tests/settings.py << __EOF__
-DATABASE_ENGINE='sqlite3'
-__EOF__
- PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
-}
+++ /dev/null
-MD5 9ed7d6a0daa147c012e31d0894802951 Django-0.95.tar.gz 1287781
-RMD160 95c405fff77e4a0cf51654e9d089a47b629dd875 Django-0.95.tar.gz 1287781
-SHA256 2185514d642f35d61d7c5c0a59545f2e18e41ee5abdb2912eafd64c1fa07c388 Django-0.95.tar.gz 1287781
+++ /dev/null
-Index: /django/trunk/django/contrib/auth/middleware.py
-===================================================================
---- django/contrib/auth/middleware.py (revision 3226)
-+++ django/contrib/auth/middleware.py (revision 3754)
-@@ -1,11 +1,8 @@
- class LazyUser(object):
-- def __init__(self):
-- self._user = None
--
- def __get__(self, request, obj_type=None):
-- if self._user is None:
-+ if not hasattr(request, '_cached_user'):
- from django.contrib.auth import get_user
-- self._user = get_user(request)
-- return self._user
-+ request._cached_user = get_user(request)
-+ return request._cached_user
-
- class AuthenticationMiddleware(object):
+++ /dev/null
-Index: /django/trunk/django/bin/compile-messages.py
-===================================================================
---- django/bin/compile-messages.py (revision 3590)
-+++ django/bin/compile-messages.py (revision 3592)
-@@ -20,5 +20,12 @@
- sys.stderr.write('processing file %s in %s\n' % (f, dirpath))
- pf = os.path.splitext(os.path.join(dirpath, f))[0]
-- cmd = 'msgfmt -o "%s.mo" "%s.po"' % (pf, pf)
-+ # Store the names of the .mo and .po files in an environment
-+ # variable, rather than doing a string replacement into the
-+ # command, so that we can take advantage of shell quoting, to
-+ # quote any malicious characters/escaping.
-+ # See http://cyberelk.net/tim/articles/cmdline/ar01s02.html
-+ os.environ['djangocompilemo'] = pf + '.mo'
-+ os.environ['djangocompilepo'] = pf + '.po'
-+ cmd = 'msgfmt -o "$djangocompilemo" "$djangocompilepo"'
- os.system(cmd)
-