Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150691 - dev-python/httplib2-0.2.0.ebuild (new package)
Summary: dev-python/httplib2-0.2.0.ebuild (new package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL: http://bitworking.org/projects/httplib2/
Whiteboard:
Keywords: EBUILD
: 150692 (view as bug list)
Depends on:
Blocks: 54161
  Show dependency tree
 
Reported: 2006-10-09 17:05 UTC by Tim Cera
Modified: 2006-10-24 01:35 UTC (History)
1 user (show)

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


Attachments
dev-python/httplib2-0.2.0.ebuild (httplib2-0.2.0.ebuild,417 bytes, text/plain)
2006-10-09 17:57 UTC, Tim Cera
Details
dev-python/httplib2-0.2.0.ebuild (httplib2-0.2.0.ebuild,444 bytes, text/plain)
2006-10-09 18:05 UTC, Tim Cera
Details
httplib2-0.2.0.ebuild (httplib2-0.2.0.ebuild,723 bytes, text/plain)
2006-10-21 06:44 UTC, Tim Cera
Details
dev-python/httplib2-0.2.0.ebuild (httplib2-0.2.0.ebuild,646 bytes, text/plain)
2006-10-21 11:49 UTC, Tim Cera
Details
files/ez_setup_patch.diff (ez_setup_patch.diff,5.63 KB, patch)
2006-10-21 11:50 UTC, Tim Cera
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Cera 2006-10-09 17:05:58 UTC
A comprehensive HTTP client library.
Comment 1 Tim Cera 2006-10-09 17:57:27 UTC
Created attachment 99245 [details]
dev-python/httplib2-0.2.0.ebuild
Comment 2 Tim Cera 2006-10-09 18:05:26 UTC
Created attachment 99246 [details]
dev-python/httplib2-0.2.0.ebuild
Comment 3 Tim Cera 2006-10-09 18:09:04 UTC
*** Bug 150692 has been marked as a duplicate of this bug. ***
Comment 4 Tim Cera 2006-10-21 06:44:22 UTC
Created attachment 100138 [details]
httplib2-0.2.0.ebuild
Comment 5 Tim Cera 2006-10-21 11:49:45 UTC
Created attachment 100152 [details]
dev-python/httplib2-0.2.0.ebuild
Comment 6 Tim Cera 2006-10-21 11:50:14 UTC
Created attachment 100153 [details, diff]
files/ez_setup_patch.diff
Comment 7 Tim Cera 2006-10-21 12:06:31 UTC
The 2006-10-21 versions allow httplib2 to lay a .egg so that httplib2 can be detected by other ez_setup packages.
Comment 8 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-10-23 13:16:13 UTC
I have added httplib2 to the tree, but w/o that ez patch for now. The patch has a lot of new lines(why?), seems to be in windows file format and compilation fails with it. Can you comment on that plz?
Comment 9 Tim Cera 2006-10-23 15:36:56 UTC
I submitted this not because of a personal interest, but because it is a new dependency of dap (http://bugs.gentoo.org/show_bug.cgi?id=54161) which also needs paste (http://bugs.gentoo.org/show_bug.cgi?id=130866).  

For some reason that I cannot fathom, either dap or paste (I can't remember which) looks for an httplib2 .egg file.  They don't test to see whether httplib2 is installed by using 'import', but they use setuptools to look for an .egg file.  Now, httplib2 doesn't install with ez_setup/setuptools and so no .egg file.  How dap or paste work on the developers machines when httplib2 doesn't install a .egg file anyway is a mystery.

Back to my saga, what you see is an attempt to fold in 'ez_setup.py' and the few changes to 'setup.py' into a single patch to make httplib2 install in the ez_setup/setuptools way and install a .egg.  Could probably make it alot easier by copying 'ez_setup.py' from /files and then patching in the few lines for 'setup.py'.

Even though my single patch thing was clumsy, I am surprised that it didn't work.

I will work out a different way to do it, or pressure/wait for httplib2 to come with ez_setup.py on it's own.

thanks!
Comment 10 Marien Zwart (RETIRED) gentoo-dev 2006-10-23 17:11:38 UTC
I recommend you patch the egg requirement out of dap/paste (just make them import httplib2 "normally", don't completely de-setuptools them) instead of forcing httplib2 to use setuptools.
Comment 11 Tim Cera 2006-10-23 17:44:17 UTC
(In reply to comment #10)
> I recommend you patch the egg requirement out of dap/paste (just make them
> import httplib2 "normally", don't completely de-setuptools them) instead of
> forcing httplib2 to use setuptools.
> 

That is a good idea.  In fact, it _might_ be easy.
Comment 12 Piotr Jaroszyński (RETIRED) gentoo-dev 2006-10-24 01:35:49 UTC
As we are not going to add ez_setup to httplib2 I am closing that. Any way many thanks for the ebuild Tim and gl with dap/paste - I will have a look at them later today also.