Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525792 - dev-python/pycurl-7.19.3.1-r1 installs documentation outside /usr/share/doc/${PF}
Summary: dev-python/pycurl-7.19.3.1-r1 installs documentation outside /usr/share/doc/$...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-10-18 16:42 UTC by Chris Mayo
Modified: 2014-10-27 14:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild patch fix for data_files (pycurl-7.19.3.1-r1-data_files.patch,298 bytes, patch)
2014-10-18 16:42 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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