diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2007-03-17 14:13:52 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2007-03-17 14:13:52 +0000 |
commit | 079d81ae7bc5db30867ceacd7f00e96eee915f99 (patch) | |
tree | efb0528066a7f62fe9d66479990d747d9cb993a8 | |
parent | tests pass, thanks to ferringb (diff) | |
download | seemant-079d81ae7bc5db30867ceacd7f00e96eee915f99.tar.gz seemant-079d81ae7bc5db30867ceacd7f00e96eee915f99.tar.bz2 seemant-079d81ae7bc5db30867ceacd7f00e96eee915f99.zip |
svn path=/; revision=11
-rw-r--r-- | dev-python/django/Manifest | 8 | ||||
-rw-r--r-- | dev-python/django/django-0.96_pre4750.ebuild | 62 | ||||
-rw-r--r-- | dev-python/django/files/digest-django-0.96_pre4750 | 3 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/django/Manifest b/dev-python/django/Manifest index 66b5e4a..0350351 100644 --- a/dev-python/django/Manifest +++ b/dev-python/django/Manifest @@ -1,5 +1,6 @@ DIST Django-0.96_pre4269.tar.bz2 1494530 RMD160 b764f81e35a63b3ad9a2155df8a3ceaa4adbe6f1 SHA1 eaf31fee0f56db58f21bb73024cd80583db86975 SHA256 9dc72a49b2b62bfc3f5fe38070a7f4c75b0691060c5c91b9f26671892f9acf20 DIST Django-0.96_pre4455.tar.bz2 1518857 RMD160 104a64035c4691e2d7fe9c7ac96c82e37323eac3 SHA1 8fefb19a8c351f895bc8a90e65d06cf311130175 SHA256 db5e31b3e4caf722809685577deaeb5454af593968b47318ade2dc87a91d18a5 +DIST Django-0.96_pre4750.tar.bz2 1782142 RMD160 148528a5899d49e20a8e951b867bfe245fad5c08 SHA1 1bdd2d3ca509b122c0bc7aa1713c4edcc22c9e74 SHA256 0880ea902bc30a07e4c46ad7acb747811e038200dc9edf841320ab2f4025abe0 EBUILD django-0.96_pre4269.ebuild 1091 RMD160 3887331ae2c5d53a3d90bea1c3c6443fc3f4e158 SHA1 36b261b9badf4359744ef829aff71d2e23aa193b SHA256 adfd1866589e7cbf11970dc85edf7031c256df9953ff1d58cf0e9886533da5dd MD5 a60cd01fc1547c2c597d32ec85a28271 django-0.96_pre4269.ebuild 1091 RMD160 3887331ae2c5d53a3d90bea1c3c6443fc3f4e158 django-0.96_pre4269.ebuild 1091 @@ -8,9 +9,16 @@ EBUILD django-0.96_pre4455.ebuild 1621 RMD160 0a1699e8dd9e051618add06ea7eee60553 MD5 4f396c0a772ef14e648de4d3fdb88743 django-0.96_pre4455.ebuild 1621 RMD160 0a1699e8dd9e051618add06ea7eee60553c78dd7 django-0.96_pre4455.ebuild 1621 SHA256 fa83db11f5aae25dd2482448e227e311dbc6d0163df66ad5886f41c20ad0049d django-0.96_pre4455.ebuild 1621 +EBUILD django-0.96_pre4750.ebuild 1621 RMD160 0a1699e8dd9e051618add06ea7eee60553c78dd7 SHA1 e6a6f69c9a93cecd42edad3bfdd9a84e091478af SHA256 fa83db11f5aae25dd2482448e227e311dbc6d0163df66ad5886f41c20ad0049d +MD5 4f396c0a772ef14e648de4d3fdb88743 django-0.96_pre4750.ebuild 1621 +RMD160 0a1699e8dd9e051618add06ea7eee60553c78dd7 django-0.96_pre4750.ebuild 1621 +SHA256 fa83db11f5aae25dd2482448e227e311dbc6d0163df66ad5886f41c20ad0049d django-0.96_pre4750.ebuild 1621 MD5 41f706f2dea80ba3090676a463653569 files/digest-django-0.96_pre4269 265 RMD160 f7fcce2f83c7f0196a75044ac73b956b961385ee files/digest-django-0.96_pre4269 265 SHA256 635e82b5a427cd760d80b8719ff8b3fd11934546dfb9a3b6bb379d1a7f947087 files/digest-django-0.96_pre4269 265 MD5 9920a6d7cf44225708dd2ddec3c06f87 files/digest-django-0.96_pre4455 265 RMD160 16e50b8ee4cfdb84f5966dc9a07e0b1c8ac395c7 files/digest-django-0.96_pre4455 265 SHA256 52e5bd6bb8dab31d729ae1a389425aee1d521ef9e2874c6abc9c183dbe30d839 files/digest-django-0.96_pre4455 265 +MD5 bfe4344a09a68569e471575df39e5c0a files/digest-django-0.96_pre4750 265 +RMD160 bde0ef8459c33b712f510727cb9e26a73e58ec70 files/digest-django-0.96_pre4750 265 +SHA256 7bccc5735c0145a32cd4ce3db3fef15b83de0312baf8f34290a495f713065b3a files/digest-django-0.96_pre4750 265 diff --git a/dev-python/django/django-0.96_pre4750.ebuild b/dev-python/django/django-0.96_pre4750.ebuild new file mode 100644 index 0000000..aeb1faf --- /dev/null +++ b/dev-python/django/django-0.96_pre4750.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/django/django-0.95.ebuild,v 1.2 2006/08/13 15:40:12 lucass Exp $ + +inherit distutils eutils versionator bash-completion + +MY_P="${PN/d/D}-${PV}" +DESCRIPTION="high-level python web framework" +HOMEPAGE="http://www.djangoproject.com/" +SRC_URI="http://dev.gentoo.org/~seemant/distfiles/${MY_P}.tar.bz2" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~x86" +IUSE="examples sqlite postgres mysql test" + +DEPEND=">=dev-python/setuptools-0.6_rc3 + test? ( || ( + ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 ) + >=dev-lang/python-2.5 ) )" + +RDEPEND="${DEPEND} + sqlite? ( || ( + ( >=dev-python/pysqlite-2.0.3 <dev-lang/python-2.5 ) + >=dev-lang/python-2.5 ) ) + postgres? ( <dev-python/psycopg-1.99 ) + mysql? ( dev-python/mysql-python ) + dev-python/imaging" + +S="${WORKDIR}/${MY_P}" +DOCS="docs/* AUTHORS INSTALL LICENSE" + +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} + + find ${S} -name '.svn' | xargs rm -r + + 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_pre4750 b/dev-python/django/files/digest-django-0.96_pre4750 new file mode 100644 index 0000000..27847dc --- /dev/null +++ b/dev-python/django/files/digest-django-0.96_pre4750 @@ -0,0 +1,3 @@ +MD5 f458efc5880f1812cd209f9aa468d1fa Django-0.96_pre4750.tar.bz2 1782142 +RMD160 148528a5899d49e20a8e951b867bfe245fad5c08 Django-0.96_pre4750.tar.bz2 1782142 +SHA256 0880ea902bc30a07e4c46ad7acb747811e038200dc9edf841320ab2f4025abe0 Django-0.96_pre4750.tar.bz2 1782142 |