diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-02 19:29:56 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-02 19:29:56 +0000 |
commit | 49dbc2ac4bb0ea735d29b347c261507180c9a752 (patch) | |
tree | 0b84a5d8b5d43545a20ed60ce952878ac9a8c699 /dev-python | |
parent | Update. (diff) | |
download | historical-49dbc2ac4bb0ea735d29b347c261507180c9a752.tar.gz historical-49dbc2ac4bb0ea735d29b347c261507180c9a752.tar.bz2 historical-49dbc2ac4bb0ea735d29b347c261507180c9a752.zip |
Version bump (bug #279720).
Package-Manager: portage-13876-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/django/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/django/Manifest | 16 | ||||
-rw-r--r-- | dev-python/django/django-1.0.3.ebuild | 108 |
3 files changed, 119 insertions, 13 deletions
diff --git a/dev-python/django/ChangeLog b/dev-python/django/ChangeLog index 05736f20ec98..e05303fc8a68 100644 --- a/dev-python/django/ChangeLog +++ b/dev-python/django/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/django # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.34 2009/07/05 20:48:42 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/ChangeLog,v 1.35 2009/08/02 19:29:56 arfrever Exp $ + +*django-1.0.3 (02 Aug 2009) + + 02 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +django-1.0.3.ebuild: + Version bump (bug #279720). 05 Jul 2009; Alexis Ballier <aballier@gentoo.org> django-1.0.2-r1.ebuild: keyword ~x86-fbsd, bug #235323 diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index ee2a591f9b85..f374c84180e3 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,16 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST Django-1.0.2-final.tar.gz 4649433 RMD160 0cfea620df0831310da4ef51ef6ee4ef1b65974e SHA1 f2d9088f17aff47ea17e5767740cab67b2a73b6b SHA256 50a5d228743a69a682899b20141194bf8fd3fd75eaf33ba5f2932f43ea93ea0d +DIST Django-1.0.3.tar.gz 5086964 RMD160 21983d9722f12299a08010507be96b8a9640a565 SHA1 d7efafe20de8cd97ee417f6538a7ff1e86bfcd4a SHA256 93efd71771c836c06218506c974ac60f8f640dcb3244bc9a0c5aeb65676a5935 DIST django-1.0.2-tests.tar.bz2 228757 RMD160 8d30a18aac7d8c7da2cc3b0a23fea2ff233a5661 SHA1 ca309850b35f81825b09994c95dd227c5e589e75 SHA256 dd4f6c551ac3398961609c43aa581741eb98b8cb59722c88ce776bb52a74ade0 EBUILD django-1.0.2-r1.ebuild 2778 RMD160 10fa8d5ef0525546a0d76e604f35fda5edc703d2 SHA1 01521b75b2e44b60f3ea226dd1288c526676055c SHA256 08a2b65e3e0503a3a8810705ecf9ac338c959f026c364312794036d8eb211f80 -EBUILD django-9999.ebuild 2096 RMD160 7be3ccc63309f858015d3438556c92d3ab33f106 SHA1 e7df7c6f2b0d0e4a1bc4f366df06e782671aa3c1 SHA256 8699f3052387c8877a5a83cfabe8929ef1a348eb04e24cfee15ca633748cdaa1 -MISC ChangeLog 5512 RMD160 1457fc7ef3a4df2b83e7d044482ec27a641b0e05 SHA1 d17c86ce0bae9fe3d5c19fefc95849481d849f0a SHA256 57b11c808913b55dfff16a3df2fc9f3097d6723684fa9dbcffdda6aceb4bce55 +EBUILD django-1.0.3.ebuild 2668 RMD160 b05343a59095c53b4db7279d51562cbd1e57b9c0 SHA1 a62abc1ec4793f7513be186abd43e64a977da72c SHA256 99ebe167897a4c864c9913ae908a91a4f3034178125edbbb6f009822d217d43f +EBUILD django-9999.ebuild 2147 RMD160 16c8eeaeb07983f3561fa136c0e69edd885af186 SHA1 c60195e295229f5210337e160fc0ee177b5c0883 SHA256 41edda14f823f6300f2d340d3ad7e52c3ca7866cbc80a374d0da4a5b1880f611 +MISC ChangeLog 5669 RMD160 e1a3c823d0955213e89ba7e80026dac7a9da81f2 SHA1 1b33c55a5d673fd262c682f320f1b43afd5315e4 SHA256 d75374172e857126a9aa84a2b4d5d49817c9fa9abdf4034c791cb88edc6e37eb MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.11 (GNU/Linux) - -iEYEARECAAYFAkpREbAACgkQvFcC4BYPU0oSCQCfXP9IhztJq0tJURNawzD0004e -p8wAmwbf1nUiH5CRd7x5p87lseB1UAHX -=KzXw ------END PGP SIGNATURE----- diff --git a/dev-python/django/django-1.0.3.ebuild b/dev-python/django/django-1.0.3.ebuild new file mode 100644 index 000000000000..eb8313bef1ba --- /dev/null +++ b/dev-python/django/django-1.0.3.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-1.0.3.ebuild,v 1.1 2009/08/02 19:29:56 arfrever Exp $ + +EAPI="2" + +inherit bash-completion distutils multilib versionator webapp + +MY_P="${P/#d/D}" +WEBAPP_MANUAL_SLOT="yes" + +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 ~ppc64 ~sparc ~x86 ~x86-fbsd" +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 ) + )" + +S="${WORKDIR}/${MY_P}" + +PYTHON_MODNAME="django" + +DOCS="docs/* AUTHORS" + +src_compile() { + distutils_src_compile + + if use doc ; then + pushd docs > /dev/null + emake html || die "Generation of HTML documentation failed" + popd > /dev/null + fi +} + +src_test() { + einfo "Running tests." + cat >> tests/settings.py << __EOF__ +DATABASE_ENGINE='sqlite3' +DATABASE_NAME='test.db' +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 + mv docs/_build/html/{_,.}sources + dohtml txt -r docs/_build/html/* + fi + + insinto "${MY_HTDOCSDIR}" + doins -r "${D}/${site_pkgs}"/django/contrib/admin/media/* + + #webapp_postinst_txt en "${WORKDIR}"/postinstall-en.txt + 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." +} |