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

Bug 381939

Summary: Ebuild for g-pypi
Product: Portage Development Reporter: Øystein Senneset Haaland <oystein.s.haaland>
Component: Third-Party ToolsAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: domen, tools-portage
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: g-pypi-9999 ebuild
Ebuild for gpypi-9999 for most up-to-date repos
g-pypi2-0.1.ebuild

Description Øystein Senneset Haaland 2011-09-05 13:08:59 UTC
Created attachment 285629 [details]
g-pypi-9999 ebuild

Hi,

This is an ebuild for g-pypi from head of this repos:

http://www.physics.drexel.edu/~wking/code/git/gitweb.cgi?p=g-pypi.git;a=summary

It would be nice to have this available in portage. Especially since the version mentioned here:

http://code.google.com/p/g-pypi/

has a bug that makes it fail for me:

http://code.google.com/p/g-pypi/issues/detail?id=4

---

Øystein
Comment 1 Domen Kožar 2011-09-05 16:46:50 UTC
I will contact him ASAP since he is working on old code, before my GSOC2010 work.

https://github.com/iElectric/g-pypi
Comment 2 Øystein Senneset Haaland 2011-09-05 20:26:39 UTC
Thanks for the heads up.

I changed the ebuild to fetch the sources from your repository. It now builds also with python 3, but i get an error when i try to actually fetch an prepare a package:

# gpypi xdot
Traceback (most recent call last):
  File "/usr/bin/gpypi-2.7", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2710, in <module>
    working_set.require(__requires__)
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 687, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 585, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: sphinxcontrib-googleanalytics

---

Øystein
Comment 3 Øystein Senneset Haaland 2011-09-05 20:30:49 UTC
Created attachment 285667 [details]
Ebuild for gpypi-9999 for most up-to-date repos

Changed ebuild to use this repos:

https://github.com/iElectric/g-pypi

instead of:

http://www.physics.drexel.edu/~wking/code/git//g-pypi.git

Keeping old ebuild for now as the new one seems to fail.
Comment 4 Domen Kožar 2011-09-07 16:19:33 UTC
I have ebuilds almost ready here: http://ie.ietherpad.com/66

Still waiting to get my access back to overlays. Thanks!
Comment 5 Øystein Senneset Haaland 2011-09-07 21:43:53 UTC
(In reply to comment #4)
> I have ebuilds almost ready here: http://ie.ietherpad.com/66
> 
> Still waiting to get my access back to overlays. Thanks!

What about uploading it here for now ;-)

It seems to work now, but i think there is a missing dependency on app-portage/gentoolkit-dev.

---

Øystein
Comment 6 Øystein Senneset Haaland 2011-09-07 21:47:10 UTC
Created attachment 285819 [details]
g-pypi2-0.1.ebuild

Updated to latest release from cuurent repository.
Comment 7 Øystein Senneset Haaland 2011-11-16 09:05:36 UTC
Domen,

Would you consider cleaning up this ebuild and get it into portage?

---

Øystein
Comment 8 Domen Kožar 2011-12-04 16:19:52 UTC
I'm really out of time at the moment, I can do it in January if someone doesn't do  it sooner :(
Comment 9 Aaron DeVore 2012-02-17 08:44:39 UTC
What's the status here?
Comment 10 Øystein Senneset Haaland 2012-02-17 11:34:38 UTC
(In reply to comment #9)
> What's the status here?

I would still like to see this in portage, although it could use a bit of polish.

It is a very useful tool for adding python packages that are not yet in portage to ones own overlay.

I currently host it in my own overlay if you are interested: http://git.flekke.org/?p=ebuild_overlay.git;a=summary

Instructions:
http://www.flekke.org/gentoo/index.xml?page=flekke-overlay

---

Øystein
Comment 11 Mike Gilbert gentoo-dev 2012-06-28 19:52:02 UTC
I added dev-python/g-pypi-0.3 with python herd as maintainers.

If anyone really wants a live ebuild, just speak up.