diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2007-03-24 03:46:19 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2007-03-24 03:46:19 +0000 |
commit | e4feb0918008cc18943f29905beac10fa2014317 (patch) | |
tree | 8bdebce8cd23138cf4e8a43523c7b8e6d9c0c183 /dev-python | |
parent | add gnome 2.18.0 (diff) | |
download | gentoo-2-e4feb0918008cc18943f29905beac10fa2014317.tar.gz gentoo-2-e4feb0918008cc18943f29905beac10fa2014317.tar.bz2 gentoo-2-e4feb0918008cc18943f29905beac10fa2014317.zip |
version bump to newest release -- how about a zero-day this time
(Portage version: 2.1.2.2)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/django/ChangeLog | 5 | ||||
-rw-r--r-- | dev-python/django/django-0.96.ebuild | 65 | ||||
-rw-r--r-- | dev-python/django/files/digest-django-0.96 | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index 54e11543d028..7e84cb91a4c4 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,9 @@ # 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.13 2007/02/01 17:57:42 seemant Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.14 2007/03/24 03:46:19 seemant Exp $ + + 24 Mar 2007; Seemant Kulleen <seemant@gentoo.org> +django-0.96.ebuild: + version bump to newest release -- how about a zero-day this time 01 Feb 2007; Seemant Kulleen <seemant@gentoo.org> -files/django-0.95-auth_fix.patch, diff --git a/dev-python/django/django-0.96.ebuild b/dev-python/django/django-0.96.ebuild new file mode 100644 index 000000000000..5ba7068cb364 --- /dev/null +++ b/dev-python/django/django-0.96.ebuild @@ -0,0 +1,65 @@ +# 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.96.ebuild,v 1.1 2007/03/24 03:46:19 seemant Exp $ + +inherit bash-completion distutils eutils versionator + +RPV=$(get_version_component_range 1-2) + +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" +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" +} + +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 +} + +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.96 b/dev-python/django/files/digest-django-0.96 new file mode 100644 index 000000000000..f33de056eaf9 --- /dev/null +++ b/dev-python/django/files/digest-django-0.96 @@ -0,0 +1,3 @@ +MD5 b4aedad1e90dd38d58ff9fc756180c7d Django-0.96.tar.gz 1748745 +RMD160 2ca030a75c7b11fcc3507ad929d8a9884c0fad3e Django-0.96.tar.gz 1748745 +SHA256 d8e9cd5ad36901bc18cd13d939b0cffd23a028d0ae1a56e2ac753573ede10eba Django-0.96.tar.gz 1748745 |