ChangeLog

# ChangeLog for dev-python/django
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.28 2008/11/05 01:17:05 fmccor Exp $

05 Nov 2008; Ferris McCormick django-1.0.ebuild:
Add ~sparc for testing and support of some Foundation work.

07 Oct 2008; Rob Cakebread
+files/django-1.0-fields.py.patch:
Added patch file

06 Oct 2008; Rob Cakebread django-1.0.ebuild,
django-9999.ebuild:
Fixed tests, added sphinx doc generation, dropped ppc64 until sphinx is
keyworded, use EAPI1 for slots

*django-1.0 (04 Sep 2008)

04 Sep 2008; Rob Cakebread +django-1.0.ebuild:
Version bump. Thanks Michael A. Smith for the
patch. Bug #236638

19 Aug 2008; Ali Polatel django-0.96.2.ebuild:
Use cp -pPR instead of cp -a, #235057, thanks to Michael A. Smith.

*django-9999 (07 Jun 2008)

07 Jun 2008; Tiziano Müller +django-9999.ebuild:
Added p.masked Live SVN ebuild

*django-0.96.2 (26 May 2008)

26 May 2008; Krzysiek Pawlik -django-0.96.1.ebuild,
+django-0.96.2.ebuild:
Version bump to fix security bug, see bug #222029.

25 Dec 2007; Christian Heim metadata.xml:
Removing seemant from metadata.xml as per #202469.

*django-0.96.1 (27 Oct 2007)

27 Oct 2007; Seemant Kulleen -django-0.96.ebuild,
+django-0.96.1.ebuild:
version bump for security fix, as mentioned in bug #197188 by Jan Meier

27 Sep 2007; Brent Baude django-0.96.ebuild:
marking django-0.96 ~ppc64 for bug 193965

05 Jul 2007; Lukasz Strzygowski -django-0.95.1.ebuild:
Dropped old version.

04 Jul 2007; Lukasz Strzygowski django-0.95.1.ebuild,
django-0.96.ebuild:
Removed use_setuptools sed. Removed setuptools dependency in 0.96.

24 Apr 2007; Seemant Kulleen django-0.96.ebuild:
adjust the mysql-python dependency, as 1.2.1_p2 is the minimum allowed
version. Closes bug #175821 by Jean-Claude Repetto

25 Mar 2007; Seemant Kulleen django-0.96.ebuild:
fix the src_test -- thanks to mabi for catching the b0rkedness

*django-0.96 (24 Mar 2007)

24 Mar 2007; Seemant Kulleen +django-0.96.ebuild:
version bump to newest release -- how about a zero-day this time

01 Feb 2007; Seemant Kulleen
-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 django-0.95.1.ebuild:
add back the bash completion, docs install fix and stc_test that Tiziano
added into -r1

*django-0.95.1 (22 Jan 2007)

22 Jan 2007; Seemant Kulleen -django-0.95.ebuild,
+django-0.95.1.ebuild:
version bump to the official security bump release. will remove 0.95-r1 in a
couple of days if there are no bug reports

*django-0.95-r1 (21 Jan 2007)

21 Jan 2007; Tiziano Müller
+files/django-0.95-auth_fix.patch,
+files/django-0.95-compile_messages_fix.patch, +django-0.95-r1.ebuild:
Added security patches from Debian (bug #162818). Added bash-completion and
examples USE-flag. Corrected psycopg dependency. Added src_test with test
USE-flag. Some Cleanups.

30 Dec 2006; Tiziano Müller -django-0.91.ebuild,
django-0.95.ebuild:
Fixed deps for python-2.5 (thanks to Jokey). Fixed bug #148456 (by removing
ez_setup-import). Dropped old version.

13 Aug 2006; Lukasz Strzygowski django-0.95.ebuild:
Added dev-python/imaging rdep, bug #143788.

*django-0.95 (01 Aug 2006)

01 Aug 2006; Lukasz Strzygowski +django-0.95.ebuild:
Version bump, bug #142375.

