diff options
author | 2010-05-14 19:29:43 +0000 | |
---|---|---|
committer | 2010-05-14 19:29:43 +0000 | |
commit | f061ca49184ba3db6a44ae95799d9040c3bd3152 (patch) | |
tree | 04a06f4b4dc11ce98ad4e3db626471d6c1124ddd /dev-python/django | |
parent | Disable versioning of Python scripts (bug #315193). (diff) | |
download | historical-f061ca49184ba3db6a44ae95799d9040c3bd3152.tar.gz historical-f061ca49184ba3db6a44ae95799d9040c3bd3152.tar.bz2 historical-f061ca49184ba3db6a44ae95799d9040c3bd3152.zip |
Version bump.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/django')
-rw-r--r-- | dev-python/django/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/django/Manifest | 4 | ||||
-rw-r--r-- | dev-python/django/django-1.1.2.ebuild | 113 |
3 files changed, 123 insertions, 2 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index dacf6957c04a..0a49dac4c8d1 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/django # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.44 2010/02/14 17:37:11 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.45 2010/05/14 19:29:43 arfrever Exp $ + +*django-1.1.2 (14 May 2010) + + 14 May 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +django-1.1.2.ebuild: + Version bump. 14 Feb 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> django-1.1.1.ebuild: diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 6e722e48f94f..75024b76189c 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,8 +1,10 @@ AUX django-1.1.1-fix_tests.patch 840 RMD160 4a5a121c37fe883209505312be39dc2a9143413e SHA1 ecb48a057b5c037ecff653ff11bf7c9cd0fb1ef6 SHA256 88f7d237b7e8ee14ea44704e4b51cd12e2a1b8355e1569a59065659093665cf6 DIST Django-1.0.4.tar.gz 5088869 RMD160 9f61455bc4cc0277ddfe4a957863d5995f8c23f3 SHA1 a8b9f33adb007146b8b57f22f0f38467f0d2693a SHA256 a9388a047814bbe356c43d3d2e3afff42b1f93190c86aa4ac72f828a5ef107eb DIST Django-1.1.1.tar.gz 5614106 RMD160 bf42e548ff86fc587086eaffc53d9397e2a8c871 SHA1 441c54f0e90730bf4a55432b64519169b1e6ef20 SHA256 d65b18319496fc4923b37fdb736e5ba1a90a3a18e2d7eaac7f3ad30738d1f6e4 +DIST Django-1.1.2.tar.gz 5748420 RMD160 234ed051b4b0424f8bbd06b7021aaf94c4d185ff SHA1 1d3df9f1f7bbd5ba6334cb3503791a2b290af96e SHA256 5ccea372454536148e603b1a7c010711c25a991ffaf3b2d6ab2034ad05e1ec25 EBUILD django-1.0.4.ebuild 2667 RMD160 b48eb97109356a87e2a2b534edcdad7019966f3c SHA1 78bed277b708aa3e87e4073dfeb91ba930e3ee28 SHA256 f6b9c557713a803835114950f9bad9acf3a9d69c003fc8351b46d2fd2c8e7a5a EBUILD django-1.1.1.ebuild 2905 RMD160 54bb51c2b1f3ae15df025fae35bc40949277efc1 SHA1 72e55bd601bde3854b85b200a528253fedd19d67 SHA256 367ad96a992390dd0e5f2a41bf03e232273d2dab7b4881b30068c8fc753f121e +EBUILD django-1.1.2.ebuild 2814 RMD160 a27abef014d337539f708bda4c28654e09844eb1 SHA1 32f20d734dfacb028464a1cebc88d935f50d539b SHA256 9e5678d2c1aa0ac57c0f1884c5522fdf2848e98e2e72238e4cbe2df5e0bfe68c EBUILD django-9999.ebuild 2147 RMD160 3358d2759e7ebcdbe1c101577b744adbb2a954d6 SHA1 a2184989e17d608c2568b709d1007997280a737b SHA256 b5983acebeab1c000cd662d05650330ba60d56805971ea9a0e592ad3fd45ac59 -MISC ChangeLog 6864 RMD160 167370ebabda675c3df9a41eefbb1748bd14e07b SHA1 676cbf6ca352f13c6526c2a048454073e1e9ba57 SHA256 616ad3ee976f9c5b1ec50cf56a01bbef7c9b260034f4c2dd573ab5b81664e389 +MISC ChangeLog 7007 RMD160 09bf12c9ad7522455c755b045bc2a0365d29f605 SHA1 cd84295b6a0caa5d262ff449781750db11ff8162 SHA256 a43e52db60557eff1126eceb0e37714c818cd22deb81d4c84d868ea757ee9998 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/django/django-1.1.2.ebuild b/dev-python/django/django-1.1.2.ebuild new file mode 100644 index 000000000000..273eeb00a145 --- /dev/null +++ b/dev-python/django/django-1.1.2.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.1.2.ebuild,v 1.1 2010/05/14 19:29:43 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" + +inherit bash-completion distutils webapp + +MY_PN="Django" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="High-level python web framework" +HOMEPAGE="http://www.djangoproject.com/ http://pypi.python.org/pypi/Django" +SRC_URI="http://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +IUSE="doc examples mysql postgres sqlite test" + +RDEPEND="dev-python/imaging + sqlite? ( || ( + >=dev-lang/python-2.5[sqlite] + ( dev-python/pysqlite:2 <dev-lang/python-2.5 ) + ) ) + postgres? ( dev-python/psycopg ) + mysql? ( >=dev-python/mysql-python-1.2.1_p2 )" +DEPEND="${RDEPEND} + doc? ( >=dev-python/sphinx-0.3 ) + test? ( || ( + >=dev-lang/python-2.5[sqlite] + ( dev-python/pysqlite:2 <dev-lang/python-2.5 ) + ) )" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +DOCS="docs/* AUTHORS" +WEBAPP_MANUAL_SLOT="yes" + +pkg_setup() { + webapp_pkg_setup +} + +src_compile() { + distutils_src_compile + + if use doc; then + pushd docs > /dev/null + einfo "Generation of documentation" + emake html || die "Generation of documentation failed" + popd > /dev/null + fi +} + +src_test() { + testing() { + cat >> tests/settings.py << __EOF__ +DATABASE_ENGINE='sqlite3' +DATABASE_NAME='test.db' +ROOT_URLCONF='tests/urls.py' +SITE_ID=1 +__EOF__ + # Tests have non-standard assumptions about PYTHONPATH and + # don't work with usual "build-${PYTHON_ABI}/lib". + PYTHONPATH="." "$(PYTHON)" tests/runtests.py --settings=settings -v1 + } + python_execute_function testing +} + +src_install() { + 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 + mv docs/_build/html/{_,.}sources + dohtml txt -r docs/_build/html/* + fi + + insinto "${MY_HTDOCSDIR#${EPREFIX}}" + doins -r django/contrib/admin/media/* || die "doins failed" + + webapp_src_install +} + +pkg_preinst() { + : +} + +pkg_postinst() { + bash-completion_pkg_postinst + distutils_pkg_postinst + einfo "Now, Django has the best of both worlds with Gentoo," + einfo "ease of deployment for production and development." + echo + elog "A copy of the admin media is available to" + elog "webapp-config for installation in a webroot," + elog "as well as the traditional location in python's" + elog "site-packages dir for easy development" + echo + echo + ewarn "If you build Django ${PV} without USE=\"vhosts\"" + ewarn "webapp-config will automatically install the" + ewarn "admin media into the localhost webroot." +} |