Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 464270

Summary: dev-python/django-1.5 fails to install files
Product: Gentoo Linux Reporter: Tom Samstag <gentoo>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info output

Description Tom Samstag 2013-04-03 05:22:42 UTC
The ebuild for def-python/django-1.5 currently in portage emerges successfully but appears to only install a single file: /var/db/webapps/django/1.5/.keep_dev-python_django-0

The src_install function from earlier django ebuilds is missing from the 1.5 ebuild. The django-1.4.5 ebuild includes:
src_install() { 
    distutils-r1_src_install
    webapp_src_install
}
This function is missing from the django-1.5 ebuild. I don't know much about the webapp eclass, but adding this function to the django-1.5 ebuild appears to have corrected the problem for me.

Reproducible: Always

Steps to Reproduce:
1. emerge =dev-python/django-1.5
2. equery files django

Actual Results:  
equery lists the following contents of django-1.5:

 * Searching for django ...
 * Contents of dev-python/django-1.5:
/var
/var/db
/var/db/webapps
/var/db/webapps/django
/var/db/webapps/django/1.5
/var/db/webapps/django/1.5/.keep_dev-python_django-0

Expected Results:  
django files should have been installed
Comment 1 Tom Samstag 2013-04-03 05:23:34 UTC
Created attachment 344150 [details]
emerge --info output
Comment 2 Mike Gilbert gentoo-dev 2013-04-03 13:53:27 UTC
Sorry about that.

+*django-1.5-r1 (03 Apr 2013)
+
+  03 Apr 2013; Mike Gilbert <floppym@gentoo.org> +django-1.5-r1.ebuild,
+  -django-1.5.ebuild, django-9999.ebuild:
+  Fix src_install function, bug 464270 by Tom Samstag.
+