28 Jul 2006; Alastair Tse django-0.91.ebuild:
Preparing psycopg deps for slotted psycopg-2.0.2 (#125719)

01 Apr 2006; django-0.91.ebuild:
Added ~ppc keyword. Bug #114821

01 Apr 2006; Aron Griffis django-0.91.ebuild:
Mark 0.91 ~ia64

30 Mar 2006; Lukasz Strzygowski django-0.91.ebuild:
Minor fixes, thanks to Halcy0n.

29 Mar 2006; Karol Wojtaszek django-0.91.ebuild:
~amd64 keyworded, bug #114821

*django-0.91 (28 Mar 2006)

28 Mar 2006; Lukasz Strzygowski +metadata.xml,
+django-0.91.ebuild:
Initial commit (bug #114821).

Manifest

AUX django-1.0-fields.py.patch 1281 RMD160 5660800f6487595aa6909f8dc6f28e0d7986ff86 SHA1 93a96a75f8f76dd9a51938460533e4c1823c7b60 SHA256 fe6788a219de6c04a901ee147a8e4f13901a23944c9245803ee8f9b3717cfc98
DIST Django-0.96.1.tar.gz 1746455 RMD160 1bd8fcceab101f80560bb4aa8a4851c204f3918b SHA1 85270f857ff405983cae9a1ef76dfb3303ca6eec SHA256 4874134e9fc6bd08eb7e451e42038394668895c26b7cc867d4c3fdaf9d711085
DIST Django-0.96.2.tar.gz 1637044 RMD160 29488b09cc6d8013716c8a7d190fe6bc9625e568 SHA1 2766d858b15d5d76da61e096fa6ffeb55b0469fb SHA256 8964023587331412aed118549c83cf0dcc106850833cc75573e8671b68ecf29c
DIST Django-1.0.tar.gz 4789634 RMD160 ace144c8d33fda35e29b6a07cd5645d2666c98d9 SHA1 e3875f5ebf6f956d93f8b9bac47e23c48631b798 SHA256 4c780b9e2906944ce02a9325b15f480d2bd4c0b12137f752aa4800c0f8563acf
EBUILD django-0.96.2.ebuild 2248 RMD160 501513a32dc199187fe4462209612bb9a24782e4 SHA1 5e147c96e1a5f9c5edc5106fd4c8512b87481fb2 SHA256 38f1f1bd6335e8b47951383e000592ada427fc07ef5409e27a5c501462bf2516
EBUILD django-1.0.ebuild 1856 RMD160 510909b478cba449d32a772d41c194c74f6674bb SHA1 2ec91ab1a839683e3af1121cca609376d73b8470 SHA256 aff2ba752f57f78694cd94734e5557fa93c226df3c9430c018f7efb3a3b657e6
EBUILD django-9999.ebuild 2058 RMD160 8d165e5a603c0f60cdce2f4a0e58673b9bd93403 SHA1 0e95cd5eda84aa7a72b8d5d6d6dbdca6b52680cb SHA256 629bc65a363bd4522b6c1675dddafb4dd833186a5f78efdcd9ab3ea4e4fb296e
MISC ChangeLog 4644 RMD160 a743013dcf63ff8ce0b3182abc64e189f7223c0d SHA1 f41e0669a7cfcd422146cd85dfe89b7c144c4627 SHA256 3ce2950181bccca890739c4aa5a0d75c917593b52a2633cf5e13660a752219d3
MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a

django-0.96.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-0.96.2.ebuild,v 1.2 2008/08/19 09:25:27 hawking Exp $

inherit bash-completion distutils eutils versionator

RPV=$(get_version_component_range 1-2)
EXTRAS_VERSION="0.96.1"

MY_P="Django-${PV}"

DESCRIPTION="high-level python web framework"
HOMEPAGE="http://www.djangoproject.com/"
SRC_URI="http://media.djangoproject.com/releases/${RPV}/${MY_P}.tar.gz
http://media.djangoproject.com/releases/${RPV}/Django-${EXTRAS_VERSION}.tar.gz"
# We need ${EXTRAS_VERSION} in SRC_URI, because it's the last release that
# contains extras, tests and examples, see also src_unpack
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86"
IUSE="examples mysql postgres sqlite test"

RDEPEND="dev-python/imaging
sqlite? ( || (
( >=dev-python/pysqlite-2.0.3 >=dev-lang/python-2.5 ) )
test? ( || (
( >=dev-python/pysqlite-2.0.3 >=dev-lang/python-2.5 ) )
postgres? ( dev-python/psycopg )
mysql? ( >=dev-python/mysql-python-1.2.1_p2 )"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${MY_P}"

DOCS="docs/* AUTHORS"

src_unpack() {

distutils_src_unpack

# Those directories are missing from 0.96.2, so we copy them over from
# Django-${EXTRAS_VERSION}:
cp -pPR "${WORKDIR}/Django-${EXTRAS_VERSION}/examples" "${S}/" || die
cp -pPR "${WORKDIR}/Django-${EXTRAS_VERSION}/extras" "${S}/" || die
cp -pPR "${WORKDIR}/Django-${EXTRAS_VERSION}/tests" "${S}/" || die
cp -pPR "${WORKDIR}/Django-${EXTRAS_VERSION}/django/contrib/formtools/templates" \
"${S}/django/contrib/formtools/" || die

}

src_test() {
cat >> tests/settings.py << __EOF__
DATABASE_ENGINE='sqlite3'
ROOT_URLCONF='tests/urls.py'
SITE_ID=1
__EOF__
PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
}

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

dobashcompletion extras/django_bash_completion

if use examples ; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
}

django-1.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.0.ebuild,v 1.5 2008/11/05 01:17:05 fmccor Exp $

EAPI="1"
inherit bash-completion distutils versionator

DESCRIPTION="high-level python web framework"
HOMEPAGE="http://www.djangoproject.com/"
SRC_URI="http://media.djangoproject.com/releases/${PV}/Django-${PV}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86"
IUSE="doc examples mysql postgres sqlite3 test"

RDEPEND="dev-python/imaging
sqlite3? ( || (
( dev-python/pysqlite:2 >=dev-lang/python-2.5 ) )
test? ( || (
( dev-python/pysqlite:2 >=dev-lang/python-2.5 ) )
postgres? ( dev-python/psycopg )
mysql? ( >=dev-python/mysql-python-1.2.1_p2 )
doc? ( >=dev-python/sphinx-0.3 )"
DEPEND="${RDEPEND}"

S="${WORKDIR}/${P/#d/D}"

DOCS="docs/* AUTHORS"

src_unpack() {
unpack ${A}
cd "${S}"
#Submitted upstream http://code.djangoproject.com/ticket/8865
#by pythonhead, accepted in trunk
epatch "${FILESDIR}/${P}"-fields.py.patch
}

src_compile() {
distutils_src_compile
if use doc ; then
cd docs
emake html || die "docs failed"
fi
}

src_test() {
cat >> tests/settings.py << __EOF__
DATABASE_ENGINE='sqlite3'
ROOT_URLCONF='tests/urls.py'
SITE_ID=1
__EOF__
PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
}

src_install() {
distutils_python_version

site_pkgs="$(python_get_sitedir)"
export PYTHONPATH="${PYTHONPATH}:${D}/${site_pkgs}"
dodir ${site_pkgs}

distutils_src_install

dobashcompletion extras/django_bash_completion

if use examples ; then
insinto /usr/share/doc/${PF}
doins -r examples
fi
if use doc ; then
rm -Rf docs/_build/html/_sources
dohtml txt -r docs/_build/html/*
fi
}

django-9999.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-9999.ebuild,v 1.2 2008/10/06 18:42:46 pythonhead Exp $

ESVN_REPO_URI="http://code.djangoproject.com/svn/django/trunk/"

inherit bash-completion distutils eutils versionator subversion

DESCRIPTION="high-level python web framework"
HOMEPAGE="http://www.djangoproject.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
IUSE="doc examples mysql postgres sqlite test"

RDEPEND="dev-python/imaging
sqlite? ( || (
( >=dev-python/pysqlite-2.0.3 >=dev-lang/python-2.5 ) )
test? ( || (
( >=dev-python/pysqlite-2.0.3 >=dev-lang/python-2.5 ) )
postgres? ( dev-python/psycopg )
mysql? ( >=dev-python/mysql-python-1.2.1_p2 )"
DEPEND="${RDEPEND}
doc? ( dev-python/sphinx )"

S="${WORKDIR}"

src_test() {
cat >> tests/settings.py << __EOF__
DATABASE_ENGINE='sqlite3'
ROOT_URLCONF='tests/urls.py'
SITE_ID=1
__EOF__

elog "Please note: You're using a live SVN ebuild."
elog "We therefore won't fix any failures in the tests."
elog "If you think it's django's fault report it to upstream."
elog "Otherwise either disable the tests or use a stable version."
PYTHONPATH="." ${python} tests/runtests.py --settings=settings -v1 || die "tests failed"
}

src_compile() {
distutils_src_compile

if use doc ; then
cd docs
emake html || die "generating html docs failed"
fi
}

src_install() {
distutils_python_version

site_pkgs="/usr/$(get_libdir)/python${PYVER}/site-packages/"
export PYTHONPATH="${PYTHONPATH}:${D}/${site_pkgs}"
dodir ${site_pkgs}

DOCS="docs/*.txt AUTHORS"
distutils_src_install

dobin django/bin/{compile-messages,daily_cleanup,make-messages,unique-messages,profiling/gather_profile_stats}.py
doman docs/man/*

dobashcompletion extras/django_bash_completion

if use examples ; then
insinto /usr/share/doc/${PF}
doins -r examples
fi

if use doc ; then
dohtml -A txt -r docs/_build/html/*
fi
}

files

metadata.xml




python