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

Bug 525792

Summary: dev-python/pycurl-7.19.3.1-r1 installs documentation outside /usr/share/doc/${PF}
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild patch fix for data_files

Description Chris Mayo 2014-10-18 16:42:52 UTC
Created attachment 386898 [details, diff]
ebuild patch fix for data_files

setup.py handling of data_files has changed so sed in python_prepare_all no longer has any effect.

Patch to ebuild attached to fix this.
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2014-10-23 16:03:18 UTC
Thx for picking this up

*pycurl-7.19.3.1-r2 (23 Oct 2014)

  23 Oct 2014; Ian Delaney <idella4@gentoo.org> +pycurl-7.19.3.1-r2.ebuild,
  -pycurl-7.19.0-r1.ebuild, -pycurl-7.19.0-r2.ebuild,
  -pycurl-7.19.3.1-r1.ebuild, pycurl-7.19.0.ebuild:
  revbump; correction to sed statement to prevent double installation of doc
  data_files, fixes Bug #525792, rm 7.19.3.1-r1 and old
Comment 2 Chris Mayo 2014-10-26 19:42:03 UTC
It's in the ebuild but commented out:

41 	#python_prepare_all() {
42 	# sed -e "/setup_args\['data_files'\] = /d" -i setup.py || die
43 	# distutils-r1_python_prepare_all
44 	#}
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2014-10-27 14:34:00 UTC
uncommented