public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-python/django: ChangeLog django-9999.ebuild
@ 2008-06-07 12:51 Tiziano Mueller (dev-zero)
  0 siblings, 0 replies; only message in thread
From: Tiziano Mueller (dev-zero) @ 2008-06-07 12:51 UTC (permalink / raw
  To: gentoo-commits

dev-zero    08/06/07 12:51:17

  Modified:             ChangeLog
  Added:                django-9999.ebuild
  Log:
  Added p.masked Live SVN ebuild
  (Portage version: 2.1.5.4)

Revision  Changes    Path
1.23                 dev-python/django/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?rev=1.23&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?rev=1.23&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/ChangeLog?r1=1.22&r2=1.23

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- ChangeLog	26 May 2008 18:15:28 -0000	1.22
+++ ChangeLog	7 Jun 2008 12:51:16 -0000	1.23
@@ -1,6 +1,11 @@
 # 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.22 2008/05/26 18:15:28 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.23 2008/06/07 12:51:16 dev-zero Exp $
+
+*django-9999 (07 Jun 2008)
+
+  07 Jun 2008; Tiziano Müller <dev-zero@gentoo.org> +django-9999.ebuild:
+  Added p.masked Live SVN ebuild
 
 *django-0.96.2 (26 May 2008)
 



1.1                  dev-python/django/django-9999.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/django-9999.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/django/django-9999.ebuild?rev=1.1&content-type=text/plain

Index: 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.1 2008/06/07 12:51:16 dev-zero 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 ~ppc64 ~x86"
IUSE="doc 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-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
}



-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-06-07 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-07 12:51 [gentoo-commits] gentoo-x86 commit in dev-python/django: ChangeLog django-9999.ebuild Tiziano Mueller (dev-zero)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox