| Summary: | dev-python/django-9999 - `doins -r django/contrib/admin/media/*' fails | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Robert T Childers <robert.t.childers> |
| Component: | Current packages | Assignee: | Python Gentoo Team <python> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | Keywords: | EBUILD, PATCH |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Ebuild - Django - fixed directory to allow install. | ||
Comment on attachment 327098 [details]
Ebuild - Django - fixed directory to allow install.
--- django-9999.ebuild 2012-05-29 02:37:47.000000000 +0200
+++ - 2012-10-22 06:47:12.644594288 +0200
@@ -83,7 +83,7 @@
fi
insinto "${MY_HTDOCSDIR#${EPREFIX}}"
- doins -r django/contrib/admin/media/* || die "doins failed"
+ doins -r django/contrib/admin/static/admin/* || die "doins failed"
webapp_src_install
}
the install failure is fixed, can you clarify on the bug in 1.4.1 ? Has been fixed some time ago. |
Created attachment 327098 [details] Ebuild - Django - fixed directory to allow install. django-9999 fails to install due to an error in the specified directory in the ebuild. In src_install(), you have doins -r django/contrib/admin/media/* || die "doins failed". This is the directory used by django-1.3.2, but in the 1.4 series of django they changed the directory structure. In src_install() of django 1.4.1 you find the following. doins -r django/contrib/admin/static/admin/* || die "doins failed" I modified your django-9999 ebuild to use django/contrib/admin/static/admin/* instead of django/contrib/admin/media/* This corrects the error and allows the svn/trunk version of django to be installed. As a side note there is an upstream error in your 1.4.1 version that has been corrected in the trunk version. when you try to create the superuser account for contrib-auth, in your django project the LOCALE isn't handled properly. This is what prompted me to install the svn/trunk version in the first place. Adding as an attachment is my modified django ebuild.