Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 150691
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Piotr Jaroszyński <peper@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tim Cera <timcera@earthlink.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
httplib2-0.2.0.ebuild dev-python/httplib2-0.2.0.ebuild text/plain Tim Cera 2006-10-09 17:57 0000 417 bytes Details
httplib2-0.2.0.ebuild dev-python/httplib2-0.2.0.ebuild text/plain Tim Cera 2006-10-09 18:05 0000 444 bytes Details
httplib2-0.2.0.ebuild httplib2-0.2.0.ebuild text/plain Tim Cera 2006-10-21 06:44 0000 723 bytes Details
httplib2-0.2.0.ebuild dev-python/httplib2-0.2.0.ebuild text/plain Tim Cera 2006-10-21 11:49 0000 646 bytes Details
ez_setup_patch.diff files/ez_setup_patch.diff patch Tim Cera 2006-10-21 11:50 0000 5.63 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 150691 depends on: Show dependency tree
Bug 150691 blocks: 54161
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-10-09 17:05 0000
A comprehensive HTTP client library.

------- Comment #1 From Tim Cera 2006-10-09 17:57:27 0000 -------
Created an attachment (id=99245) [details]
dev-python/httplib2-0.2.0.ebuild

------- Comment #2 From Tim Cera 2006-10-09 18:05:26 0000 -------
Created an attachment (id=99246) [details]
dev-python/httplib2-0.2.0.ebuild

------- Comment #3 From Tim Cera 2006-10-09 18:09:04 0000 -------
*** Bug 150692 has been marked as a duplicate of this bug. ***

------- Comment #4 From Tim Cera 2006-10-21 06:44:22 0000 -------
Created an attachment (id=100138) [details]
httplib2-0.2.0.ebuild

------- Comment #5 From Tim Cera 2006-10-21 11:49:45 0000 -------
Created an attachment (id=100152) [details]
dev-python/httplib2-0.2.0.ebuild

------- Comment #6 From Tim Cera 2006-10-21 11:50:14 0000 -------
Created an attachment (id=100153) [details]
files/ez_setup_patch.diff

------- Comment #7 From Tim Cera 2006-10-21 12:06:31 0000 -------
The 2006-10-21 versions allow httplib2 to lay a .egg so that httplib2 can be
detected by other ez_setup packages.

------- Comment #8 From Piotr Jaroszyński 2006-10-23 13:16:13 0000 -------
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 From Tim Cera 2006-10-23 15:36:56 0000 -------
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 From Marien Zwart (RETIRED) 2006-10-23 17:11:38 0000 -------
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 From Tim Cera 2006-10-23 17:44:17 0000 -------
(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 From Piotr Jaroszyński 2006-10-24 01:35:49 0000 -------
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.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug