summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2007-02-01 17:57:42 +0000
committerSeemant Kulleen <seemant@gentoo.org>2007-02-01 17:57:42 +0000
commit3ab70523e2fc9d65bbd56236000b1233bd5a80ae (patch)
tree16baeb3e1013a8856c95daddfd8eea0a59063f93 /dev-python/django
parentAdd signatures useflag (diff)
downloadgentoo-2-3ab70523e2fc9d65bbd56236000b1233bd5a80ae.tar.gz
gentoo-2-3ab70523e2fc9d65bbd56236000b1233bd5a80ae.tar.bz2
gentoo-2-3ab70523e2fc9d65bbd56236000b1233bd5a80ae.zip
remove old ebuild
(Portage version: 2.1.2-r5)
Diffstat (limited to 'dev-python/django')
-rw-r--r--dev-python/django/ChangeLog7
-rw-r--r--dev-python/django/django-0.95-r1.ebuild66
-rw-r--r--dev-python/django/files/digest-django-0.95-r13
-rw-r--r--dev-python/django/files/django-0.95-auth_fix.patch19
-rw-r--r--dev-python/django/files/django-0.95-compile_messages_fix.patch18
5 files changed, 6 insertions, 107 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog
index 88b11adcc5d7..54e11543d028 100644
--- a/dev-python/django/ChangeLog
+++ b/dev-python/django/ChangeLog
@@ -1,6 +1,11 @@
# 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
diff --git a/dev-python/django/django-0.95-r1.ebuild b/dev-python/django/django-0.95-r1.ebuild
deleted file mode 100644
index 37132f7851b9..000000000000
--- a/dev-python/django/django-0.95-r1.ebuild
+++ /dev/null
@@ -1,66 +0,0 @@
-# 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"
-}
diff --git a/dev-python/django/files/digest-django-0.95-r1 b/dev-python/django/files/digest-django-0.95-r1
deleted file mode 100644
index 8d758bb9b360..000000000000
--- a/dev-python/django/files/digest-django-0.95-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 9ed7d6a0daa147c012e31d0894802951 Django-0.95.tar.gz 1287781
-RMD160 95c405fff77e4a0cf51654e9d089a47b629dd875 Django-0.95.tar.gz 1287781
-SHA256 2185514d642f35d61d7c5c0a59545f2e18e41ee5abdb2912eafd64c1fa07c388 Django-0.95.tar.gz 1287781
diff --git a/dev-python/django/files/django-0.95-auth_fix.patch b/dev-python/django/files/django-0.95-auth_fix.patch
deleted file mode 100644
index 5e2672e036f2..000000000000
--- a/dev-python/django/files/django-0.95-auth_fix.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-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):
diff --git a/dev-python/django/files/django-0.95-compile_messages_fix.patch b/dev-python/django/files/django-0.95-compile_messages_fix.patch
deleted file mode 100644
index 8e7de6a09190..000000000000
--- a/dev-python/django/files/django-0.95-compile_messages_fix.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-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)
-